• Bug#1014740: [Debichem-devel] Bug#1014740: pdb-tools: mangled manual pa

    From Chris Hofstaedtler@1:229/2 to Paul Wise on Thu Jul 3 17:20:01 2025
    From: [email protected]

    user [email protected]
    usertag -1 + randomness
    thanks

    Hi,

    On Tue, Jul 12, 2022 at 09:42:47PM +0800, Paul Wise wrote:
    On Tue, 2022-07-12 at 13:36 +0300, Andrius Merkys wrote:

    This was caused by '--version' option not being supported by some of the programs. Fixed in 2.5.0-2 upload.

    Looks like there are some more errors for --help, see this command:

    $ zgrep -iE -- '-help|not valid' /usr/share/man/man1/pdb_*.1.gz

    Also a lot of the manual pages are even more broken now, some of them
    contain just an error message from the program and no help text but
    that help text was present in the 2.5.0-1 upload. I used diffoscope to compare the 2.5.0-1 and 2.5.0-2 binaries to notice this.

    The builds also do not seem deterministic now. Rebuilds on
    reproduce.debian.net show such a diff:

    ├── data.tar.xz
    │ ├── data.tar
    │ │ ├── ./usr/share/man/man1/pdb_wc.1.gz
    │ │ │ ├── pdb_wc.1
    │ │ │ │ @@ -1,6 +1,6 @@
    │ │ │ │ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
    │ │ │ │ .TH PDB_WC "1" "September 2024" "pdb_wc 2.5.1" "User Commands" │ │ │ │ .SH NAME
    │ │ │ │ pdb_wc \- manual page for pdb_wc 2.5.1
    │ │ │ │ .SH DESCRIPTION
    │ │ │ │ -pdb_wc The following options are not valid: 'pel\-'
    │ │ │ │ +pdb_wc The following options are not valid: 'epl\-'

    I don't quite understand what goes wrong with sed et al, but that seems bad.

    Please either fix it or if the manpages are useless anyway, drop help2man?

    Chris

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)