Bug#995745: kannel: reproducible-builds: Build path embedded in /usr/bin/gw-config

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Oct 4 23:38:35 BST 2021


Source: kannel
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 file /usr/bin/gw-config embeds the build path, as it embeds CFLAGS
which often contains the build path passed via -ffile-prefix-map or
-fdebug-prefix-map:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/kannel.html

  -I/usr/include/kannel·-g·-O2·-ffile-prefix-map=/build/1st/kannel-1.4.5=.
vs.
  -I/usr/include/kannel·-g·-O2·-ffile-prefix-map=/build/2/kannel-1.4.5/2nd=.

The attached patch strips the build path from gw-config in
debian/rules after the files are installed to debian/tmp.


With this patch applied, kannel should become reproducible on
tests.reproducible-builds.org.


Thanks for maintaining kannel!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Strip-out-the-build-directory-from-gw-c.patch
Type: text/x-diff
Size: 1030 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211004/e2350de9/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/20211004/e2350de9/attachment.sig>


More information about the Reproducible-bugs mailing list