Debian Bug report logs - #1001856
gr-satellites: reproducible-builds: BuildId differences triggered by RPATH

version graph

Package: src:gr-satellites; Maintainer for src:gr-satellites is Debian Hamradio Maintainers <debian-hams@lists.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Fri, 17 Dec 2021 20:39:02 UTC

Severity: normal

Tags: patch

Fixed in version gr-satellites/4.4.0-2

Done: A. Maitland Bottoms <bottoms@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Hamradio Maintainers <debian-hams@lists.debian.org>:
Bug#1001856; Package src:gr-satellites. (Fri, 17 Dec 2021 20:39:04 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 Hamradio Maintainers <debian-hams@lists.debian.org>. (Fri, 17 Dec 2021 20:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: gr-satellites: reproducible-builds: BuildId differences triggered by RPATH
Date: Fri, 17 Dec 2021 12:37:24 -0800
[Message part 1 (text/plain, inline)]
Source: gr-satellites
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/gr-satellites.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.

With this patch applied, gr-satellites should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining gr-satellites!

live well,
  vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 086234ad24c56999829454f441fca85b97fd5904 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 17 Dec 2021 20:35:10 +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/build_id_differences_only_issue.html
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5b4abec..d382b3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,6 @@
 
 %:
 	dh $@ --with python3 --with numpy3
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
-- 
2.34.1

[signature.asc (application/pgp-signature, inline)]

Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1001856. (Sat, 18 Dec 2021 20:48:03 GMT) (full text, mbox, link).


Message #8 received at 1001856-submitter@bugs.debian.org (full text, mbox, reply):

From: Tony Mancill <noreply@salsa.debian.org>
To: 1001856-submitter@bugs.debian.org
Subject: Bug#1001856 marked as pending in gr-satellites
Date: Sat, 18 Dec 2021 20:46:16 +0000
Control: tag -1 pending

Hello,

Bug #1001856 in gr-satellites 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/gr-satellites/-/commit/3a1089e9dba862159da90378f8be953357d9ce21

------------------------------------------------------------------------
Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure (Closes: #1001856)

From 086234ad24c56999829454f441fca85b97fd5904 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 17 Dec 2021 20:35:10 +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/build_id_differences_only_issue.html
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1001856



Added tag(s) pending. Request was from Tony Mancill <noreply@salsa.debian.org> to 1001856-submitter@bugs.debian.org. (Sat, 18 Dec 2021 20:48:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Hamradio Maintainers <debian-hams@lists.debian.org>:
Bug#1001856; Package src:gr-satellites. (Sat, 18 Dec 2021 20:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to tony mancill <tmancill@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Hamradio Maintainers <debian-hams@lists.debian.org>. (Sat, 18 Dec 2021 20:51:02 GMT) (full text, mbox, link).


Message #15 received at 1001856@bugs.debian.org (full text, mbox, reply):

From: tony mancill <tmancill@debian.org>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 1001856@bugs.debian.org
Subject: Re: Bug#1001856: gr-satellites: reproducible-builds: BuildId differences triggered by RPATH
Date: Sat, 18 Dec 2021 12:48:25 -0800
[Message part 1 (text/plain, inline)]
On Fri, Dec 17, 2021 at 12:37:24PM -0800, Vagrant Cascadian wrote:
> With this patch applied, gr-satellites should build reproducibly on
> tests.reproducible-builds.org!

Thank you for the patch Vagrant.  I've applied it to the packaging repo
so it will be part of the next upload.

Cheers,
tony
[signature.asc (application/pgp-signature, inline)]

Reply sent to bottoms@debian.org (A. Maitland Bottoms):
You have taken responsibility. (Wed, 19 Jan 2022 04:06:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 19 Jan 2022 04:06:03 GMT) (full text, mbox, link).


Message #20 received at 1001856-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1001856-close@bugs.debian.org
Subject: Bug#1001856: fixed in gr-satellites 4.4.0-2
Date: Wed, 19 Jan 2022 04:04:04 +0000
Source: gr-satellites
Source-Version: 4.4.0-2
Done: A. Maitland Bottoms <bottoms@debian.org>

We believe that the bug you reported is fixed in the latest version of
gr-satellites, 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 1001856@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
A. Maitland Bottoms <bottoms@debian.org> (supplier of updated gr-satellites 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: Tue, 18 Jan 2022 22:37:37 -0500
Source: gr-satellites
Architecture: source
Version: 4.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: A. Maitland Bottoms <bottoms@debian.org>
Closes: 1001856 1003989
Changes:
 gr-satellites (4.4.0-2) unstable; urgency=medium
 .
   [ tony mancill ]
   * Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure (Closes: #1001856)
   [ A. Maitland Bottoms ]
   * succeed even with some tests failing on gnuradio 3.10 builds.
     (Closes: #1003989)
Checksums-Sha1:
 dc15512164f4cd80b813f1e615788856cfc24c04 2264 gr-satellites_4.4.0-2.dsc
 7701467e53ca442513b29a7d99b92cfb67c0d036 4368 gr-satellites_4.4.0-2.debian.tar.xz
 d4de9b83a8b2259bf6d13e875290f68cf91ae949 16671 gr-satellites_4.4.0-2_amd64.buildinfo
Checksums-Sha256:
 c065e75ab819f24b0ab807373bcf9d869f4ecfc628ba48b77c4af778a6e3a18d 2264 gr-satellites_4.4.0-2.dsc
 4efe0d082e9a01a709908f248ea96f805575d466102b215ca2c5cbc2aa6383d7 4368 gr-satellites_4.4.0-2.debian.tar.xz
 a2a1fbfc7f7dfdda3c4af387877e20f7200ef88a6629b8df18e2f3746ab50a04 16671 gr-satellites_4.4.0-2_amd64.buildinfo
Files:
 185e337fa74fba85573cd8cca7c2839e 2264 hamradio optional gr-satellites_4.4.0-2.dsc
 01d07f61d4f8e32b2960f073ec4a04ba 4368 hamradio optional gr-satellites_4.4.0-2.debian.tar.xz
 ab0c26a182f3fd0f2e370f162d63beaa 16671 hamradio optional gr-satellites_4.4.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAmHniWYACgkQUEHxiR9E
4JBcBg//dwiqiXV5YYr+bkLGTdAlCEtVKpr6uywE9oFu+JYd0U59wsRokl7dLDEE
IOQ5+UFNe3v6PKq04fvVbVW6wXKM/3vM4bFIDOFLpFFSQ4awfRxwrR/r7UE3ueyK
EJzynWdazytz+k+i7iMEFcmOtKbZ4wg6C4XmGFE4logf/XWdBzshVzlGLp0p1b+y
FNXAZfGQ8EQtsj3jDE5ceOEt9tnIZ8kDHeDyshIehO5w0vxkP5RUUa9Coej0J7OF
GXa+3qD9HvgHq7TQ554AHJOeRKdnhY6Lh5AtjwvXIRhBmvAmE1Misq/q9dtMELBP
ru7MIGJES1HgbbCwbGHodRURaAwm0wehv7rJTki7kEnUesWyOnATpA0xlWy0n2Iw
uU07x3HBsc8/L1Jy4E7YsPy0N87fg5OQwTrlHE3qr9dOdOqVXTQrGclwiM2M6JAm
4vplxOJpB5TpXPZHR5nVkp5NW2w6BTK0oQfJEx4O3745Uc6xChe6Q6ufo/bsBBnt
tXKERsV6XAYTWdL076d3vF+EWXeMrnmpRowe7m9F0RY7E8DG2eMUsR6I4NeRRWOG
5IDui4IhpjvuoS2LJ+JlokVHB3WnBh4AHrvd8J1Arlh6YxfSF/IplAyGWLQd3kVw
XVlyfqlE61oiC15DrNEOtRm7UVvZLRyejBSX2pyxAIAl6XfxjZ0=
=VH8g
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Feb 2022 07:25:52 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:10:04 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.