Debian Bug report logs -
#1020661
libid3tag: reproducible-builds: Embedded build path in libid3tag.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, Kurt Roeckx <kurt@roeckx.be>:
Bug#1020661; Package src:libid3tag.
(Sat, 24 Sep 2022 22: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, Kurt Roeckx <kurt@roeckx.be>.
(Sat, 24 Sep 2022 22:51:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: libid3tag
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/x86_64-linux-gnu/libid3tag.so.0.3.0:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libid3tag.html
/build/1st/libid3tag-0.15.1b/ucs4.c:43
vs.
/build/2/libid3tag-0.15.1b/2nd/ucs4.c:43
The attached patch fixes this in debian/rules by adding
-ffile-prefix-map to CFLAGS passed to configure.
With this patch applied libid3tag should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining libid3tag!
live well,
vagrant
[0001-debian-rules-Pass-ffile-prefix-map-in-CFLAGS-via.patch (text/x-diff, inline)]
From 582ecc8d8a2f0f2d82aaba864c2452ffcc018b8a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 24 Sep 2022 22:42:12 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map in CFLAGS via
DEB_CONFIGURE_EXTRA_FLAGS.
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 ffbf0b1..c5dae62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
-DEB_CONFIGURE_EXTRA_FLAGS=--enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+DEB_CONFIGURE_EXTRA_FLAGS=--enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) CFLAGS="-ffile-prefix-map=$(CURDIR)=."
install/libid3tag0-dev:: debian/id3tag.pc
mkdir -p debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
--
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:44 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.