Your message dated Mon, 16 Nov 2026 09:36:20 +0000
with message-id <[email protected]>
and subject line Bug#1153934: fixed in python-json-pointer 2.4-5
has caused the Debian Bug report #1153934,
regarding python3-json-pointer: The jsonpointer binary does not have a manpage
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1153934: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153934
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-json-pointer
Version: 2.4-4
Severity: minor
Tags: patch

Dear Maintainer,

AI disclosure: I prepared this assisted by Claude Opus 5.5.

python3-json-pointer ships /usr/bin/jsonpointer without a
corresponding manpage, which violates Debian Policy 12.1.

I have attached jsonpointer.1 which fixes this, and the source
debdiff. I will follow up with an MR with these changes.

Note that the changelog says #TBD, as this bug was not filed
yet; the MR will use this bug's number.

Note that the manpage differs from the output of `--help` and
the upstream docs: the upstream docs are stale and describe
`jsonpointer` v1.x, while I found some discrepancies between
what `--help` describes and the tool's actual behavior, e.g.
`-f` actually requires a file, it is not optional.

Upstream version 3.x fixes a lot of these issues; the BUGS
section in the manpage describes the issues I found.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 7.2.15+deb14-arm64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages python3-json-pointer depends on:
ii  python3  3.14.7-3

python3-json-pointer recommends no packages.

python3-json-pointer suggests no packages.

-- no debconf information
.TH JSONPOINTER 1 2026-11-13
.SH NAME
jsonpointer \- resolve a JSON pointer on JSON files
.SH SYNOPSIS
.SY jsonpointer
.RB [ \-h ]
.RB [ "\-\-indent\~\fIINDENT\fP" ]
.RB [ \-v ]
(\fB\-f\fP\~\fIPOINTER_FILE\fP | \fIPOINTER\fP) \fIFILE\fP [\fIFILE\fP ...]
.YS
.SH DESCRIPTION
\fBjsonpointer\fR resolves a JSON \fIPOINTER\fR, passed as a positional 
argument or as a \fIPOINTER_FILE\fR, on JSON \fIFILE\fRs.
If \fB\-\fR is passed in for \fIFILE\fP,
it is interpreted as stdin.
For each input \fIFILE\fR, the referenced JSON value is printed.
Errors are printed on stderr.
For more on JSON pointers, see
.UR https://www.rfc-editor.org/rfc/rfc6901
RFC 6901
.UE .
.
.SH OPTIONS
.TP
\fB\-h\fR,\~\fB\-\-help\fR
Show usage information.
.TP
\fB\-f\fR,\~\fB\-\-pointer\-file\fR \fIPOINTER_FILE\fR
File containing a JSON pointer expression.
Use \fB\-\fR to read the expression from stdin.
.TP
\fB\-\-indent\fR\~\fIINDENT\fR
If not set, the output is printed compactly on one line.
If set, each nested object or array element is printed on a new line,
indented \fIINDENT\fR spaces more per level.
.TP
\fB\-v\fR,\~\fB\-\-version\fR
Show program's version number.
.
.SH "EXIT STATUS"
.TP
.B 0
No error reported.
See BUGS below for errors that go unreported.
.TP
.B 1
Execution was interrupted, or an error occurred.
.TP
.B 2
Usage error, such as:
.RS
.IP \(bu 2
an unknown option
.IP \(bu 2
a missing \fIFILE\fR
.IP \(bu 2
an unreadable \fIFILE\fR
.IP \(bu 2
\fB\-f\fR combined with two or more \fIFILE\fRs
.RE
.
.SH BUGS
.TP
A pointer does not resolve
This prints "Could not resolve pointer: ..."
but exits with status 0.
.TP
Using \fB\-f\fR with two or more \fIFILE\fRs
This throws an
"argument POINTER: not allowed with argument \-f/\-\-pointer\-file" error,
as the second \fIFILE\fR is taken as the \fIPOINTER\fR.
.IP
As a workaround, either pass the pointer as the \fIPOINTER\fR argument,
or run \fBjsonpointer\fR in a loop against one \fIFILE\fR at a time.
.TP
Pointer files containing trailing whitespace
If the pointer is read from a file, leading and trailing whitespace is stripped.
The pointer has to start with \fB/\fR so stripping leading whitespace
is fine, but stripping trailing whitespace from the last member name
could result in the wrong member being looked up.
.IP
As a workaround, pass such pointers using the \fIPOINTER\fR positional argument.
.
.SH EXAMPLES
Taking the document from stdin, and indexing into an array:
.P
.EX
$ echo \[aq]{"foo": ["a", "b", "c"]}\[aq] | jsonpointer /foo/1 \-
"b"
.EE
.P
Using the same pointer on multiple documents:
.P
.EX
# inspect JSON files
$ cat a.json
{ "a": [1, 2, 3] }
\&
$ cat b.json
{ "a": {"b": [1, 3, 4]}, "b": 1 }
\&
# resolve JSON pointer
$ jsonpointer /a a.json b.json
[1, 2, 3]
{"b": [1, 3, 4]}
\&
# now with indentation, and stdin for the pointer
# because of the bug we can only use one file
$ echo /a | jsonpointer \-\-indent 0 \-f \- a.json
[
1,
2,
3
]
$ jsonpointer \-\-indent 2 /a a.json
[
  1,
  2,
  3
]
.EE
.
.SH "SEE ALSO"
.BR jq (1)
diff -Nru python-json-pointer-2.4/debian/changelog 
python-json-pointer-2.4/debian/changelog
--- python-json-pointer-2.4/debian/changelog    2026-02-10 11:58:54.000000000 
+0000
+++ python-json-pointer-2.4/debian/changelog    2026-11-13 19:58:38.000000000 
+0000
@@ -1,3 +1,9 @@
+python-json-pointer (2.4-5) UNRELEASED; urgency=medium
+
+  * Add manpage for jsonpointer (Closes: #TBD)
+
+ -- Michel Lind <[email protected]>  Fri, 13 Nov 2026 19:58:38 +0000
+
 python-json-pointer (2.4-4) unstable; urgency=medium
 
   * Cleans better (Closes: #1046832).
diff -Nru python-json-pointer-2.4/debian/jsonpointer.1 
python-json-pointer-2.4/debian/jsonpointer.1
--- python-json-pointer-2.4/debian/jsonpointer.1        1970-01-01 
01:00:00.000000000 +0100
+++ python-json-pointer-2.4/debian/jsonpointer.1        2026-11-13 
19:54:19.000000000 +0000
@@ -0,0 +1,123 @@
+.TH JSONPOINTER 1 2026-11-13
+.SH NAME
+jsonpointer \- resolve a JSON pointer on JSON files
+.SH SYNOPSIS
+.SY jsonpointer
+.RB [ \-h ]
+.RB [ "\-\-indent\~\fIINDENT\fP" ]
+.RB [ \-v ]
+(\fB\-f\fP\~\fIPOINTER_FILE\fP | \fIPOINTER\fP) \fIFILE\fP [\fIFILE\fP ...]
+.YS
+.SH DESCRIPTION
+\fBjsonpointer\fR resolves a JSON \fIPOINTER\fR, passed as a positional 
argument or as a \fIPOINTER_FILE\fR, on JSON \fIFILE\fRs.
+If \fB\-\fR is passed in for \fIFILE\fP,
+it is interpreted as stdin.
+For each input \fIFILE\fR, the referenced JSON value is printed.
+Errors are printed on stderr.
+For more on JSON pointers, see
+.UR https://www.rfc-editor.org/rfc/rfc6901
+RFC 6901
+.UE .
+.
+.SH OPTIONS
+.TP
+\fB\-h\fR,\~\fB\-\-help\fR
+Show usage information.
+.TP
+\fB\-f\fR,\~\fB\-\-pointer\-file\fR \fIPOINTER_FILE\fR
+File containing a JSON pointer expression.
+Use \fB\-\fR to read the expression from stdin.
+.TP
+\fB\-\-indent\fR\~\fIINDENT\fR
+If not set, the output is printed compactly on one line.
+If set, each nested object or array element is printed on a new line,
+indented \fIINDENT\fR spaces more per level.
+.TP
+\fB\-v\fR,\~\fB\-\-version\fR
+Show program's version number.
+.
+.SH "EXIT STATUS"
+.TP
+.B 0
+No error reported.
+See BUGS below for errors that go unreported.
+.TP
+.B 1
+Execution was interrupted, or an error occurred.
+.TP
+.B 2
+Usage error, such as:
+.RS
+.IP \(bu 2
+an unknown option
+.IP \(bu 2
+a missing \fIFILE\fR
+.IP \(bu 2
+an unreadable \fIFILE\fR
+.IP \(bu 2
+\fB\-f\fR combined with two or more \fIFILE\fRs
+.RE
+.
+.SH BUGS
+.TP
+A pointer does not resolve
+This prints "Could not resolve pointer: ..."
+but exits with status 0.
+.TP
+Using \fB\-f\fR with two or more \fIFILE\fRs
+This throws an
+"argument POINTER: not allowed with argument \-f/\-\-pointer\-file" error,
+as the second \fIFILE\fR is taken as the \fIPOINTER\fR.
+.IP
+As a workaround, either pass the pointer as the \fIPOINTER\fR argument,
+or run \fBjsonpointer\fR in a loop against one \fIFILE\fR at a time.
+.TP
+Pointer files containing trailing whitespace
+If the pointer is read from a file, leading and trailing whitespace is 
stripped.
+The pointer has to start with \fB/\fR so stripping leading whitespace
+is fine, but stripping trailing whitespace from the last member name
+could result in the wrong member being looked up.
+.IP
+As a workaround, pass such pointers using the \fIPOINTER\fR positional 
argument.
+.
+.SH EXAMPLES
+Taking the document from stdin, and indexing into an array:
+.P
+.EX
+$ echo \[aq]{"foo": ["a", "b", "c"]}\[aq] | jsonpointer /foo/1 \-
+"b"
+.EE
+.P
+Using the same pointer on multiple documents:
+.P
+.EX
+# inspect JSON files
+$ cat a.json
+{ "a": [1, 2, 3] }
+\&
+$ cat b.json
+{ "a": {"b": [1, 3, 4]}, "b": 1 }
+\&
+# resolve JSON pointer
+$ jsonpointer /a a.json b.json
+[1, 2, 3]
+{"b": [1, 3, 4]}
+\&
+# now with indentation, and stdin for the pointer
+# because of the bug we can only use one file
+$ echo /a | jsonpointer \-\-indent 0 \-f \- a.json
+[
+1,
+2,
+3
+]
+$ jsonpointer \-\-indent 2 /a a.json
+[
+  1,
+  2,
+  3
+]
+.EE
+.
+.SH "SEE ALSO"
+.BR jq (1)
diff -Nru python-json-pointer-2.4/debian/python3-json-pointer.manpages 
python-json-pointer-2.4/debian/python3-json-pointer.manpages
--- python-json-pointer-2.4/debian/python3-json-pointer.manpages        
1970-01-01 01:00:00.000000000 +0100
+++ python-json-pointer-2.4/debian/python3-json-pointer.manpages        
2026-11-13 19:56:11.000000000 +0000
@@ -0,0 +1 @@
+debian/jsonpointer.1

--- End Message ---
--- Begin Message ---
Source: python-json-pointer
Source-Version: 2.4-5
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-json-pointer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-json-pointer 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 16 Nov 2026 10:12:11 +0100
Source: python-json-pointer
Architecture: source
Version: 2.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1153934
Changes:
 python-json-pointer (2.4-5) unstable; urgency=medium
 .
   [ Michel Lind ]
   * Add manpage for jsonpointer (Closes: #1153934).
 .
   [ Thomas Goirand ]
   * Update debian/salsa-ci.yml
   * Update debian/watch to version=4 mode=git
   * Remove the Priority: field from debian/control
   * Upgrade the package to debhelper-compat (= 13)
   * Update Standards-Version to 4.7.4
Checksums-Sha1:
 07539549568a6cb1f2ba063d3682175828eeb4d8 2270 python-json-pointer_2.4-5.dsc
 3c8a286acca7ab5813dead4f73d4575b21b2b7d6 10992 
python-json-pointer_2.4-5.debian.tar.xz
 e4d7488ccef0dd67c06ec180400eb8a693dff926 7794 
python-json-pointer_2.4-5_amd64.buildinfo
Checksums-Sha256:
 9c88c7fab9f60cb434ca639b125738d4f4ab4c3fbeaf9c8b177a7df8c1390ace 2270 
python-json-pointer_2.4-5.dsc
 5be2a640b768ac4148dc74f054479a487c9068a10c6ba9447ee0994adbd56af6 10992 
python-json-pointer_2.4-5.debian.tar.xz
 7aab00b5fb9d7d579d0d1e494e013f4b6b778491189c4f12d217509892a3824e 7794 
python-json-pointer_2.4-5_amd64.buildinfo
Files:
 fcfb3bc30c6a8b6fe8d7981194818d9c 2270 python optional 
python-json-pointer_2.4-5.dsc
 0f11db84426296771210636e16ede060 10992 python optional 
python-json-pointer_2.4-5.debian.tar.xz
 5cdb92762a739d735bbfa6e129eb43a0 7794 python optional 
python-json-pointer_2.4-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmr6yV0ACgkQ1BatFaxr
Q/7uyRAAnnOqVAbjjU+Xm4s8ATLILfNgNskeKMwxgcVd8wcPE+JJpqWK1vcL0j6T
yQNkXqUHNZDxZSt8JGwurq1jYQV9ZHrZVAbQHbrNx/0UAn0D63kkPRsDSWghIlvy
uqwngtxHY4wsPfmwgxsHPZxnUCZtU0qAp05UG06ve9Tn7ZimbB8Xy+xo6RxxDRBM
c9arvaExHPaLlnrfoxgHx3rJFBFLLaFGibmsnGfga9oEKPJauvrLJz0covfMfZJ5
Hkhj4NzJcQ1k49m1N9JohCDZE+//LCZ4b0sBeFw/srVLHfSr1SEQIQLkcDAIRSEp
LtgCRp/t5q/yx8vjwBP27qnuSLyb/3SrxwezTrY2TVhNYaMnVKeNoV+LNfH7XoaS
vWKZPDJBt9scua9YHkWnpNHkiS64Y+kyiIsb25itpJl2tYk3N1Ayk+Of/N2fsGT2
i7EOxw4S9Gbzh7Cz0CgyBVmzdEPdhdZahwYtNShwZcxMI5FDAJsDtYWny17UXAhw
j4PE2eA5O8qqMAp7oiRyHsFHgbj1DK3HOteEzzirMXEWMw2bJfJ48cGQf7324iL1
6PAJh5FoAT932/aKOEkAZgh92Q2vz2J8W8qwObqwjKBHq2TElL3luycwleUeUPLZ
TOf3nivIujvf/7DtiwdjanvFuLQtsxF3nGH07+ovh9Imz9Gx8RI=
=Wk3E
-----END PGP SIGNATURE-----

Attachment: pgpZb98q5DeWp.pgp
Description: PGP signature


--- End Message ---

Reply via email to