Debian Bug report logs - #980092
gtk-doc-tools: Support for SOURCE_DATE_EPOCH

Package: gtk-doc-tools; Maintainer for gtk-doc-tools is Debian GNOME Maintainers <[email protected]>; Source for gtk-doc-tools is src:gtk-doc (PTS, buildd, popcon).

Affects: libu2f-host-doc

Reported by: nicoo <[email protected]>

Date: Thu, 14 Jan 2021 12:45:03 UTC

Severity: normal

Forwarded to https://gitlab.gnome.org/GNOME/gtk-doc/-/issues/137

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 14 Jan 2021 12:43:47 +0000
From [email protected] Thu Jan 14 12:43:47 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-28.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DIGITS_LETTERS,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
	SPF_HELO_NONE,SPF_NONE,TXREP,XMAILER_REPORTBUG autolearn=ham
	autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 86; hammy, 150; neutral, 198; spammy,
	0. spammytokens: hammytokens:0.000-+--UD:xz, 0.000-+--UD:tar.xz,
	0.000-+--python3, 0.000-+--sha512, 0.000-+--SHA512
Return-path: <[email protected]>
Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]:54616)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1l01yd-0001Gq-IR
	for [email protected]; Thu, 14 Jan 2021 12:43:47 +0000
Received: from master.debian.org ([82.195.75.110]:55952 helo=localhost)
	by master.debian.org with esmtp (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1l01yb-0001jP-SA; Thu, 14 Jan 2021 12:43:45 +0000
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: nicoo <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: gtk-doc-tools: Support for SOURCE_DATE_EPOCH
Message-ID: <161062822035.200292.1691787986359914259.reportbug@neon.citronna.de>
X-Mailer: reportbug 7.9.0
Date: Thu, 14 Jan 2021 13:43:40 +0100
Delivered-To: [email protected]
Package: gtk-doc-tools
Severity: normal
User: [email protected]
Usertags: timestamps toolchain
X-Debbugs-Cc: [email protected]
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-----

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:28:44 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.