Source: aribas Severity: normal Tags: patch User: [email protected] Usertags: buildpath X-Debbugs-Cc: [email protected]
Building from a different directory results in a different build id embedded in /usr/bin/aribas: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/aribas.html Build·ID:·7652115b45271e393b31873efede354e1cb36769 vs. Build·ID:·49cfcb42aa13407e5d7e5ce6e50352610d448a78 The attached patch to the upstream src/Makefile fixes this by adding the -ffile-prefix-map argument in CFLAGS, removing the build path before the buildid is calculated. According to my local tests, with this patch applied aribas should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining aribas! live well, vagrant
From a5495a44f199c31eb6f8b9ca50c4790b241b0c6d Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Fri, 27 Jan 2023 22:04:51 +0000 Subject: [PATCH] src/Makefile: Avoid build path changing the build id. https://reproducible-builds.org/docs/build-path/ https://tests.reproducible-builds.org/debian/issues/unstable/build_id_differences_only_issue.html --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 9441456..c26eda1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ # the next two lines. CC = gcc -CFLAGS = -DUNiX -DPROTO -O -v -g +CFLAGS = -DUNiX -DPROTO -O -v -g -ffile-prefix-map=$(CURDIR)=. MEMFLAG1 = -DMEM=16 # MEM may be set to any integer value from 1 to 32. -- 2.39.1
signature.asc
Description: PGP signature

