Hi Vagrant,
On 18 November 2022 at 11:49, Vagrant Cascadian wrote: | Source: xrprof | Severity: normal | Tags: patch | User: [email protected] | Usertags: buildpath | X-Debbugs-Cc: [email protected] | | The build path is embedded in /usr/bin/xrprof: | | https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/xrprof.html | | /build/1st/xrprof-0.3.1/src/xrprof.c:71 | vs. | /build/2/xrprof-0.3.1/2nd/src/xrprof.c:71 | | The attached patch to debian/rules fixes this by passing the default | CFLAGS to dh_auto_build, which includes the -ffile-prefix-map argument. Nice! If it is that simple .. I will happily do so. Thanks for the patch! | According to my local tests, with this patch applied xrprof should build | reproducibly on tests.reproducible-builds.org! | | Thanks for maintaining xrprof! Thanks for looking reproducible builds! I have a few other packages that do not comply but I am a little out of my depth. (I get patches for R builds and some other things to not embed time/date etc.) Best, Dirk | live well, | vagrant | From dcf2ad058ef860eb7f9ac64a83149cbe267662e3 Mon Sep 17 00:00:00 2001 | From: Vagrant Cascadian <[email protected]> | Date: Fri, 18 Nov 2022 19:44:54 +0000 | Subject: [PATCH] debian/rules: Pass default CFLAGS to dh_auto_build. | | --- | debian/rules | 2 +- | 1 file changed, 1 insertion(+), 1 deletion(-) | | diff --git a/debian/rules b/debian/rules | index 0da069d..c8bdedc 100755 | --- a/debian/rules | +++ b/debian/rules | @@ -4,7 +4,7 @@ | dh $@ | | override_dh_auto_build: | - dh_auto_build -- prefix=/usr | + dh_auto_build -- prefix=/usr CFLAGS="$(CFLAGS)" | | override_dh_auto_install: | dh_auto_install -- prefix=/usr | -- | 2.38.1 | | x[DELETED ATTACHMENT signature.asc, application/pgp-signature] -- dirk.eddelbuettel.com | @eddelbuettel | [email protected]

