Source: libaqbanking
Version: 5.99.43beta-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
libaqbanking could not be built reproducibly.

This is because the Debian-specific manpage generation script includes
stderr into the manpage which, alas, contains an timestamped error
message. Patch attached that discards the standard error stream.

As an aside, regardless of this change the manpage includes a "This is
version $version" in a strange place:

     40 Two common options need to be distinguished carefully from
        each other: "\-c CUSTOMER_ID" refers to the German "Kunden\-
        ID" or "Kundennummer"\&. "\-u USER_ID" refers to the
        >>German "Benutzerkennung"\&. If your bank has specified both
        to you, you need to check carefully not to confuse one with
        the other\&.
     41 .sp
     42 This is version 5\&.99\&.43
     43 .PP
     44 \-D PARAM, \-\-cfgdir=PARAM
     45 .RS 4
     46 Specify the configuration folder

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/doc/Makefile       2019-11-05 17:14:36.913153978 -0800
--- b/debian/doc/Makefile       2019-11-05 17:35:14.565626230 -0800
@@ -9,7 +9,7 @@
        asciidoc -d manpage -b docbook $<
 
 aqhbci-tool4.1.generated.txt: ../../src/tools/aqbanking-cli/aqhbci-tool4
-       $< --help 2>&1 \
+       $< --help \
                | sed -e 's/^Usage:.*//;s/^Global 
Options:.*//;s/:$$/::/g;s/^\(\S\+.*\)::$$/== \1/g;s/^  \(\S\+\)::/\1::/g;s/^ 
\[\(.*\)\]/\1::/g' \
                > $@
 

Reply via email to