Debian Bug report logs -
#1021463
rdist: reproducible-builds: build path embedded in /usr/bin/rdist
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 8 Oct 2022 23:27:02 UTC
Severity: normal
Tags: patch
Fixed in version 6.1.5-21+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
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 QA Group <packages@qa.debian.org>:
Bug#1021463; Package src:rdist.
(Sat, 08 Oct 2022 23:27: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>.
(Sat, 08 Oct 2022 23:27: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: rdist
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/rdist:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/rdist.html
/build/1st/rdist-6.1.5/src/rdist.c:105
vs.
/build/2/rdist-6.1.5/2nd/src/rdist.c:105
The attached patch fixes this by passing the default CFLAGS via the
CFLAGS_OS variable when calling make.
According to my local tests, with this patch applied, rdist should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining rdist!
live well,
vagrant
[0001-debian-rules-Pass-CFLAGS-via-the-CFLAGS_OS-variable-.patch (text/x-diff, inline)]
From 1ae2591af6070578468777e64d31435875b040d5 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 8 Oct 2022 23:20:06 +0000
Subject: [PATCH] debian/rules: Pass CFLAGS via the CFLAGS_OS variable to avoid
embedding build paths.
https://reproducible-builds.org/docs/build-path/
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3b32a29..32a9a9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- DEFS_LOCAL=-D_PATH_OLDRDIST=\\\"/usr/bin/oldrdist\\\" LIB_SYS="$(LDFLAGS)" $(MAKE)
+ DEFS_LOCAL=-D_PATH_OLDRDIST=\\\"/usr/bin/oldrdist\\\" LIB_SYS="$(LDFLAGS)" $(MAKE) CFLAGS_OS="$(CFLAGS)"
touch build-stamp
clean:
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 24 Feb 2023 21:27:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Fri, 24 Feb 2023 21:27:03 GMT) (full text, mbox, link).
Message #10 received at 1021463-done@bugs.debian.org (full text, mbox, reply):
Version: 6.1.5-21+rm
Dear submitter,
as the package rdist has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1031841
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 25 Mar 2023 07:28:53 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:43:46 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.