Debian Bug report logs -
#1001853
nanomsg: reproducible-builds: BuildId differences triggered by RPATH
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Harlan Lieberman-Berg <hlieberman@debian.org>:
Bug#1001853; Package src:nanomsg.
(Fri, 17 Dec 2021 20: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, Harlan Lieberman-Berg <hlieberman@debian.org>.
(Fri, 17 Dec 2021 20: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: nanomsg
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/nanomsg.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, nanomsg should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining nanomsg!
live well,
vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 0f6ae01660591007bcd9ca199aca23c2b3cad2c1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 17 Dec 2021 19:59: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/build_id_differences_only_issue.html
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index a856ca4..f0974c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,6 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake
+
+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, Harlan Lieberman-Berg <hlieberman@debian.org>:
Bug#1001853; Package src:nanomsg.
(Tue, 10 Jan 2023 16:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Harlan Lieberman-Berg <hlieberman@debian.org>.
(Tue, 10 Jan 2023 16:39:02 GMT) (full text, mbox, link).
Message #10 received at 1001853@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 1001853 + pending patch
thanks
I've just uploaded nanomsg 1.1.5+dfsg-1.1 to DELAYED/10:
nanomsg (1.1.5+dfsg-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply a patch by Vagrant Cascadian to address Build-Id differences in
binaries caused by a difference in RPATH. (Closes: #1001853)
The full debdiff is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[nanomsg_1.1.5+dfsg-1.1_amd64.debdiff.txt (text/plain, attachment)]
Added tag(s) pending.
Request was from "Chris Lamb" <lamby@debian.org>
to control@bugs.debian.org.
(Tue, 10 Jan 2023 16:39:05 GMT) (full text, mbox, link).
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1001853.
(Tue, 10 Jan 2023 16:39:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Harlan Lieberman-Berg <hlieberman@debian.org>:
Bug#1001853; Package src:nanomsg.
(Tue, 10 Jan 2023 18:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Harlan Lieberman-Berg <hlieberman@debian.org>.
(Tue, 10 Jan 2023 18:03:06 GMT) (full text, mbox, link).
Message #20 received at 1001853@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 2023-01-10, Chris Lamb wrote:
> I've just uploaded nanomsg 1.1.5+dfsg-1.1 to DELAYED/10:
...
> The full debdiff is attached.
...
> diffstat for nanomsg-1.1.5+dfsg nanomsg-1.1.5+dfsg
>
> changelog | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff -Nru nanomsg-1.1.5+dfsg/debian/changelog nanomsg-1.1.5+dfsg/debian/changelog
> --- nanomsg-1.1.5+dfsg/debian/changelog 2018-10-22 01:17:21.000000000 +0100
> +++ nanomsg-1.1.5+dfsg/debian/changelog 2023-01-10 16:33:43.000000000 +0000
> @@ -1,3 +1,11 @@
> +nanomsg (1.1.5+dfsg-1.1) unstable; urgency=medium
> +
> + * Non-maintainer upload.
> + * Apply a patch by Vagrant Cascadian to address Build-Id differences in
> + binaries caused by a difference in RPATH. (Closes: #1001853)
> +
> + -- Chris Lamb <lamby@debian.org> Tue, 10 Jan 2023 16:33:43 +0000
> +
> nanomsg (1.1.5+dfsg-1) unstable; urgency=medium
>
> * New watch file.
This seems to be missing some diff other than the debian/changelog...
does the upload contain the patch?
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Harlan Lieberman-Berg <hlieberman@debian.org>:
Bug#1001853; Package src:nanomsg.
(Wed, 11 Jan 2023 07:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Harlan Lieberman-Berg <hlieberman@debian.org>.
(Wed, 11 Jan 2023 07:03:05 GMT) (full text, mbox, link).
Message #25 received at 1001853@bugs.debian.org (full text, mbox, reply):
Vagrant Cascadian wrote:
> This seems to be missing some diff other than the debian/changelog...
> does the upload contain the patch?
Great spot; I will fix this right away.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org 🍥 chris-lamb.co.uk
`-
Information forwarded
to debian-bugs-dist@lists.debian.org, Harlan Lieberman-Berg <hlieberman@debian.org>:
Bug#1001853; Package src:nanomsg.
(Wed, 11 Jan 2023 07:45:02 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Harlan Lieberman-Berg <hlieberman@debian.org>.
(Wed, 11 Jan 2023 07:45:03 GMT) (full text, mbox, link).
Message #30 received at 1001853@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 1001853 + pending patch
thanks
I've just RE-uploaded nanomsg 1.1.5+dfsg-1.1 to DELAYED/10:
nanomsg (1.1.5+dfsg-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Apply a patch by Vagrant Cascadian to address Build-Id differences in
binaries caused by a difference in RPATH. (Closes: #1001853)
This was because the previous upload did not include the
actual/required change to debian/rules. The full debdiff, which
reflects this, is attached. Thanks, Vagrant!
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[nanomsg_1.1.5+dfsg-1.1_amd64.debdiff.txt (text/plain, attachment)]
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1001853.
(Wed, 11 Jan 2023 07:45:06 GMT) (full text, mbox, link).
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Sat, 21 Jan 2023 08:51:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sat, 21 Jan 2023 08:51:03 GMT) (full text, mbox, link).
Message #38 received at 1001853-close@bugs.debian.org (full text, mbox, reply):
Source: nanomsg
Source-Version: 1.1.5+dfsg-1.1
Done: Chris Lamb <lamby@debian.org>
We believe that the bug you reported is fixed in the latest version of
nanomsg, 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 1001853@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated nanomsg 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, 10 Jan 2023 16:33:43 +0000
Source: nanomsg
Binary: libnanomsg-dev libnanomsg5 libnanomsg5-dbgsym nanomsg-utils nanomsg-utils-dbgsym
Architecture: source amd64
Version: 1.1.5+dfsg-1.1
Distribution: unstable
Urgency: medium
Maintainer: Harlan Lieberman-Berg <hlieberman@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
libnanomsg-dev - nanomsg development files
libnanomsg5 - high-performance implementation of scalability libraries
nanomsg-utils - nanomsg utilities
Closes: 1001853
Changes:
nanomsg (1.1.5+dfsg-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply a patch by Vagrant Cascadian to address Build-Id differences in
binaries caused by a difference in RPATH. (Closes: #1001853)
Checksums-Sha1:
67aef3320f940255292cb8e08beb52ae4bfd22ad 1993 nanomsg_1.1.5+dfsg-1.1.dsc
338012f34c02edfb52e612d557f4443d85ae8124 256511 nanomsg_1.1.5+dfsg.orig.tar.gz
786923852d8aa4807a0d6dfa2bcdbfe4127670ff 7824 nanomsg_1.1.5+dfsg-1.1.debian.tar.xz
d5a8414aaf395def86b8a877e943190a1c177614 40752 libnanomsg-dev_1.1.5+dfsg-1.1_amd64.deb
381ddeba73c96780c7212406505526150eb37b43 373672 libnanomsg5-dbgsym_1.1.5+dfsg-1.1_amd64.deb
3f931a837d12e634181571e1384e2882e3d806eb 96112 libnanomsg5_1.1.5+dfsg-1.1_amd64.deb
cb8c24d1386ebfa46f7ed5070902a481d2d5eb97 29164 nanomsg-utils-dbgsym_1.1.5+dfsg-1.1_amd64.deb
33a5b5708ed57f4bfc9e45c59ececa44700ed590 18448 nanomsg-utils_1.1.5+dfsg-1.1_amd64.deb
932309439a802e758e2acbe2692d2ee8b4c65c3d 8249 nanomsg_1.1.5+dfsg-1.1_amd64.buildinfo
Checksums-Sha256:
ac45b5ee1628032a80adee91bfe03ab232a3e953714340200b07e9012ed04682 1993 nanomsg_1.1.5+dfsg-1.1.dsc
0b0c3457f9f8476b5635fb3f418c7a144c22f5f7bf633c647d91af722ffe2386 256511 nanomsg_1.1.5+dfsg.orig.tar.gz
3d28dc5bf06a0181d76f3701b1b68afc2f447e5dc51974bce140a43e63bec343 7824 nanomsg_1.1.5+dfsg-1.1.debian.tar.xz
9f9c323133f4930dfb5261c37637770e4ad355cd3dc401ddf22d6535fddd7ea6 40752 libnanomsg-dev_1.1.5+dfsg-1.1_amd64.deb
a12f652adfc369fb151dd7c13261dc49368100b683be5172ed08b9f0c3fd0b97 373672 libnanomsg5-dbgsym_1.1.5+dfsg-1.1_amd64.deb
09b28e7bff8cbcbf8c2f5d6033a87118a98f01510925e432dcf702c6bf68b43a 96112 libnanomsg5_1.1.5+dfsg-1.1_amd64.deb
72cc0e4a00a75b7e22b37524d4d17537ac864b56250490f924cc22ed5ee996d6 29164 nanomsg-utils-dbgsym_1.1.5+dfsg-1.1_amd64.deb
a1d1ecb9ab220fa7a1b9d3d871ebd079a200a415b0d20edb0ce39ed079f25678 18448 nanomsg-utils_1.1.5+dfsg-1.1_amd64.deb
ce9413990cf5d6339a41528972eb9bd64f2a9f893267758d446506d7cba3dd70 8249 nanomsg_1.1.5+dfsg-1.1_amd64.buildinfo
Files:
d3efce3c595eabcc924d70881ea7e76e 1993 libs optional nanomsg_1.1.5+dfsg-1.1.dsc
338637f6cad37c043f68b752e67f57f8 256511 libs optional nanomsg_1.1.5+dfsg.orig.tar.gz
c81fed34889701c05f8cd989503d8d49 7824 libs optional nanomsg_1.1.5+dfsg-1.1.debian.tar.xz
500b8a435fd9131b41a4f093919f4fa0 40752 libdevel optional libnanomsg-dev_1.1.5+dfsg-1.1_amd64.deb
533d3d44a9eeabdf080714b193d2f371 373672 debug optional libnanomsg5-dbgsym_1.1.5+dfsg-1.1_amd64.deb
f2db5ae2d02b293f0203c64b89f1dddd 96112 libs optional libnanomsg5_1.1.5+dfsg-1.1_amd64.deb
3b3f3c07b8348b31a90295724d5ed32d 29164 debug optional nanomsg-utils-dbgsym_1.1.5+dfsg-1.1_amd64.deb
b60aa98a6d164122a0e1580876a4534c 18448 libs optional nanomsg-utils_1.1.5+dfsg-1.1_amd64.deb
22e9262e43ce8d2779f840b50b405bca 8249 libs optional nanomsg_1.1.5+dfsg-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmO+Z7EACgkQHpU+J9Qx
HlhZrg/9GFqj0kYptlUDNTvs6cA+1Bgno3u3Oyt+/YYpg2zmpv50tod6LoCEAOsU
hKp3kqJg9tvlsAzMMvbdwBRlFGVP1a0HPA7BrU6hC8qMQi4zeaE+qM9KP64hxlPY
us58TQxuG8Y6REQoA13fd5dlezU6dJ+y9D0mgQccF18qa/zquE/52iEp8c/lss+Z
+D1mTbVBUTkbk8YnsWxGPGHyh9HBUzT34irW1LoEcwfYv70AvowEYxsbG81IMIr8
XgjbT83F07BgRwXRr+TsU7QWw50tYjI2DB6f0C8BgLXxKIoysoGn+vW/GR12ECK7
+L7SgUN8Zf7GKus2RLUgrBcJCAjq2U5u5XPC/ZUqS03k5+kSypc/QHnY/LBgBqLX
4qSU0W8JWAxPRw8HVur8l2xtrdods52qZ644vEKxJyGuCOmGwpRJi6fbI0wMwm9N
julkf6V3Wy0530W5go0flIf+Xvt+mRo/HUbeYjH/TcN+8wmo0xExlva+VXS0ux/Z
OmLseXEnAQ9OL5niDJC6bzOfRsg3Q5/CKV+smK+kSLwc10rjHBJoPMPPkTCayjnN
AcAvML8eUuAdoAKeuyDA0dHxUgIJT3VMO5FohhpFgmBvEhAk/Qj4/pYra8mPLhiw
Ckx6RHhWW4PhxY8ymrL09u7sZKRuxis9AGFFPF0DR5WGF5BdqqU=
=NNPm
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 23 Feb 2023 07:29:31 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 10:58:41 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.