Debian Bug report logs -
#1003995
hipercontracer: reproducible-builds: BuildId differences triggered by RPATH
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 19 Jan 2022 02:12:01 UTC
Severity: normal
Tags: patch
Fixed in version hipercontracer/1.6.5-1
Done: Thomas Dreibholz <dreibh@iem.uni-due.de>
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, Thomas Dreibholz <dreibh@iem.uni-due.de>:
Bug#1003995; Package src:hipercontracer.
(Wed, 19 Jan 2022 02:12: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, Thomas Dreibholz <dreibh@iem.uni-due.de>.
(Wed, 19 Jan 2022 02:12: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: hipercontracer
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/hipercontracer.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, hipercontracer should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining hipercontracer!
live well,
vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From a72e87ec3adfe3ba92e6a021e8e488135886dd19 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 19 Jan 2022 02:04:25 +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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c3db60b..ccba30e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@ --buildsystem=cmake
override_dh_auto_configure:
- dh_auto_configure --
+ dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
override_dh_strip:
dh_strip -phipercontracer
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Thomas Dreibholz <dreibh@iem.uni-due.de>:
You have taken responsibility.
(Thu, 17 Feb 2022 13:09:04 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Thu, 17 Feb 2022 13:09:04 GMT) (full text, mbox, link).
Message #10 received at 1003995-close@bugs.debian.org (full text, mbox, reply):
Source: hipercontracer
Source-Version: 1.6.5-1
Done: Thomas Dreibholz <dreibh@iem.uni-due.de>
We believe that the bug you reported is fixed in the latest version of
hipercontracer, 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 1003995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Dreibholz <dreibh@iem.uni-due.de> (supplier of updated hipercontracer 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: SHA512
Format: 1.8
Date: Wed, 16 Feb 2022 12:47:38 +0100
Source: hipercontracer
Architecture: source
Version: 1.6.5-1
Distribution: unstable
Urgency: medium
Maintainer: Thomas Dreibholz <dreibh@iem.uni-due.de>
Changed-By: Thomas Dreibholz <dreibh@iem.uni-due.de>
Closes: 1003995
Changes:
hipercontracer (1.6.5-1) unstable; urgency=medium
.
* New upstream release.
* CMakeLists.txt fix for reproducible Debian build (Closes: #1003995).
Checksums-Sha1:
f171703aa82fdc3c3fdb7d49a0398b0566bfe428 2436 hipercontracer_1.6.5-1.dsc
e615bb500b55cdd58c3d5d1009671fd3db2b8866 179824 hipercontracer_1.6.5.orig.tar.xz
c9be2876bca58ebbf7cd65cefe577e12900bcf7d 2913 hipercontracer_1.6.5.orig.tar.xz.asc
8ec2f86eed129f2be426a63d2ebebc820a58c41d 75940 hipercontracer_1.6.5-1.debian.tar.xz
a23acb1270ac9e431fd8435a6cd68ee933d60913 6652 hipercontracer_1.6.5-1_source.buildinfo
Checksums-Sha256:
2ce7cce5eee3b49a1397c232f669ddf1f2af55159a973c4b649a7db3e8bccc34 2436 hipercontracer_1.6.5-1.dsc
89bae7236382f4f9fb2d6caec67650caac1e62234f1fabe1f1820bf2405db47b 179824 hipercontracer_1.6.5.orig.tar.xz
6e00d507c779f8099054fff9d3113cc6cc5e195b982e42a0ec0ba4f258df6695 2913 hipercontracer_1.6.5.orig.tar.xz.asc
cddd57d4d4746c9ac30f317db73aa3e786fa598c86df4bc48ff94ea992d265bd 75940 hipercontracer_1.6.5-1.debian.tar.xz
0b1d70ff4a10615259cbb593fa418474210b123b916b08da2aa1be5b14608d55 6652 hipercontracer_1.6.5-1_source.buildinfo
Files:
b303cc15c6ac4e0fdb349c0c5859c754 2436 net optional hipercontracer_1.6.5-1.dsc
41dd6b7d570d6bb2865411e0decffe1e 179824 net optional hipercontracer_1.6.5.orig.tar.xz
18016b606383ef3f51f56c5e95d963b2 2913 net optional hipercontracer_1.6.5.orig.tar.xz.asc
3a1b3483fb983e31da953f72981a7bdc 75940 net optional hipercontracer_1.6.5-1.debian.tar.xz
9060edab9db8899c0caf9a60f21ed740 6652 net optional hipercontracer_1.6.5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmIORYAQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFMs4C/96/qJR91la5pU3Vkb0BJ616xcK+d/eNHhQ
hRqS7P6cuRrFZPNA2gC6vjNb5j16MYLw9sh5VBgr2cbaK5YwKOPD87XHGrFaELly
JOV7yGESsfqTKhvPsvE+uWL1isfBe2mjDZbyw7HmU2z+2tefaNZM3EKhQucyBVAn
+9Huzi3MqUEzyFDFVXWTo2zzMvCjR0Vl/WmqMApbII/sM0IUj+uzojvnRBhEhvTZ
W4eQzsTQmlI4T2oYKw042Fcg+aDzUszQzi4AQO1O6PM0yiecjL1BVLblqGII+kPX
GrUboELXuGKIrYujGzB79qjvRnpkg3RnbJHhMV4GNxd2WAVQbKizcaBd+0FeiGN5
6wikvWmnV+dX6HWiW/s7q0XuF2LcI23ahYgRGIkXYsgbyAuE9sUc+/HVseNLp5qc
apWw/W5y+hrVxUZs0/xRK2XtI4Lu7mfFiSbiqqykSxIfgj/iqR/ToXNUZ2R9pPQP
JOKrdfCypu/NYhO205aFhL0SnWYea0A=
=Gu0l
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 22 Mar 2022 07:28:57 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:04:00 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.