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

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Mar 7 00:43:09 GMT 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-ffile-prefix-map-to-CFLAGS.patch
Type: text/x-diff
Size: 708 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220306/81ddb5ed/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220306/81ddb5ed/attachment.sig>


More information about the Pkg-samba-maint mailing list