Source: ssocr 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/ssocr: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/ssocr.html /build/1st/ssocr-2.22.1/ssocr.c:54 vs. /build/2/ssocr-2.22.1/2nd/ssocr.c:54 The attached patch to debian/rules fixes this by adding a dh_auto_build override that passes the default CFLAGS as CCOPTIONS. According to my local tests, with this patch applied, ssocr should *almost* build reproducibly on tests.reproducible-builds.org! (I'll submit a patch also for the remaining timestamp issue) Thanks for maintaining ssocr! live well, vagrant
From 085cdf7a5b78f15adf72cd5dcdfe4007874e5cd7 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 9 Oct 2022 23:10:43 +0000 Subject: [PATCH 2/2] debian/rules: Add dh_auto_build override to explicitly pass the default CFLAGS. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index f864541..edda100 100755 --- a/debian/rules +++ b/debian/rules @@ -13,3 +13,6 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_install: @echo Do not use install target of upstream Makefile + +override_dh_auto_build: + dh_auto_build -- CFLAGS="$(CFLAGS)" -- 2.37.2
signature.asc
Description: PGP signature