Debian Bug report logs -
#1003370
libxtrxll: reproducible-builds: BuildId differences triggered by RPATH
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 9 Jan 2022 01:57:02 UTC
Severity: normal
Tags: patch
Fixed in version libxtrxll/0.0.1+git20201202.1b6eddf-1
Done: Christoph Berg <myon@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, Sepi Gair <sepigair@email.cz>:
Bug#1003370; Package src:libxtrxll.
(Sun, 09 Jan 2022 01:57: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, Sepi Gair <sepigair@email.cz>.
(Sun, 09 Jan 2022 01:57: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: libxtrxll
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The RPATH contains the build path resulting in different buildid:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libxtrxll.html
The attached patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override,
which should use a relative path for RPATH.
Alternately, updating the packaging to debhelper compat level 14 should
fix this, although it is currently an experimental compat level.
With this patch applied, libxtrxll should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining libxtrxll!
live well,
vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From e75abe79f71c2e54c6ee1ed8043218db1a3ff1e3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 9 Jan 2022 01:48:11 +0000
Subject: [PATCH] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
dh_auto_configure override.
This avoids embedding the full path in RPATH, which triggers BuildId
differences.
https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index c748d13..452bd34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ include /usr/share/dpkg/architecture.mk
override_dh_auto_configure:
dh_auto_configure -- \
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
+ -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-DXTRXLL_STATIC=OFF
override_dh_installudev:
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1003370.
(Wed, 09 Nov 2022 09:36:04 GMT) (full text, mbox, link).
Message #8 received at 1003370-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #1003370 in libxtrxll reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/debian-hamradio-team/libxtrxll/-/commit/deb1cbcbc592ed5b4a219c276a4206efe8e6b90a
------------------------------------------------------------------------
Use a relative path for RPATH. (Closes: #1003370)
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1003370
Added tag(s) pending.
Request was from Christoph Berg <myon@debian.org>
to 1003370-submitter@bugs.debian.org.
(Wed, 09 Nov 2022 09:36:05 GMT) (full text, mbox, link).
Reply sent
to Christoph Berg <myon@debian.org>:
You have taken responsibility.
(Wed, 09 Nov 2022 10:12:05 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Wed, 09 Nov 2022 10:12:06 GMT) (full text, mbox, link).
Message #15 received at 1003370-close@bugs.debian.org (full text, mbox, reply):
Source: libxtrxll
Source-Version: 0.0.1+git20201202.1b6eddf-1
Done: Christoph Berg <myon@debian.org>
We believe that the bug you reported is fixed in the latest version of
libxtrxll, 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 1003370@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated libxtrxll 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: SHA256
Format: 1.8
Date: Wed, 09 Nov 2022 10:26:52 +0100
Source: libxtrxll
Architecture: source
Version: 0.0.1+git20201202.1b6eddf-1
Distribution: unstable
Urgency: low
Maintainer: Sepi Gair <sepigair@email.cz>
Changed-By: Christoph Berg <myon@debian.org>
Closes: 1001608 1003370
Changes:
libxtrxll (0.0.1+git20201202.1b6eddf-1) unstable; urgency=low
.
* Team upload.
.
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Database, Bug-Submit.
* Update standards version to 4.5.0, no changes needed.
.
[ Christoph Berg ]
* New upstream version.
* 50-xtrx-usb3380.rules: Group usb does not exist, use plugdev instead.
(Closes: #1001608)
.
[ Vagrant Cascadian ]
* Use a relative path for RPATH. (Closes: #1003370)
Checksums-Sha1:
d996ddb0cca4b6fa260d772c04056f7a755a69cd 2100 libxtrxll_0.0.1+git20201202.1b6eddf-1.dsc
a064042b7cc99e88ac3311212d166707540c5f5f 57196 libxtrxll_0.0.1+git20201202.1b6eddf.orig.tar.xz
bfe329a72179007b8fc97b066f790153e04b807f 3136 libxtrxll_0.0.1+git20201202.1b6eddf-1.debian.tar.xz
Checksums-Sha256:
30ffd499c36752ce1d6ee118c718176d31e2db166548b9e76affeed33184b0f0 2100 libxtrxll_0.0.1+git20201202.1b6eddf-1.dsc
f44fee81dca73e16a593d25bbf91ca097982fda38ca11c9ba3ed97890268e7ee 57196 libxtrxll_0.0.1+git20201202.1b6eddf.orig.tar.xz
322c264432fa98cea14a12eb45ddecf0dec17e3e01c7a6a6e89cd4d2e21356d9 3136 libxtrxll_0.0.1+git20201202.1b6eddf-1.debian.tar.xz
Files:
8f2db213bceaeed14ea0233c1c37227e 2100 libs optional libxtrxll_0.0.1+git20201202.1b6eddf-1.dsc
8f4d87a6487030cb97a41d3fbd33dd34 57196 libs optional libxtrxll_0.0.1+git20201202.1b6eddf.orig.tar.xz
8711ab829403575c7c46d2f6a2e55972 3136 libs optional libxtrxll_0.0.1+git20201202.1b6eddf-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmNrc+UACgkQTFprqxLS
p67KrQ//TZZant2Q+2nlBbOQr1OKbI0V5Ibaiy0mnyzN0mMMjtDqdgCGIuRd3hpv
WNWVVXmboF3b24Euti1SmZS0MNe7IWsrZLD9ajlYE/E6TjSHLnkeCfahffCfbFMm
2ljDfVwOE3no43hTSCkjKKgrctDBAGHFwcFqqROrVM80eFwz3P9eIOzbtAraNF1s
3tPVZJJlT+27NsFvh3K0OJbU8nBkX87jVLcxONxZWY1OIbDJKZ56TqaUmbviY5yg
eyhav4fIjhl3HeZHB8vDU0+2QfrLsel8N36kJX6EuJP4he9/Gd88NRtjb6OnJ3SO
5XNOIzPLTeW+NdIHqFcuo3e017K2tBJUuRsM1tM/AB6ncRIw2njafYDkSaYHpbif
F5xjGg5cALwm1qRM3XvJoHcUfDFIdXAOLfEP/QT10/nbgEkSr2YieuvM9e1TWfEC
WKizSl+GQuH7yuj6S5ttx0/hAAt8J9AJtaQXGyu5YJjJl0Iu7/RxWWx6IMxgDZM3
cqMKxEvmPRF1oKd1MqI4OLMqKunWPv4RAlIDlF8DJUkNPp71RnjqvKbQpK30dfim
OdMmmgKQRroNJHNQxHiqY4qJ8azrLlVkZxASU4CILcyNLpSClll/WO97wnqd1/rA
YOIS2CmIAuSyafs9iQg94LTDmaJ0oKscgDosr839ajf8jBcCrM8=
=6Bdf
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 17 Dec 2022 07:29:11 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 11:02:37 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.