Control: found 1010785 0.8.1+debian-8 On 2022-05-09, Vagrant Cascadian wrote: > The build path is embedded in /usr/lib/libgdome.so.0.8.1: > > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gdome2.html > > /build/1st/gdome2-0.8.1+debian/libgdome/gdome.c:65 > vs. > /build/2/gdome2-0.8.1+debian/2nd/libgdome/gdome.c:65 > > > The attached patch to debian/rules fixes this by passing > -ffile-prefix-map in CFLAGS and ensuring CFLAGS is passed to configure. > > Alternately, updating the packaging to use dh/debhelper at a recent > compat level would also likely fix this.
Turns out simply switching to dh/debhelper was not sufficient... Probably adjusting debian/rules with something like: override_dh_auto_configure: CFLAGS="$(CFLAGS) -ffile-prefix-map=$(CURDIR)" dh_auto_configure I'll try and provide an updated patch and confirm the fix at some point... though if someone else does it first I won't complain! :) live well, vagrant > From 65c23dfcbf5fd3a59d4a3141430247225e4d4413 Mon Sep 17 00:00:00 2001 > From: Vagrant Cascadian <vagr...@reproducible-builds.org> > Date: Mon, 9 May 2022 23:06:56 +0000 > Subject: [PATCH] debian/rules: add -ffile-prefix-map to CFLAGS and ensure > CFLAGS are passed in the configure phase. > > --- > debian/rules | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/debian/rules b/debian/rules > index 5e25754..ae361d7 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -11,13 +11,15 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) > INSTALL_PROGRAM += -s > endif > > +CFLAGS += -ffile-prefix-map=$(CURDIR)=. > + > configure: configure-stamp > configure-stamp: > dh_testdir > cp /usr/share/misc/config.sub /usr/share/misc/config.guess . > libtoolize -c -f > autoreconf -f -i > - ./configure --prefix=/usr \ > + CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \ > --mandir=\$${prefix}/share/man \ > --infodir=\$${prefix}/share/info \ > --with-html-dir=\$${prefix}/share/doc/libgdome2-dev > -- > 2.36.0
signature.asc
Description: PGP signature