Your message dated Sun, 03 Apr 2022 12:49:01 +0000
with message-id <[email protected]>
and subject line Bug#1004034: fixed in bagel 1.2.2-4
has caused the Debian Bug report #1004034,
regarding bagel: reproducible-builds: build path embedded in /usr/bin/BAGEL and
debug symbols
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1004034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004034
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bagel
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Different build paths trigger reproducibility issues with binaries such
as /usr/bin/BAGEL and relevent debugging symbols.
The attached patch fixes this by passing -ffile-prefix-map to CXXFLAGS
to avoid embedding the build path into the binaries.
Another possibility would be to use dpkg-buildflags, which includes this
flag by default.
With this patch applied, bagel should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining bagel!
live well,
vagrant
From e7c8200cb457d886a634f383623d693a961b1a06 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Wed, 19 Jan 2022 16:04:53 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map in CXXFLAGS.
The -ffile-prefix-map argument is used to avoid embedding the build
path in binaries, which allows for reproducible builds regardless of
the build path in the build environment.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 62d1d08..b6e0afa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
export LIBS=-lblas -llapack -lpthread
-export CXXFLAGS=-g1 -O2 -DNDEBUG -DZDOT_RETURN
+export CXXFLAGS=-g1 -O2 -DNDEBUG -DZDOT_RETURN -ffile-prefix-map=$(CURDIR)=.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
B_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
--
2.34.1
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: bagel
Source-Version: 1.2.2-4
Done: Michael Banck <[email protected]>
We believe that the bug you reported is fixed in the latest version of
bagel, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Banck <[email protected]> (supplier of updated bagel 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 03 Apr 2022 14:28:30 +0200
Source: bagel
Architecture: source
Version: 1.2.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <[email protected]>
Changed-By: Michael Banck <[email protected]>
Closes: 1004034
Changes:
bagel (1.2.2-4) unstable; urgency=medium
.
[ Vagrant Cascadian ]
* debian/rules: Pass -ffile-prefix-map in CXXFLAGS (Closes: #1004034).
.
[ Michael Banck ]
* debian/tests/testsuite.sh: Dump last 50 lines of output for failed test
cases.
Checksums-Sha1:
b966689343e1e611607ff9238ae208e38962a5e1 2229 bagel_1.2.2-4.dsc
e698b717c47f405689f42d65ba4b7fcb66157c5a 8236 bagel_1.2.2-4.debian.tar.xz
2bf92fdc624d7e89e35d35489ad48a018166be26 6180 bagel_1.2.2-4_source.buildinfo
Checksums-Sha256:
010f40f02c8022d55146c8b12508c3af6891f0e0364c67d9860b4256d0085f6c 2229
bagel_1.2.2-4.dsc
b08d0ef0e64bb95377840b59fea5f2749c6cf2cac54dad0a53c4b1cbaa898804 8236
bagel_1.2.2-4.debian.tar.xz
4e1735e5c89f8379f283d4ea22aacf4378082170d414ff2891389052dd454d46 6180
bagel_1.2.2-4_source.buildinfo
Files:
0091a80ba66e8e549dbdf8bac61d1423 2229 science optional bagel_1.2.2-4.dsc
bea0341778f1bbac5d1dd5ef94bae5ce 8236 science optional
bagel_1.2.2-4.debian.tar.xz
86d4c395ac601e72f07d3c1d3b78d08c 6180 science optional
bagel_1.2.2-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEnKh3dJ+rLk+paGLs3GhqJ7Q0gbAFAmJJkvsACgkQ3GhqJ7Q0
gbAbDQ//VJGspr7m8k7CZGpJffETu0zptKxmkGCJEbNfl4vTnFitjKbDuCmjbCYz
P/e+KGJP/dQkP0okhojalTdzGgVoBTxc12hu398ZaLBpvuQjEgJizrilOkC+13LD
G09oTfFTqs6A5HyHVbB8TNnhYhfhUoqsIusSXRC5XywKF8j+Hn/PizmlvF6DXEuS
am6NWYSB1uGLN5FflDRqHOBYig6FIPk16xvebBE+x6ENGMsDdzVs+GnasvOuYpIE
oWOxGaGkqzzUGl3+s4BuNhLeu8oog/jniOMSvNrBzG8/elja2XiH8E7WNlJBYIcH
chunjIbH5kXtMCqL3dYt1kEZWL8bnEM52MRpAD512EjCo4l3ToLVNAlYA+28BeXQ
abjoOJ93qWS9cAw2xNEtfYu8gqMxNPEASNf3vxJp1LnUS0QjLbO4aUStwo2GPHm/
aPtE5nFihibJg5IiaHEqAaXUmLoFerIZTQYu3QNIquUJWw1mwyiXf6+TbxbC8Nyw
TF5lxv+33tgISoV+9ZGbLNhroqzfaj0oC+mJtZIyUQzhwSbxmWB2gt+gtwRrd5ah
ewf2eEyTfLxRtg3jTeQYZQ4frnmoKPMg4jqMLIYSCqjmhO20Ebfm+fjXUZEHa3Y/
OzWuPaeMLMO2fkkAYbVjIw8Vrb2ePp4ykLa6BfX/r7qQzouo2j4=
=WdQ4
-----END PGP SIGNATURE-----
--- End Message ---