Bug#1020743: pure-ftpd: reproducible-builds: Embedded build path in various binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Sep 25 22:57:50 BST 2022
Source: pure-ftpd
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 is embedded in various binaries:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/pure-ftpd.html
/usr/bin/pure-pw
/build/1st/pure-ftpd-1.0.50/src/alt_arc4random.c:149
vs.
/build/2/pure-ftpd-1.0.50/2nd/src/alt_arc4random.c:149
The attached patch fixes this in debian/rules by passing
-ffile-prefix-map in in CFLAGS.
With this patch applied pure-ftpd should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining pure-ftpd!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-ffile-prefix-map-to-CFLAGS-to-avoid.patch
Type: text/x-diff
Size: 1013 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/b5cf6d37/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/20220925/b5cf6d37/attachment.sig>
More information about the Reproducible-bugs
mailing list