[Pkg-samba-maint] Bug#1006863: tevent: reproducible-builds: build path embedded in various libraries

Michael Tokarev mjt at tls.msk.ru
Fri May 6 09:33:29 BST 2022


Control: tag -1 + moreinfo

On Sun, 06 Mar 2022 16:43:09 -0800 Vagrant Cascadian <vagrant at reproducible-builds.org> wrote:
> Source: tevent
> Severity: normal
> Tags: patch
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: buildpath
> X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
> 
> The build path and resulting Build ID for various libraries is embedded:
> 
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tevent.html
> 
>   /usr/lib/x86_64-linux-gnu/libtevent.so.0.11.0
> 
>   /build/1st/tevent-0.11.0/bin/default/../../tevent.c:303
>   vs.
>   /build/2/tevent-0.11.0/2nd/bin/default/../../tevent.c:303
> 
> The attached patch to debian/rules fixes this by passing
> -ffile-prefix-map via CFLAGS in the dh_auto_configure override.

Hm. It looks like this flags is already being in use on unstable these days.

At least I see it in all recent unstable builds, eg:

  https://buildd.debian.org/status/fetch.php?pkg=tevent&arch=amd64&ver=0.12.0-1&stamp=1651527651&raw=0

make[3]: Entering directory '/<<PKGBUILDDIR>>'
CC="x86_64-linux-gnu-gcc" CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat ...

I don't really know where it is coming from (my guess is dpkg-buildflags),
but it looks like this issue has already been solved in a more general
way meanwhile.

Can we perhaps close this bugreport now?

Thanks,

/mjt



More information about the Pkg-samba-maint mailing list