Debian Bug report logs - #1003919
apulse: reproducible-builds: BuildId differences triggered by RPATH

version graph

Package: src:apulse; Maintainer for src:apulse is Mirek Kratochvil <exa.exa@gmail.com>;

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

Date: Tue, 18 Jan 2022 05:09:01 UTC

Severity: normal

Tags: patch

Fixed in version apulse/0.1.13-2

Done: Mirek Kratochvil <exa.exa@gmail.com>

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, Mirek Kratochvil <exa.exa@gmail.com>:
Bug#1003919; Package src:apulse. (Tue, 18 Jan 2022 05:09: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, Mirek Kratochvil <exa.exa@gmail.com>. (Tue, 18 Jan 2022 05:09:03 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: apulse: reproducible-builds: BuildId differences triggered by RPATH
Date: Mon, 17 Jan 2022 21:07:00 -0800
[Message part 1 (text/plain, inline)]
Source: apulse
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/apulse.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, apulse should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining apulse!

live well,
  vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From eb60043b8fabdf52639e816ef888fdbbb72eee43 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 18 Jan 2022 05:01:38 +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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 9fd8e1a..81d0cbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_makeshlibs:
 # defaulted by debhelper for cmake.
 override_dh_shlibdeps:
 	dh_shlibdeps -l/usr/lib/${DEB_HOST_MULTIARCH}/apulse
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
-- 
2.34.1

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

Information forwarded to debian-bugs-dist@lists.debian.org, Mirek Kratochvil <exa.exa@gmail.com>:
Bug#1003919; Package src:apulse. (Wed, 26 Jan 2022 09:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Miroslav Kratochvil <exa.exa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Mirek Kratochvil <exa.exa@gmail.com>. (Wed, 26 Jan 2022 09:39:02 GMT) (full text, mbox, link).


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

From: Miroslav Kratochvil <exa.exa@gmail.com>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>
Cc: 1003919@bugs.debian.org
Subject: Re: Bug#1003919: apulse: reproducible-builds: BuildId differences triggered by RPATH
Date: Wed, 26 Jan 2022 10:35:30 +0100
Hello!

Many thanks for reporting, I pushed this to github repo. I will update
debhelper number when it's out of experimental.

Should we release this as 0.1.13-2 ?

Best,
-mk



Information forwarded to debian-bugs-dist@lists.debian.org, Mirek Kratochvil <exa.exa@gmail.com>:
Bug#1003919; Package src:apulse. (Fri, 28 Jan 2022 16:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Mirek Kratochvil <exa.exa@gmail.com>. (Fri, 28 Jan 2022 16:33:04 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Miroslav Kratochvil <exa.exa@gmail.com>
Cc: 1003919@bugs.debian.org
Subject: Re: Bug#1003919: apulse: reproducible-builds: BuildId differences triggered by RPATH
Date: Fri, 28 Jan 2022 08:28:36 -0800
[Message part 1 (text/plain, inline)]
On 2022-01-26, Miroslav Kratochvil wrote:
> Many thanks for reporting, I pushed this to github repo. I will update
> debhelper number when it's out of experimental.
>
> Should we release this as 0.1.13-2 ?

Well, of course I'm biased towards reproducible builds... so my answer
is yes! :)

But it is really your call if that alone warrants an upload, or if you
want to wait till there are additional changes to the package.


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

Information forwarded to debian-bugs-dist@lists.debian.org, Mirek Kratochvil <exa.exa@gmail.com>:
Bug#1003919; Package src:apulse. (Fri, 28 Jan 2022 18:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Miroslav Kratochvil <exa.exa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Mirek Kratochvil <exa.exa@gmail.com>. (Fri, 28 Jan 2022 18:27:03 GMT) (full text, mbox, link).


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

From: Miroslav Kratochvil <exa.exa@gmail.com>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>
Cc: 1003919@bugs.debian.org
Subject: Re: Bug#1003919: apulse: reproducible-builds: BuildId differences triggered by RPATH
Date: Fri, 28 Jan 2022 19:22:30 +0100
> > Should we release this as 0.1.13-2 ?
>
> Well, of course I'm biased towards reproducible builds... so my answer
> is yes! :)

True, let's do it. I'll have the upload close this bug so that this
gets visibly solved. :]

-mk



Reply sent to Mirek Kratochvil <exa.exa@gmail.com>:
You have taken responsibility. (Wed, 02 Feb 2022 14:39:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 02 Feb 2022 14:39:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1003919-close@bugs.debian.org
Subject: Bug#1003919: fixed in apulse 0.1.13-2
Date: Wed, 02 Feb 2022 14:34:43 +0000
Source: apulse
Source-Version: 0.1.13-2
Done: Mirek Kratochvil <exa.exa@gmail.com>

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

Debian distribution maintenance software
pp.
Mirek Kratochvil <exa.exa@gmail.com> (supplier of updated apulse 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: Fri, 28 Jan 2022 19:23:17 +0100
Source: apulse
Architecture: source
Version: 0.1.13-2
Distribution: unstable
Urgency: medium
Maintainer: Mirek Kratochvil <exa.exa@gmail.com>
Changed-By: Mirek Kratochvil <exa.exa@gmail.com>
Closes: 1003919
Changes:
 apulse (0.1.13-2) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure
     to make the builds reproducible. (Closes: #1003919)
Checksums-Sha1:
 ab9117ced080b5da7f1cfe05986256e07be80487 1726 apulse_0.1.13-2.dsc
 1ce4f46d2973f028250af86214a0c380af021a02 4172 apulse_0.1.13-2.debian.tar.xz
 ac4fbdfc0456fa023a40e09a183d90af5772eff2 7385 apulse_0.1.13-2_source.buildinfo
Checksums-Sha256:
 3e81ea74a5cf016dfde4a2654d302ef93378b25f469988d205f61d933a8ee500 1726 apulse_0.1.13-2.dsc
 6fe487728e257996ca8dda0ccfeeae3ea9fc34ce13869cc5ef10c9761a93b6b6 4172 apulse_0.1.13-2.debian.tar.xz
 80c5f6e0994772ac17ecc69b5fb9fa7a9a660573b99f0f15aa6cdc318c551c14 7385 apulse_0.1.13-2_source.buildinfo
Files:
 505870b8c33f3354d1ae90cde9ebaebf 1726 sound optional apulse_0.1.13-2.dsc
 021416733a3cb0b854a0f847f020c46d 4172 sound optional apulse_0.1.13-2.debian.tar.xz
 ebc2152ba99557f0e1506257c33560d4 7385 sound optional apulse_0.1.13-2_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmH6i44QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFFVyDADYARcuwcIM9kUllTNJnvEpOJr64U3/XFxB
TLYwJfGpvE5PH4FDF4vZERZ7G8eeQCbr+LTM5ec/LW+pIkV1NPBUxfbLI5yv/62S
ymW7hDnNcpMyUPkBJNDm0tj2dbq4w3+Ft7C3F84k0C9k0SS8eDQHiXXr004n2wQP
7TX6sGGt9FtF8C69C5itNvemLVNkNFq8TXk7xPpalt4T4BEU58wc+0OpGCiCNN0b
pb9pkHAjEHsYHVnO/q2qvIsR6fivm6jNBaJ4w6PLkbDFX3MbaL1oKmYb2hn0w/JB
m7PpePfQZjyD1yfvndPFNWjTnO43XntbUiuSlJZRZ7VgUoXlmZiVjBIDsF3zCffp
+f/FgoktBulK4l+IPRmDGswiNlKJwQ0BoYPEcqLdm8HAdPhD4Nn6x/BqtTTdtsfF
LZALKLkUVunRHMnS543T84/ZxR1+b35ry+YWMF0JcHDXugLfxRlaIz/E7Kwtkh1a
VluKqY4i1WP0dYG++rtAjpOsQp4EaRw=
=GTwX
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 08 Mar 2022 07:25:46 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:10 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.