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
signature.asc
Description: PGP signature