Debian Bug report logs - #977330
uhd: reproducible builds: Embeds timestamp in build log

version graph

Package: src:uhd; Maintainer for src:uhd is A. Maitland Bottoms <bottoms@debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Mon, 14 Dec 2020 01:45:02 UTC

Severity: normal

Tags: patch

Fixed in version uhd/3.15.0.0-5

Done: A. Maitland Bottoms <bottoms@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, A. Maitland Bottoms <bottoms@debian.org>:
Bug#977330; Package src:uhd. (Mon, 14 Dec 2020 01:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, A. Maitland Bottoms <bottoms@debian.org>. (Mon, 14 Dec 2020 01:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: uhd: reproducible builds: Embeds timestamp in build log
Date: Sun, 13 Dec 2020 17:41:58 -0800
[Message part 1 (text/plain, inline)]
Source: uhd
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

A build log file included with the shipped documentation files embeds
the build time:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/uhd.html
  /usr/share/doc/uhd-host/doxygen/latex/refman.log.gz

  1 This·is·pdfTeX,·Version·3.14159265-2.6-1.40.21·(TeX·Live·2020/Debian)·(preloaded·format=pdflatex·2020.12.11)··11·DEC·2020·17:05
  1 This·is·pdfTeX,·Version·3.14159265-2.6-1.40.21·(TeX·Live·2020/Debian)·(preloaded·format=pdflatex·2022.1.15)··15·JAN·2022·01:51


The attached patch fixes this by removing the documentation sources from
the documentation directory in debian/rules.

If the sources for the documentation are intentionally included, please
consider adjusting the patch to just remove the refman.log file.

With this issue fixed, uhd should become reproducible once it reaches
bullseye, although unstable and experimental also vary build path,
causing other reproducibility issues with uhd.


Thanks for maintaining uhd!


live well,
  vagrant
[0001-debian-rules-Remove-source-files-from-documentation-.patch (text/x-diff, inline)]
From 1bb35256f8c1a2ca429975179d09f43aced85c6e Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 14 Dec 2020 00:49:59 +0000
Subject: [PATCH] debian/rules: Remove source files from documentation
 directory.

The installed package need not ship the source code to generate the
html documentation.

Some files such as refman.log include timestamp and other
non-deterministic information about the build, resulting in
reproducibility issues.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 467ad4f..c83ee32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,8 @@ override_dh_auto_install:
 	dh_auto_install
 	chmod -x debian/tmp/usr/lib/uhd/tests/devtest/*.py
 	- rm debian/libuhd-dev/usr/lib/cmake/uhd/
+	# Remove source files used to generate documentation
+	rm -rf debian/tmp/usr/share/doc/uhd/doxygen/latex
 
 get-orig-source:
 	echo $(VER) $(GITREV)
-- 
2.29.2

[signature.asc (application/pgp-signature, inline)]

Reply sent to bottoms@debian.org (A. Maitland Bottoms):
You have taken responsibility. (Fri, 22 Oct 2021 06:06:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 22 Oct 2021 06:06:04 GMT) (full text, mbox, link).


Message #10 received at 977330-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977330-close@bugs.debian.org
Subject: Bug#977330: fixed in uhd 3.15.0.0-5
Date: Fri, 22 Oct 2021 06:03:55 +0000
Source: uhd
Source-Version: 3.15.0.0-5
Done: A. Maitland Bottoms <bottoms@debian.org>

We believe that the bug you reported is fixed in the latest version of
uhd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 977330@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
A. Maitland Bottoms <bottoms@debian.org> (supplier of updated uhd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 20 Oct 2021 20:30:04 -0400
Source: uhd
Architecture: source
Version: 3.15.0.0-5
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <bottoms@debian.org>
Changed-By: A. Maitland Bottoms <bottoms@debian.org>
Closes: 977330 984157 984375 986829
Changes:
 uhd (3.15.0.0-5) unstable; urgency=medium
 .
   * update to v3.15.0.0-70-g42b6fcf64
   * uhd-host: Update sysctl configuration filename and path (Closes: #986829)
   * lib: Fix missing includes in rpc.hpp (needed by gcc 11) (Closes: #984375)
   * remove spurious template from property destructor (Closes: #984157)
   * remove latex timestamped files (Closes: #977330)
   * Fix default UHD_RFNOC_DIR
Checksums-Sha1:
 cd148115c5ed52759b483cab52a5ccaca856bbb2 2756 uhd_3.15.0.0-5.dsc
 f93dda70957558d53144ea84665970c5da01fd2e 1173172 uhd_3.15.0.0-5.debian.tar.xz
 3864335f37d94b08f5f60219e4ccb792decdf462 14831 uhd_3.15.0.0-5_amd64.buildinfo
Checksums-Sha256:
 4f9bffaf7185f1aea0f32df13afce9292048386d08b71df91dc96c888b06438b 2756 uhd_3.15.0.0-5.dsc
 b6041261daf884478046d0573188ff94a81d87e7acc6041c995b2e0845ae8475 1173172 uhd_3.15.0.0-5.debian.tar.xz
 a2e6638526b6d67efdf98809847c9cfa42ecacde82b4543f9b6e40b59a94f8f2 14831 uhd_3.15.0.0-5_amd64.buildinfo
Files:
 a84272df6fc9aa23702709fd4a8471ca 2756 science optional uhd_3.15.0.0-5.dsc
 684758deed4ef126f239dd5cdb74627e 1173172 science optional uhd_3.15.0.0-5.debian.tar.xz
 fc31be90f5efaf56563e7f2e6f47b704 14831 science optional uhd_3.15.0.0-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAmFyUHkACgkQUEHxiR9E
4JAJhg//cfigghxR1QfmpPi40+5c4I2/PseI9R6vE5atWYn9r/N0TDRkpiVTdJRE
xpoJDDVV29GX38fss5bEEyaotz33vpecZWXNzyIAzI1/CzMrEynX5KbXFGa9oOPE
KXVfDSY0fmjXhNx+oZJIl3IJg3yAxaOZ6+oPcYIz6xvzSuYzhY9HwMQWLsPH64+f
iHC7RiDbHNF1uoTPZ5hKFZiOe5Yg4Xtoska1OhmYPSdBCWsNAOR1JpdpQlINbq0T
nUubQdaJHiJ0F9CJMtOwqTj1npIb4YePOrt3T7GJg/MwVAlLI0f5W3YLacTV9i9s
CjKhZcPSTqrV39q25N+mz1fbBXGQbBptotqhsSDMKhp7izVQt3AGpmyj6IOCztEb
eHXtVo+IEVn5MxgREnPCO8wIAhp+ah5vlMciJzi+5M2iHSlnZI9aVR4NPY4DSz3x
rv7vjhhrz4aADVPaG4BmqcaO2WmkAEbRGNQamu+GMZOxFkXOJMarYJNYUewF3Gx6
1oICx/1Rs36N4FodwRkS1d1TwC7BWLZ6kVbvBUl2Aa8tR+sXlSlPL83Bss6JJrJg
dU6zySFdxxvGumPzBCPX42cDL/HCkiC9ZC/itw0O/9aO9T3CouSoVwSXNY8jFJG8
T8jrMhkiyDB6BSYKuiapZnxPHds6lbk+7SBZfjmNKeG/OTN/g4E=
=FZ7B
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 21 Nov 2021 07:26:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:49:37 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.