Debian Bug report logs -
#1001872
eiskaltdcpp: reproducible-builds: BuildId differences triggered by RPATH
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Boris Pek <tehnick@debian.org>:
Bug#1001872; Package src:eiskaltdcpp.
(Sat, 18 Dec 2021 01:06: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, Boris Pek <tehnick@debian.org>.
(Sat, 18 Dec 2021 01:06: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: eiskaltdcpp
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/eiskaltdcpp.html
The attached patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via the CMAKEOPTS variable. used in
the dh_auto_configure override, which should use a relative path for
RPATH.
With this patch applied, eiskaltdcpp should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining eiskaltdcpp!
live well,
vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 0f23fcf76636824aae2490c29699e64f711a60b7 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 18 Dec 2021 01:00:06 +0000
Subject: [PATCH] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
CMAKEOPTS variable.
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 0f24cd4..23dfd4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ CMAKEOPTS = -DUSE_ASPELL=ON \
-DXMLRPC_DAEMON=OFF \
-DJSONRPC_DAEMON=ON \
-DCHECK_GTK_DEPRECATED=OFF \
+ -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-DREPLACE_VERSION="$(DEB_VERSION_UPSTREAM)"
EXCLUDE_FILES = usr/share/eiskaltdcpp/emoticons/*/READ_ME.txt \
--
2.34.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:10:01 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.