Your message dated Sun, 08 Jan 2023 19:34:40 +0000
with message-id <e1pebri-008lhn...@fasolo.debian.org>
and subject line Bug#1006865: fixed in apr-util 1.6.1-5.1
has caused the Debian Bug report #1006865,
regarding apr-util: reproducible-builds: build path embedded in 
/usr/bin/apu-1-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1006865: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006865
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: apr-util
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@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
From b9630fd99bc03933dae86606a5dd94429ebf9aa1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: apr-util
Source-Version: 1.6.1-5.1
Done: Holger Levsen <hol...@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 1006...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <hol...@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 ftpmas...@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 <hol...@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-----

--- End Message ---

Reply via email to