Debian Bug report logs -
#1011429
dds2tar: reproducible-builds: embedded build paths in /usr/bin/dds-dd
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1011429; Package src:dds2tar.
(Sun, 22 May 2022 18:06: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, Debian QA Group <packages@qa.debian.org>.
(Sun, 22 May 2022 18:06:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: dds2tar
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The build path is embedded in /usr/bin/dds-dd:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/dds2tar.html
/build/1st/dds2tar-2.5.2/dds2tar.c:382
vs.
/build/2/dds2tar-2.5.2/2nd/dds2tar.c:382
The attached patch fixes this by adjusting the Makefile to add CFLAGS to
the CCFLAGS variable, which includes the -ffile-prefix-map argument to
avoid embedding the absolute path in compiled files.
With this patch applied, dds2tar should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
[0001-Makefile-Add-CFLAGS-to-CCFLAGS.patch (text/x-diff, inline)]
From 0e9712a9542c383a7445599ebe1d14abe212349b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 22 May 2022 17:58:40 +0000
Subject: [PATCH] Makefile: Add CFLAGS to CCFLAGS.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 3ecfad4..2f662c7 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ CCOPT=$(HPDAT) $(HPDAT4) $(EXP_STUFF) $(MATCH) $(BUFFER) \
D=dds2tar-${V}
-CCFLAGS=-DVERSION=\"$V\"
+CCFLAGS=$(CFLAGS) -DVERSION=\"$V\"
TAR=tar
ARCHIVE=\
--
2.36.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Bo YU <tsu.yubo@gmail.com>:
You have taken responsibility.
(Fri, 25 Nov 2022 11:51:04 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Fri, 25 Nov 2022 11:51:04 GMT) (full text, mbox, link).
Message #10 received at 1011429-close@bugs.debian.org (full text, mbox, reply):
Source: dds2tar
Source-Version: 2.5.2-9
Done: Bo YU <tsu.yubo@gmail.com>
We believe that the bug you reported is fixed in the latest version of
dds2tar, 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 1011429@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bo YU <tsu.yubo@gmail.com> (supplier of updated dds2tar 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: Fri, 25 Nov 2022 16:54:52 +0800
Source: dds2tar
Architecture: source
Version: 2.5.2-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bo YU <tsu.yubo@gmail.com>
Closes: 939724 1011429 1024798
Changes:
dds2tar (2.5.2-9) unstable; urgency=medium
.
* QA upload.
* Fix ftbfs. (Closes: #1024798)
* Fix FTCBFS: Let dh_auto_build pass cross tools to make.
(Closes: #939724). Thanks Helmut Grohne <helmut@subdivi.de>
* Fix reproducible-builds, (Closes: #1011429)
Thanks Vagrant Cascadian <vagrant@reproducible-builds.org>
* Set Std-Ver to 4.6.1
* Use debhelper-compat(13)
* Add d/dds2tar.lintian-overrides
Checksums-Sha1:
7abdf3b5869247a8fac395eac3ff9953133372ec 1514 dds2tar_2.5.2-9.dsc
3af6ec5663a755de72c836cf73572484b0ceacc1 7420 dds2tar_2.5.2-9.debian.tar.xz
f62991fb5bb402b13bd1115aca5cd99827fb0891 5570 dds2tar_2.5.2-9_source.buildinfo
Checksums-Sha256:
9baebc91741d3644093ec10c1b1da4fd710becfe0c8b070e54e0439c9027b8ce 1514 dds2tar_2.5.2-9.dsc
40f64c0026cd54a37733dc1f245b0ee9f49d9728ddd868b2f3cae8126692029d 7420 dds2tar_2.5.2-9.debian.tar.xz
9f91608da089333280573e8bf43f590a8b5f562a85b116b9760e76e894a4c49c 5570 dds2tar_2.5.2-9_source.buildinfo
Files:
ce057304d33ebbac0221b85463411554 1514 utils optional dds2tar_2.5.2-9.dsc
cf31895102d59bef0cdce66ac4fef6e1 7420 utils optional dds2tar_2.5.2-9.debian.tar.xz
d01180d68759b2bbcf1eabbb913f634d 5570 utils optional dds2tar_2.5.2-9_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmOAqgMQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFIxsC/wN+jLjQluZPivkb9odamICY9EMd5RM7luw
mOoZZMRKC9Us7GPgXyYtrdS5GuZEcefnmLBMy3Av+XvJ5xhUX0MDDQSU1/BQ2W/i
3SD2ti+6EWQcnAx1uGHdAJthxxwdCOijHAlXCpHiWwOcE3ecsg72it0EH6TQOtMT
SekJrruURX5z73AqGDXvDXn7qvB5F72ZN2U50ld/ahl5mC2hV/0LHa1JbvENJBS7
T4JC0pZPVHVUJ+gNenKmxHALJwick0rCdgqqeRDuPyz0Fn5khJjIlw8eIg3kI1PH
EeoD5hN2U9v+ghEqaAgINkjwqLbL7UUJI03zj2ldAQKFyA2KlVnJXzouOkiP4E2N
dDk5NOI23RkW1xPsfrWeNesXH1cKqGpzcoEsuLmff8Ob8C5osXW66af7evRBeHRP
rFs1Am/b0NlRz9tCBflCbSgP3sAx7dAxqHI77oCuGU+kFEFaOITfdHnwB55mRPwJ
h7TSaqEoGTWyRoy9fBVG2MFva0YXuz8=
=Dnlc
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 28 Dec 2022 07:25:27 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:38:07 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.