Bug#980092: gtk-doc-tools: Support for SOURCE_DATE_EPOCH
nicoo
nicoo at debian.org
Thu Jan 14 12:43:40 GMT 2021
Package: gtk-doc-tools
Severity: normal
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Control: affects -1 + libu2f-host-doc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainers,
gtkdoc-pdf, and possibly other gtk-doc tools, seems to embed the build day in
their output. This makes all packages that use it for generating documentation,
build unreproducibly.
$ diffoscope control experiment-1
--- control
+++ experiment-1
│ --- control/source-root
├── +++ experiment-1/source-root
│ │ │ [┄]
│ │ ├── data.tar.xz
│ │ │ ├── data.tar
│ │ │ │ ├── ./usr/share/doc/libu2f-host-dev/u2f-host.pdf
│ │ │ │ │┄ Installing the 'PyPDF2' package may produce a better output.
│ │ │ │ │ ├── pdftotext {} -
│ │ │ │ │ │ @@ -13,15 +13,15 @@
│ │ │ │ │ │
│ │ │ │ │ │ WRITTEN BY
│ │ │ │ │ │
│ │ │ │ │ │ DATE
│ │ │ │ │ │
│ │ │ │ │ │ SIGNATURE
│ │ │ │ │ │
│ │ │ │ │ │ -January 13, 2021
│ │ │ │ │ │ +January 15, 2021
│ │ │ │ │ │
│ │ │ │ │ │ REVISION HISTORY
│ │ │ │ │ │ NUMBER
│ │ │ │ │ │
│ │ │ │ │ │ DATE
│ │ │ │ │ │
│ │ │ │ │ │ DESCRIPTION
This happens despite the package not doing anything date-related in its gtk-doc/
and gtkdoc-mkpdf seems not to provide any CLI parameter to override the date.
Please consider adding such a parameter, *and* default to honouring the
environment variable SOURCE_DATE_EPOCH if it is defined:
https://reproducible-builds.org/docs/source-date-epoch/
Best,
nicoo
- -- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gtk-doc-tools depends on:
pn docbook-to-man <none>
pn docbook-xml <none>
pn docbook-xsl <none>
ii pkgconf [pkg-config] 1.7.3-2
ii python3 3.9.1-1
ii python3-lxml 4.6.2-1
ii python3-pygments 2.7.1+dfsg-1
pn xsltproc <none>
gtk-doc-tools recommends no packages.
Versions of packages gtk-doc-tools suggests:
pn dblatex <none>
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAmAAPHoRHG5pY29vQGRl
Ymlhbi5vcmcACgkQ5vmO4pLV7MsSiw//SiL9uvQc93BDbIz3olRIGJqzjSeydJkf
e+acopDK65R5Li08uAJrV99FI7tvs2g5hS9PtlBsmujQ74cq1ozX8ZGY5bUsnbCL
D3DGsfInW1+HCLm1TTTS4bMk/aYDSOrZhh62v3kFNayHpEGg114GFvcqdpvnVffY
O+KlEj1JpSTB+WTa4vzCf/PrM3/r3Cbl+XoQz/SHlRGN/VY/bcZY9VpvqZf7R8V4
EYj1u4D3rNb+5cnnDUz4XgEkAg68rJqyZcuQ2fZn+kVdo2kg520LEbE4x8UPgz0v
EPpeT0LZFmAl4Cb3TTrPOcTvYzlPSSmHLtJBbn4lcc0R0zkFAr4MmEbwqll7xYwd
0Sv/P+vhHoaD0riRnm0zs4iO0SieBPuGVDT3NtkfZpJHT5g/KpnSrdHIhTpebzuD
6FMk91XdoISEIxI8l0OLL8BHzoQyZV0D7URn3hVRQZSff2uyUCmMDbzAcYWmWVle
IaZFZW6BmR5qYUk/E15+KwhT2d6UWwWxP9aCgvzrRsQQIEdDyDAiEM4krASkIZRQ
/n2l0eJwKON9k1SuDaFqdwr1cNmJD4v3IV5WRf+O8GRzbGFdeHHWrqW6zomkapE7
qrOY2Q7TBFBN8mZT4PqEBi0sSfVObfUOy8VMd3Jfr7q0etLHBCHU1sfa7ya/g4/1
S799VhrY+pI=
=ZFHI
-----END PGP SIGNATURE-----
More information about the pkg-gnome-maintainers
mailing list