Debian Bug report logs -
#1020755
rotter: reproducible-builds: Embedded build path in /usr/bin/rotter
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#1020755; Package src:rotter.
(Mon, 26 Sep 2022 00: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 Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(Mon, 26 Sep 2022 00:51: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: rotter
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/rotter:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/rotter.html
/build/1st/rotter-0.9/src/rotter.c:478
vs.
/build/2/rotter-0.9/2nd/src/rotter.c:478
The attached patch to debian/rules fixes this by adding a
dh_auto_configure override which passes the default CFLAGS provided by
dpkg-buildflags.
Alternately, updating to a newer debhelper compat level might also solve
this issue as well as other issues.
With this patch applied rotter should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining rotter!
live well,
vagrant
[0001-debian-rules-Add-dh_auto_configure-override-to-pass-.patch (text/x-diff, inline)]
From c364c7df7596ab2f9ef75df638fed6ed3ddf2a06 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 26 Sep 2022 00:44:03 +0000
Subject: [PATCH] debian/rules: Add dh_auto_configure override to pass default
CFLAGS.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 5ca7dc2..a344d88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
%:
dh $@ --with=autotools_dev
+override_dh_auto_configure:
+ dh_auto_configure -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/rotter
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:27:47 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.