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

Andrew Bartlett abartlet at samba.org
Mon Mar 7 01:12:18 GMT 2022


I would rather this be discussed and implemented upstream.

For one, the tevent build system is shared with the rest of Samba, and
if possible this should be implemented by default for all 'make
install' runs, just as we do to strip out the bin/default from -rpath.

Andrew Bartlett

On Sun, 2022-03-06 at 16:43 -0800, Vagrant Cascadian 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.
> 
> Alternately, updating to use the CFLAGS passed via dh/debhelper would
> also likely fix this.
> 
> With this patch applied tevent should build reproducibly on
> tests.reproducible-builds.org!
> 
> live well,
>   vagrant
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-samba-maint
-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions



More information about the Pkg-samba-maint mailing list