Debian Bug report logs -
#1010043
serf: reproducible-builds: Embedded build path in libserf-1.so.*
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, James McCoy <jamessan@debian.org>:
Bug#1010043; Package src:serf.
(Sat, 23 Apr 2022 02:57: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, James McCoy <jamessan@debian.org>.
(Sat, 23 Apr 2022 02:57: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: serf
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The build path is embedded in libserf-1.so.1.3.0:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/serf.html
/usr/lib/x86_64-linux-gnu/libserf-1.so.1.3.0
/build/1st/serf-1.3.9/debian/tmp/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu/mit-krb5
vs.
/build/2/serf-1.3.9/2nd/debian/tmp/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu/mit-krb5
The attached patch fixes this by passing a relative path to LIBDIR in
the dh_install override.
With this patch applied serf should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining serf!
live well,
vagrant
[0001-debian-rules-Pass-relative-path-to-LIBDIR-in-dh_auto.patch (text/x-diff, inline)]
From b786fc2b1044674187514dd9cfd13bb285579f3d Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 23 Apr 2022 02:42:49 +0000
Subject: [PATCH] debian/rules: Pass relative path to LIBDIR in dh_auto_install
override.
The value of LIBDIR is included in the binary, breaking reproducible
builds when built in different paths. The build directory is not
likely to be present on most systems.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 29038c8..028337e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,7 +47,7 @@ override_dh_auto_clean:
scons -c
override_dh_auto_install:
- scons $(silent) install PREFIX=$(CURDIR)/debian/tmp/usr LIBDIR=$(CURDIR)/debian/tmp$(libdir)
+ scons $(silent) install PREFIX=$(CURDIR)/debian/tmp/usr LIBDIR=debian/tmp$(libdir)
chrpath -d $(CURDIR)/debian/tmp/$(libdir)/*.so.*
override_dh_installchangelogs:
--
2.35.2
[signature.asc (application/pgp-signature, inline)]
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1010043.
(Wed, 11 May 2022 21:48:04 GMT) (full text, mbox, link).
Message #8 received at 1010043-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #1010043 in serf 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/jamessan/serf/-/commit/5156ac8190a55d4c8e744f12bc945625340150c5
------------------------------------------------------------------------
debian/rules: Pass relative path to LIBDIR in dh_auto_install override.
The value of LIBDIR is included in the binary, breaking reproducible
builds when built in different paths. The build directory is not
likely to be present on most systems.
Closes: #1010043
Signed-off-by: James McCoy <jamessan@debian.org>
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1010043
Added tag(s) pending.
Request was from James McCoy <noreply@salsa.debian.org>
to 1010043-submitter@bugs.debian.org.
(Wed, 11 May 2022 21:48:04 GMT) (full text, mbox, link).
Reply sent
to James McCoy <jamessan@debian.org>:
You have taken responsibility.
(Sat, 14 May 2022 22:45:04 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sat, 14 May 2022 22:45:05 GMT) (full text, mbox, link).
Message #15 received at 1010043-close@bugs.debian.org (full text, mbox, reply):
Source: serf
Source-Version: 1.3.9-11
Done: James McCoy <jamessan@debian.org>
We believe that the bug you reported is fixed in the latest version of
serf, 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 1010043@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <jamessan@debian.org> (supplier of updated serf 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, 14 May 2022 16:57:22 -0400
Source: serf
Architecture: source
Version: 1.3.9-11
Distribution: unstable
Urgency: medium
Maintainer: James McCoy <jamessan@debian.org>
Changed-By: James McCoy <jamessan@debian.org>
Closes: 1006572 1010043
Changes:
serf (1.3.9-11) unstable; urgency=medium
.
[ James McCoy ]
* Fix build with OpenSSL 3 (Closes: #1006572)
* Ignore test failures until upstream fixes their tests with OpenSSL 3
* Declare compliance with Policy 4.6.1, no changes needed
.
[ Simon Chopin ]
* d/p/bio-ctrl.patch: imported from FreeBSD, fixes TLS issues with OpenSSL3
(LP: #1956040)
.
[ Vagrant Cascadian ]
* debian/rules: Pass relative path to LIBDIR in dh_auto_install override.
(Closes: #1010043)
Checksums-Sha1:
f34132beb2314eb223948501d4970393e0aa1068 2157 serf_1.3.9-11.dsc
e6b0cf758da8d04745238a1de049589e17d82d92 72992 serf_1.3.9-11.debian.tar.xz
bf15ff31724b8b5373f7b39dd01c70ef3d76115c 7756 serf_1.3.9-11_amd64.buildinfo
Checksums-Sha256:
67a9abf26c6fddee8358d671e138369dd58992f19d184fd6b687c213f5ea0595 2157 serf_1.3.9-11.dsc
ad021b52dd04241d6af2e8c0dc88e7054d54c97ae4062fd465a86a21b9c7d4e2 72992 serf_1.3.9-11.debian.tar.xz
2561fb51e7a33d67c3438506d4bff6870480aa54f14d4905769bca99bca5558e 7756 serf_1.3.9-11_amd64.buildinfo
Files:
00a9e3276d768c1c9fb9b816a5801164 2157 libs optional serf_1.3.9-11.dsc
ed8c05fe476413f8dbb2a13765d86365 72992 libs optional serf_1.3.9-11.debian.tar.xz
0ee496a79fe48e878d3dc976e062925f 7756 libs optional serf_1.3.9-11_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmKAJ5hfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9uFuw/+LpWfrL/EezYfbzczQpCVG3Ra2h8d0BN7pCj/LuORdPGvintHUgcQQD3R
9k+7F/YhL72wxrG0JEogFAMyv+6jMik/lPSF+Lriqq6xdANq8oNLAlmFZFtnBhHI
BDLw73TLeSJxWmAYe29F4kRxTpfnIOB9cyI93Uu1HZE4WTa+Mf3WTxYcCde78ais
OiukrQNxOJ+SYp5VJpBvTmDCpwr460ac8TJqbYgiC8K8xaDcLh/Otxhqocha2Gwu
jFl21rLtWFsq4BPhyt70yGO9qVmc5VmKob48h3R+0hhE8mD5ADtrOdNrBiURHvy8
ICoRy7MWDgnrugXfPAyy9mdQxySOxdiaAKy94leFiejxeOlQEiE9iVQ0x00MwozC
v3QUGiu97aM/uIy0S6qSDxsPsS2fRmNjaenUdze3gKvbc29PkrH6b1VFGWOnOCDb
48QyM69EUrLJuvXYxSd4D1pnKvKreaHvIy4fsJ14ELMx1kiReb59LcoI6NKXUuxd
Fm5/M3/luty/TG0CBHqVW1JeQBUt3t8GjmLZ0AjW2Gx2tYxcs2D2nFzVHD7cY0G6
jJCPrYDevfG0y+cZXCc1Gbpy0SKBBeOiT5Hek2BDJ26+jMDqiyN5IIotaIJpYlNZ
AGBkxnibqDvBNJYIsh1y4AuORPLtG1Wd+4BP4fLM4nT1ApIuxEo=
=MAM9
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 09 Jul 2022 07:28:24 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:41:38 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.