Bug#1006858: libao: reproducible-builds: build path embedded in various libraries

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Mar 6 22:40:36 GMT 2022


Source: libao
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/libao.html

  /usr/lib/x86_64-linux-gnu/ao/plugins-4/libalsa.so

  /build/1st/libao-1.2.2+20180113/src/plugins/alsa/ao_alsa.c:301
  vs.
  /build/2/libao-1.2.2+20180113/2nd/src/plugins/alsa/ao_alsa.c:30


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 libao should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-in-dh_.patch
Type: text/x-diff
Size: 872 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220306/75663f24/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/reproducible-bugs/attachments/20220306/75663f24/attachment.sig>


More information about the Reproducible-bugs mailing list