Debian Bug report logs -
#1006865
apr-util: reproducible-builds: build path embedded in /usr/bin/apu-1-config
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#1006865; Package src:apr-util.
(Mon, 07 Mar 2022 01:33: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 Apache Maintainers <debian-apache@lists.debian.org>.
(Mon, 07 Mar 2022 01:33:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: apr-util
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 /usr/bin/apu-1-config:
│ │ │ ├── ./usr/bin/apu-1-config
...
│ │ │ │ -APU_SOURCE_DIR="/tmp/reprotest.jdjFQN/const_build_path"
│ │ │ │ -APU_BUILD_DIR="/tmp/reprotest.jdjFQN/const_build_path/debian/build"
│ │ │ │ +APU_SOURCE_DIR="/tmp/reprotest.jdjFQN/build-experiment-1"
│ │ │ │ +APU_BUILD_DIR="/tmp/reprotest.jdjFQN/build-experiment-1/debian/build"
The attached patch fixes this by replacing the build path with
"BUILDPATH" from debian/rules in the dh_auto_install override.
With this patch applied apr-util should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining apr-util!
live well,
vagrant
[0001-debian-rules-Remove-the-build-path-from-apt-1-config.patch (text/x-diff, inline)]
From b9630fd99bc03933dae86606a5dd94429ebf9aa1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 7 Mar 2022 01:23:37 +0000
Subject: [PATCH] debian/rules: Remove the build path from apt-1-config.
https://reproducible-builds.org/docs/build-path/
---
debian/rules | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules b/debian/rules
index 6b0ed29..510610c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -105,6 +105,8 @@ endif
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
perl -p -i -e "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libaprutil-1.la
+ # Remove the buildpath: https://reproducible-builds.org/docs/build-path/
+ perl -p -i -e "s,$(CURDIR),BUILDPATH," debian/tmp/usr/bin/apu-1-config
override_dh_strip:
dh_strip --dbgsym-migration='libaprutil1-dbg (<= 1.6.1-3)'
--
2.35.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Holger Levsen <holger@debian.org>:
You have taken responsibility.
(Sun, 08 Jan 2023 19:39:05 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sun, 08 Jan 2023 19:39:05 GMT) (full text, mbox, link).
Message #10 received at 1006865-close@bugs.debian.org (full text, mbox, reply):
Source: apr-util
Source-Version: 1.6.1-5.1
Done: Holger Levsen <holger@debian.org>
We believe that the bug you reported is fixed in the latest version of
apr-util, 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 1006865@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated apr-util 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: Thu, 29 Dec 2022 19:37:54 +0100
Source: apr-util
Architecture: source
Version: 1.6.1-5.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 1006865
Changes:
apr-util (1.6.1-5.1) unstable; urgency=medium
.
* Non-maintainer upload by the Reproducible Builds team.
* debian/rules: Remove the build path from apt-1-config, based on a patch by
Vagrant Cascadian. Closes: #1006865.
Checksums-Sha1:
e69ffa6d8ade880ceecd23b7abf8b8933eaa7fb2 2762 apr-util_1.6.1-5.1.dsc
619ac1190b6ae54b5981cfedfeb8f2de98b35d8c 342204 apr-util_1.6.1-5.1.debian.tar.xz
e734d6b831ff55dfc784daf80e1a96be4d895adc 7666 apr-util_1.6.1-5.1_source.buildinfo
Checksums-Sha256:
5b130871bb06fd84a821a68b1aaf295f257c549c24cf589446b5eb976803c8a6 2762 apr-util_1.6.1-5.1.dsc
0a6e2615eabe0b28f90493efe08643cb11a44ac8960559137c8db7a3cb15fa83 342204 apr-util_1.6.1-5.1.debian.tar.xz
dbf4fed8e0d5ff688810c9d77c8836cc9a59d51937270ccc0c6ba38244a60a7b 7666 apr-util_1.6.1-5.1_source.buildinfo
Files:
c7183242b9a24d627c1d4ad2deab40e7 2762 libs optional apr-util_1.6.1-5.1.dsc
c04d7a429fd46eadccfef4fa2e524d7f 342204 libs optional apr-util_1.6.1-5.1.debian.tar.xz
a0c47a1ab73bbf7dd70a2f30903139d9 7666 libs optional apr-util_1.6.1-5.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmOt3vIACgkQCRq4Vgaa
qhyEvA//bRl9x+JiqiLQGyoGbzi6eBQMnJuLgWnRlMwkelDzuJshWks3lPRtCiVh
qTYZhCovERSdAjpmoM+wLscmrbLHeSpiumI7C3j03RuMG1pHYeTb8+3I+lNwv/dt
C8rP555oyCLSTXIOsXZpm3RWXeqOAtGTg6NCrnlARylNIshh97zoDJyBAu6ZiJji
YfsHky6kzO3ovyY22JA0FLqaBZxFl9+FOyNh4Gnire5ioILvoeHd9fb6tGbmmgTc
qILZbRFojakoVMvTWoCxSsSQ/wJodhdjdVw74ZAiQmHVEQo8EQmtsLDD+dWn4RB1
uLwqVNYlmOuQZPsz7kJEN77/EVhohDrpzH+0gEBn3YaRCIrP4kGiehXm4/zNZN+f
JBGgAg4uxbpCZUMsT1xG5Gy+stXcBxAh6cXJuAb41xuP4A0B/liUbDVjZjzHnytc
EqCKCs/5k8ERXXT+QtgizFqb+s5AwFgfYyh7033GLdP4TgJY7CfnggT8y/sHumPF
nVG8cjnshxMPmPFypDgQUQ1Lk4LZ/WoLzANQusd5nLglR6geElYHr+MwOFZBa/Kn
n+xW88CwQ6557/VGruSTKbRjDXQctXoqxueHKvfHSwS91VvaB2voyGJ2HwgPzh5r
162RLbdc/VRiQne0+4+0mL+rPw9V31jk/8JxVBcTd7CHA8fw9jY=
=fINf
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 09 Mar 2023 07:31:21 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:13:47 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.