Source: postal 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 various binaries: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/postal.html /usr/bin/postal-list /build/1st/postal-0.76+nmu1/expand.cpp:14·(discriminator·2) vs. /build/2/postal-0.76+nmu1/2nd/expand.cpp:14·(discriminator·2) The attached patch to debian/rules fixes this by passing the default CFLAGS to make. Alternately, updating to use dh and a recent debhelper compat version might also fix this. With this patch applied postal should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining postal! live well, vagrant
From c082698686506433efbdacccdccf390bc44895e3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 26 Sep 2022 01:39:23 +0000 Subject: [PATCH] debian/rules: Pass default CFLAGS to make. --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 28345f8..517b3af 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +CFLAGS=$(shell dpkg-buildflags --get CFLAGS) + build: build-stamp build-stamp: dh_testdir @@ -12,7 +14,7 @@ build-stamp: # Add here commands to compile the package. ./configure --prefix=`pwd`/debian/postal/usr --without-openssl - $(MAKE) + $(MAKE) CFLAGS="$(CFLAGS)" touch build-stamp -- 2.37.2
signature.asc
Description: PGP signature