Debian Bug report logs -
#1003803
paho.mqtt.c: reproducible-builds: BuildId differences triggered by RPATH
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 16 Jan 2022 00:00:02 UTC
Severity: normal
Tags: patch
Fixed in version paho.mqtt.c/1.3.12-1
Done: Roman Ondráček <mail@romanondracek.cz>
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, Roman Ondráček <roman@romanondracek.cz>:
Bug#1003803; Package src:paho.mqtt.c.
(Sun, 16 Jan 2022 00:00: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, Roman Ondráček <roman@romanondracek.cz>.
(Sun, 16 Jan 2022 00:00:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: paho.mqtt.c
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/paho.mqtt.c.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, paho.mqtt.c should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining paho.mqtt.c!
live well,
vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 20edacbf62c7869bc5461660313149644040773f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 15 Jan 2022 23:51:40 +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 3acf17b..8c24767 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_auto_configure:
dh_auto_configure -- -DPAHO_WITH_SSL=TRUE -DPAHO_ENABLE_TESTING=FALSE \
- -DPAHO_BUILD_STATIC=TRUE -DPAHO_BUILD_SAMPLES=TRUE
+ -DPAHO_BUILD_STATIC=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
override_dh_auto_install:
dh_auto_install
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Roman Ondráček <mail@romanondracek.cz>:
You have taken responsibility.
(Wed, 01 Mar 2023 01:36:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Wed, 01 Mar 2023 01:36:03 GMT) (full text, mbox, link).
Message #10 received at 1003803-close@bugs.debian.org (full text, mbox, reply):
Source: paho.mqtt.c
Source-Version: 1.3.12-1
Done: Roman Ondráček <mail@romanondracek.cz>
We believe that the bug you reported is fixed in the latest version of
paho.mqtt.c, 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 1003803@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roman Ondráček <mail@romanondracek.cz> (supplier of updated paho.mqtt.c 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, 28 Feb 2023 23:09:12 +0100
Source: paho.mqtt.c
Architecture: source
Version: 1.3.12-1
Distribution: unstable
Urgency: medium
Maintainer: Roman Ondráček <mail@romanondracek.cz>
Changed-By: Roman Ondráček <mail@romanondracek.cz>
Closes: 1003803 1023862
Changes:
paho.mqtt.c (1.3.12-1) unstable; urgency=medium
.
[ Vagrant Cascadian ]
* debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure
override. (Closes: #1003803)
.
[ Roman Ondráček ]
* New upstream version 1.3.12 (Closes: #1023862)
* debian/control: update Standards-Version to 4.6.2.0
* debian/symbols: fix Build-Depends-Package
* Release version 1.3.12-1
Checksums-Sha1:
b0a215400383b3c5d83b1dc2f9191b0e749c378a 2137 paho.mqtt.c_1.3.12-1.dsc
34dc18d5df21d816276875da2fde314569865e14 3622818 paho.mqtt.c_1.3.12.orig.tar.gz
6a8a7305cfeee3e1cfff43fce314078b75bae408 10668 paho.mqtt.c_1.3.12-1.debian.tar.xz
7ea69318c407ada044f048674d41c8ea82253c14 7679 paho.mqtt.c_1.3.12-1_amd64.buildinfo
Checksums-Sha256:
f8d0470b61810ecedbd0f4517a03c4fd48e0e3c5fb8cfc7e26dd0e5ea172f4ae 2137 paho.mqtt.c_1.3.12-1.dsc
e541e2ebd0a17a6e2fac2af9e391788f17c810c701232117705411d456cdc633 3622818 paho.mqtt.c_1.3.12.orig.tar.gz
515c0bcbf325c14ec0c63a2a536ad2e66ee46d5daa408ba87bdff07b00ad14b1 10668 paho.mqtt.c_1.3.12-1.debian.tar.xz
81ffdb2abf29b7adf519fe9eb6bd8a08a7e3d5a43ed92846a290d4e6ca43c6b9 7679 paho.mqtt.c_1.3.12-1_amd64.buildinfo
Files:
88a88386da9bec7abce8133fa8bd2598 2137 libs optional paho.mqtt.c_1.3.12-1.dsc
ca0c3666cf91dcb8e7e65de9e502bf0a 3622818 libs optional paho.mqtt.c_1.3.12.orig.tar.gz
c6b995e973237616808cd9561cc4e2b6 10668 libs optional paho.mqtt.c_1.3.12-1.debian.tar.xz
b1b8dca5365942a49feb7cdef91f0215 7679 libs optional paho.mqtt.c_1.3.12-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAmP+ozUACgkQMiR/u0Ct
H6bPkA/+KS8ijHi81L6iLuKfjZWnNSzBlhUOHVEowhQQVSSjRV3f+vfZk9hqxZQo
2Me8MUq2FAxJlIVXQ8p8h0C6HGj7apPdL4bWnK4W0YnO32UQjrMIxKFiCuFg3279
pDcB0HaL9TQoBVUjvjwYEwd7wHC0ouGMgQ4ulm6iYjRZCKDiQdVq3VYc2Y3BgI0W
wteLKzdkDcO+x6ks6gD5hTKWUaG1/3JssUSiN6mNH0bEA7oj0CgJJRcjBfesX3bS
UI4u9WFNrcU59o+4Kr1tvX4NgapRFANJWZet399FRZ9o6PzZRaVtYKGadzCop810
yl9/WYNHkmetErJ72Wqzb6u9rVfuCVUy8ovjrRaoYDTEZBc+Yzma85urgSJVCLTc
QcvLDoCiXlq3gKdiJ2fKJ+LdEE+Xl7ompR3a1/lSfBqLeIBpVRWuTheIintFj9SW
Y2anKtRJ8rDmSK6ir/TQs1Xb/3Zne0K+kd+CUS00Fa9h6g2tS5LkATaq+/+y/9/w
cyC/uDijeh76xjhJXI746IM2e4UFieVtkBBJ21dgb7G9d6Aek1qaSUHrQ1xaCeZW
v/EQULm3rY/688MCTACS9TJaUfi9x34yQ2SQJCzG2+KDUnLtC+dhebEYM69zylYo
w1jwyQUj3zBZ+u300S02PLn3MVpBZ5jOw/cZ3BDgp5vEX+1QcIY=
=Dojw
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 08 Apr 2023 07:24: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:03:57 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.