Debian Bug report logs -
#977001
blitz++: reproducible builds: build time embedded in bzconfig.h
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 9 Dec 2020 21:51:01 UTC
Severity: normal
Tags: patch
Fixed in version blitz++/1:1.0.2+ds-3
Done: Jerome Benoit <calculus@rezozer.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#977001; Package src:blitz++.
(Wed, 09 Dec 2020 21:51:03 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, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>.
(Wed, 09 Dec 2020 21:51:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: blitz++
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The file /usr/include/blitz/gnu/bzconfig.h contains an embedded timestamp:
https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/diffoscope-results/blitz++.html
421 #define·BZ__config_date·"Sun·Dec··6·02:21:14·-12·2020"· 421 #define·BZ__config_date·"Sun·Jan··9·11:08:27·+14·2022"·
The attached patch fixes this by patching to use the SOURCE_DATE_EPOCH
environment variable to set the value for DATE.
https://reproducible-builds.org/docs/source-date-epoch/
The patch relies on gnu date extensions/syntax (--utc, --date) and may
need further work to make it portable across multiple date
implementations for upstream.
Thanks for maintaining blitz++
live well,
vagrant
[0001-debian-patches-Patch-to-use-SOURCE_DATE_EPOCH-to-set.patch (text/x-diff, inline)]
From 15a9ee2e96ae41bceb9b7aba4e90f5209d34355f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 9 Dec 2020 21:36:25 +0000
Subject: [PATCH 1/2] debian/patches: Patch to use SOURCE_DATE_EPOCH to set
DATE.
https://reproducible-builds.org/docs/source-date-epoch/
---
...ng-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch | 30 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
create mode 100644 debian/patches/Specify-DATE-using-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch
diff --git a/debian/patches/Specify-DATE-using-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch b/debian/patches/Specify-DATE-using-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch
new file mode 100644
index 0000000..d49c49c
--- /dev/null
+++ b/debian/patches/Specify-DATE-using-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch
@@ -0,0 +1,30 @@
+From 2175a0ad78db56f50f22a0483f6e249ecf17e14c Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Wed, 9 Dec 2020 21:25:18 +0000
+Subject: [PATCH 1/2] Specify DATE using SOURCE_DATE_EPOCH in
+ m4/ac_check_cxx_features.m4 for reproducible timestamp.
+
+This uses the gnu date features of --date and --utc, so may not be
+widely portable.
+
+https://reproducible-builds.org/docs/source-date-epoch/
+---
+ m4/ac_check_cxx_features.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/m4/ac_check_cxx_features.m4 b/m4/ac_check_cxx_features.m4
+index abd6916..3a8a274 100644
+--- a/m4/ac_check_cxx_features.m4
++++ b/m4/ac_check_cxx_features.m4
+@@ -9,7 +9,7 @@ C++ compiler ($CXX $CXXFLAGS $LDFLAGS) characteristics
+
+ OS=`uname -a`
+ AC_SUBST(OS)
+-DATE=`date`
++DATE=`LC_ALL=C date --utc --date=@$SOURCE_DATE_EPOCH`
+ AC_SUBST(DATE)
+
+ AH_TOP([
+--
+2.29.2
+
diff --git a/debian/patches/series b/debian/patches/series
index 24132a8..b37ff35 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ debianization.patch
debianization-python.patch
debianization-examples.patch
debianization-examples-neutralization.patch
+Specify-DATE-using-SOURCE_DATE_EPOCH-in-m4-ac_check_.patch
--
2.29.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Jerome Benoit <calculus@rezozer.net>:
You have taken responsibility.
(Sat, 30 Jul 2022 18:06:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sat, 30 Jul 2022 18:06:03 GMT) (full text, mbox, link).
Message #10 received at 977001-close@bugs.debian.org (full text, mbox, reply):
Source: blitz++
Source-Version: 1:1.0.2+ds-3
Done: Jerome Benoit <calculus@rezozer.net>
We believe that the bug you reported is fixed in the latest version of
blitz++, 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 977001@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jerome Benoit <calculus@rezozer.net> (supplier of updated blitz++ 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: SHA512
Format: 1.8
Date: Sat, 30 Jul 2022 17:23:40 +0000
Source: blitz++
Architecture: source
Version: 1:1.0.2+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Math Team <team+math@tracker.debian.org>
Changed-By: Jerome Benoit <calculus@rezozer.net>
Closes: 977001 977003
Changes:
blitz++ (1:1.0.2+ds-3) unstable; urgency=medium
.
[ Jerome Benoit ]
* Debianization:
- Maintenance, migrate to Debian Math Team;
- d/patches/*:
- d/p/debianization.patch, merge patches by Vagrant Cascadian;
- d/p/debianization*.patch, set Forwarded to not-needed;
- d/rules:
- dpkg material, include now;
- harden;
- d/copyright:
- copyright year tuple, update;
- d/upstream/metadata, introduce;
- d/adhoc/*/Makefile:
- copyright year tuple, update.
.
[ Philip Rinn ]
* Team work
* debian/control:
- debhelper, bump to 13
- Standards Version, bump to 4.6.1 (no change)
- Mark libblitz0v5 and libblitz0-dev as 'Multi-Arch: same'
- Mark libblitz-doc as 'Multi-Arch: foreign'
- Add 'Rules-Requires-Root: no'
* Remove unused debian/source/include-binaries
* Make bzconfig.h reproducible:
- Remove -{file|debug}-prefix-map from BZ__compiler_options
- Add patch to use SOURCE_DATE_EPOCH in BZ__config_date (Closes: #977001)
- Thanks Vagrant Cascadian for the patch
- Add patch to use DEB_HOST_MULTIARCH as BZ__os_name (Closes: #977003)
- Thanks Vagrant Cascadian for the patch
Checksums-Sha1:
425d0964b42d27d1918f108fcd99106e342b51d3 3105 blitz++_1.0.2+ds-3.dsc
d507f98ec72f00bbda0009ae4a7f08a0441baef5 13472 blitz++_1.0.2+ds-3.debian.tar.xz
4e08f56d0999a2fcdbf784f56cccb8f3b472a09e 7119 blitz++_1.0.2+ds-3_source.buildinfo
Checksums-Sha256:
c9b2390a801993d7b12e66c6df35680e11a22d9d72171115d563cdae470271d4 3105 blitz++_1.0.2+ds-3.dsc
d9b51ce1bd3c315b4066af0a4d78bcd313214412b8729b6c1d54c710be87fa92 13472 blitz++_1.0.2+ds-3.debian.tar.xz
6b8759a321d3a1e6805a38f5f9f0cede7a0fde93a17c8c49cceefdb93a2b384b 7119 blitz++_1.0.2+ds-3_source.buildinfo
Files:
a8b23fb22d2b5dbccdf7fb859a8ff245 3105 devel optional blitz++_1.0.2+ds-3.dsc
37c31305bb680099ca67e53a2f38e4c1 13472 devel optional blitz++_1.0.2+ds-3.debian.tar.xz
447af9a67b72ded83de8546f8e048233 7119 devel optional blitz++_1.0.2+ds-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQRJBAEBCgAzFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmLlbr4VHGNhbGN1bHVz
QHJlem96ZXIubmV0AAoJED+SGaZ/NsaL94sf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dILazEP/aia1G8eCw/6vLXhdpUvEuvuAkUttXyQdnt16sLu5KN4vyn5xPk6it
8Dz01xXNNSJcRIytfvOdmMHlejD7/+yJJAw7IAHuWEPYj1MQ6koKWtjAuYGp/cJ7
s8Fn8wCeGB3v4jyc5fy29F43/3/a4wMpKZHtiKtVauPBTFhye+TUHQOYZG8ykWJl
JoVCAtqhHwDefHh5IbxfF9HTHyj85twJ8eVxg8I71K4PJ4/6STOHBEqs23IVDwHW
Iok1C5avv2ww3QBaUpbdIf+eCY2G4Oi/pJhZ7/1+9vBRyd6xQ+biediiVng=
=dGCq
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 02 Sep 2022 07:24:35 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:35 2023;
Machine Name:
buxtehude
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.