Debian Bug report logs - #1003368
dino-im: reproducible-builds: BuildId differences triggered by RPATH

version graph

Package: src:dino-im; Maintainer for src:dino-im is Debian XMPP Maintainers <pkg-xmpp-devel@lists.alioth.debian.org>;

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

Date: Sun, 9 Jan 2022 00:51:01 UTC

Severity: normal

Tags: patch

Fixed in version dino-im/0.3.0-1

Done: Martin <debacle@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 XMPP Maintainers <pkg-xmpp-devel@lists.alioth.debian.org>:
Bug#1003368; Package src:dino-im. (Sun, 09 Jan 2022 00:51: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, Debian XMPP Maintainers <pkg-xmpp-devel@lists.alioth.debian.org>. (Sun, 09 Jan 2022 00:51: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: dino-im: reproducible-builds: BuildId differences triggered by RPATH
Date: Sat, 08 Jan 2022 16:46:31 -0800
[Message part 1 (text/plain, inline)]
Source: dino-im
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/dino-im.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, dino-im should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining dino-im!


live well,
  vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 8c3c63418abe865fd8ebfed453004856093b8bae Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 9 Jan 2022 00:26:47 +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 fe5b4e2..a431d6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,6 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 	dh $@ --buildsystem=cmake+ninja
 
 override_dh_auto_configure:
-	SHARED_SIGNAL_PROTOCOL=1 dh_auto_configure -- -DBIN_INSTALL_DIR=/usr/bin -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/dino-im
+	SHARED_SIGNAL_PROTOCOL=1 dh_auto_configure -- -DBIN_INSTALL_DIR=/usr/bin -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/dino-im -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
 
 override_dh_auto_test:
-- 
2.34.1

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

Reply sent to Martin <debacle@debian.org>:
You have taken responsibility. (Sat, 12 Feb 2022 23:36:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sat, 12 Feb 2022 23:36:04 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1003368-close@bugs.debian.org
Subject: Bug#1003368: fixed in dino-im 0.3.0-1
Date: Sat, 12 Feb 2022 23:33:49 +0000
Source: dino-im
Source-Version: 0.3.0-1
Done: Martin <debacle@debian.org>

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

Debian distribution maintenance software
pp.
Martin <debacle@debian.org> (supplier of updated dino-im 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: Sat, 12 Feb 2022 22:07:27 +0000
Source: dino-im
Architecture: source
Version: 0.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian XMPP Maintainers <pkg-xmpp-devel@lists.alioth.debian.org>
Changed-By: Martin <debacle@debian.org>
Closes: 988927 1003368 1004155
Changes:
 dino-im (0.3.0-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1004155)
     Dino now supports calls between two or more people.
   * Add dependency for gstreamer1.0-gtk3 (Closes: #988927)
   * Pass CMAKE_BUILD_RPATH_USE_ORIGIN=ON to make build reproducible,
     thanks to Vagrant Cascadian (Closes: #1003368)
Checksums-Sha1:
 e880783f1bcec81f431fa67a17f521bd313058b9 2622 dino-im_0.3.0-1.dsc
 c6f41a424607d5adee442a16f926e8132c564340 804810 dino-im_0.3.0.orig.tar.gz
 bbd75a87bafc4c215beccbbee2406214775095d1 866 dino-im_0.3.0.orig.tar.gz.asc
 9abf94756944593997581ce9a3bbfd42b8d62c93 9360 dino-im_0.3.0-1.debian.tar.xz
 f488c7fb77a072c9532fa6a457eec95c81d9c67e 18968 dino-im_0.3.0-1_amd64.buildinfo
Checksums-Sha256:
 0fc42bbb31eeb85833d477d85eb8e6f01ff9d4f7d170207ffc2ec2af3b8db882 2622 dino-im_0.3.0-1.dsc
 3970cacf53ad328bb848dd19711826797fb8aed510e9fbf7ffac2ad7cb11dc1e 804810 dino-im_0.3.0.orig.tar.gz
 138927439ba27a76615b6e23f418dd75299b85a3b0e91e34b35285bef861fe25 866 dino-im_0.3.0.orig.tar.gz.asc
 166ed97faffb58288155e6198c9daf93f0e19b1e62b1dff65ebaaa0e462876a5 9360 dino-im_0.3.0-1.debian.tar.xz
 55e8ea6db5b993530b0aff3d37b8b11d2695449d77f8395c2dd4f30574a511e7 18968 dino-im_0.3.0-1_amd64.buildinfo
Files:
 763d724001441138df5c000eb3329a3b 2622 net optional dino-im_0.3.0-1.dsc
 71e0f0570a251ea53000127cc82f9f13 804810 net optional dino-im_0.3.0.orig.tar.gz
 cc9a9a55676af4f663c83d32ffb1fbee 866 net optional dino-im_0.3.0.orig.tar.gz.asc
 ad27af3f352cdbc0f62b001c957ee395 9360 net optional dino-im_0.3.0-1.debian.tar.xz
 0c06eb7b4ac9423c3e0fea2ca4b7d762 18968 net optional dino-im_0.3.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEftHeo0XZoKEY1KdA4+Chwoa5Y+oFAmIIQGoACgkQ4+Chwoa5
Y+pQCg//WR6/Vu96A4yprgiOTS+3LdM9qWy4XQYnNTivgh9fhyoUNZ+D7I1tmBrH
knIWluu3gvI8GNDnFA4m8fKfep5L9QWPIlzPEzh//hJdWwvRjksqFZ6qK9Q0tT6O
2Brh0uetyYbaHVz6/OzWzHscQK9eP4drVUBkbvDpa6elDFJziJMXdWcLEHAgzPGl
zv+n54wSrdKddlrPipC7dAoZ8oJ5U6bBLWQIMlQ5Vkyl9lyOQm/+lhczHwpStFLc
7FNTXjFtsWTlBvUmsp9tQbGf2s6ht9oSh+UG4Iupa66ek+q86WpbOe5jYOr0LkWf
LHCWYif0bmVAEPSYMzmYm3Ded70W59qTEZCVq8BZ5NSMl8N8/Wb7Aa5TQKFjGOQD
ZUXAEztOoNjhZyiF92POQF7hhnGJFnInT6L2fBYuKowx/L7bWAs/D5HCZcW1DgnO
xEpYfNZYKCSjItw4xvebULRFJNCIrNpTaW3OSoDJDVNKZ7wz1eKSmJyF2smLqtFz
MSJoi/2drzpenUeSJiRDiKMS6IpkI0ulW2+nLvVXLIWv1WgKMe9SaYtNhpcaZvjb
PPvcf4A/1atmrLf74GqvemFCoZBqJQpsiJqZE3UrDUgK4k2IGLynylUWxXR1if25
prdWKS5Bbv7fq6kMvFxbdZdCF/It/e2WBOC52SAai8mdgjw/KaY=
=Hw7o
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 19 Mar 2022 07:28:19 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:03:22 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.