Debian Bug report logs -
#1023956
fl-cow: reproducible-builds: build path embedded in libflcow.so
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 QA Group <packages@qa.debian.org>:
Bug#1023956; Package src:fl-cow.
(Sun, 13 Nov 2022 07:39:06 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, 13 Nov 2022 07:39:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: fl-cow
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/lib/fl-cow/libflcow.so:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/fl-cow.html
/build/1st/fl-cow-0.6/fl-cow/fl-cow-config.h:1
vs.
/build/2/fl-cow-0.6/2nd/fl-cow/fl-cow-config.h:1
The attached patch to debian/rules fixes this by passing the default
buildflags, which include -ffile-prefix-map to avoid embedding the
absolute build path in the binaries.
Alternately or even preferably, updating to dh and a recent
debhelper-compat version might fix this as well as other issues.
According to my local tests, with this patch applied fl-cow should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining fl-cow!
live well,
vagrant
[0001-debian-rules-Pass-default-CFLAGS-to-configure.patch (text/x-diff, inline)]
From f0bff726ef7df0062d79fccf537f38b96856d94f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 13 Nov 2022 07:28:02 +0000
Subject: [PATCH] debian/rules: Pass default CFLAGS to configure.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 831bf87..559606f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ clean:
configure-stamp:
dh_testdir
autoreconf -fi
- ./configure --prefix=/usr --disable-static --libdir=/usr/lib/fl-cow
+ ./configure --prefix=/usr --disable-static --libdir=/usr/lib/fl-cow CFLAGS=$(dpkg-buildflags --get CFLAGS)
touch configure-stamp
configure: configure-stamp
--
2.38.1
[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 11:30:47 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.