Source: z80asm 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/z80asm: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/z80asm.html /build/1st/z80asm-1.8/z80asm.c:105 vs. /build/2/z80asm-1.8/2nd/z80asm.c:105 The attached patch to debian/rules fixes this by adding a dh_auto_build override that passes the default CFLAGS. Alternately, this might be fixed by updating to a newer debhelper compat level. According to my local tests, with this patch applied z80asm should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining z80asm! live well, vagrant
From 5877483120c8c557aa53db6bcddd93af356e5724 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 27 Sep 2022 20:02:12 +0000 Subject: [PATCH] debian/rules: Pass default CFLAGS via dh_auto_build override. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index cbe925d..4a1ed37 100755 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,6 @@ #!/usr/bin/make -f %: dh $@ + +override_dh_auto_build: + dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" -- 2.37.2
signature.asc
Description: PGP signature