Bug#951216: poppler-utils: pdfinfo incorrectly reports date metadata under reprotest
Jeffrey Ratcliffe
jffry at posteo.net
Wed Feb 12 17:19:31 GMT 2020
Package: poppler-utils
Version: 0.71.0-6
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Create a PDF with defined date metadata:
convert rose: test.tif && tiff2pdf -o test.pdf -e 20181231120000 test.tif
pdfinfo then correctly reports the metadata:
$ pdfinfo test.pdf
Producer: libtiff / tiff2pdf - 20191103
CreationDate: Mon Dec 31 13:00:00 2018 CET
* What exactly did you do (or not do) that was effective (or
ineffective)?
>From reprotest, however, the output is incorrect.
* What was the outcome of this action?
$ reprotest -c 'pdfinfo test.pdf' . "*.deb *.changes"
WARNING:reprotest:The control build runs on 1 CPU by default, give --min-cpus
to increase this.
Producer: libtiff / tiff2pdf - 20191103
CreationDate: Mon Dec 31 00:00:00 2018 GMT
* What outcome did you expect instead?
For GMT, I would have expected:
CreationDate: Mon Dec 31 12:00:00 2018 GMT
Both the isodates and rawdates option work fine:
$ reprotest -c 'pdfinfo -isodates test.pdf' . "*.deb *.changes"
WARNING:reprotest:The control build runs on 1 CPU by default, give --min-cpus
to increase this.
Producer: libtiff / tiff2pdf - 20191103
CreationDate: 2018-12-31T12:00:00Z
$ reprotest -c 'pdfinfo -rawdates test.pdf' . "*.deb *.changes"
WARNING:reprotest:The control build runs on 1 CPU by default, give --min-cpus
to increase this.
Producer: libtiff / tiff2pdf - 20191103
CreationDate: D:20181231120000
This is a problem for programs that rely on pdfinfo to extract metadata from
PDF files, as they then fail reproducibility testing.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages poppler-utils depends on:
ii libc6 2.29-9
ii libcairo2 1.16.0-4
ii libfreetype6 2.10.1-2
ii liblcms2-2 2.9-3+b1
ii libpoppler82 0.71.0-6
ii libstdc++6 9.2.1-25
poppler-utils recommends no packages.
poppler-utils suggests no packages.
-- no debconf information
More information about the Pkg-freedesktop-maintainers
mailing list