Bug#1010781: ragel: reproducible-builds: embedded build paths in /usr/bin/ragel
Vagrant Cascadian
vagrant at reproducible-builds.org
Tue May 10 00:36:08 BST 2022
Source: ragel
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 /usr/bin/ragel:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/ragel.html
/build/1st/ragel-6.10/ragel/main.cpp:462
vs.
/build/2/ragel-6.10/2nd/ragel/main.cpp:462
The attached patch to debian/rules fixes this by also setting CXXFLAGS
and passing it to configure.
Alternately, updating the packaging to use dh/debhelper at a recent
compat level would also likely fix this, or passing
-ffile-prefix-map=$(CURDIR)=. in CFLAGS and CXXFLAGS.
With this patch applied, ragel should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Also-pass-CXXFLAGS-to-configure.patch
Type: text/x-diff
Size: 996 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220509/91d66407/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/20220509/91d66407/attachment.sig>
More information about the Reproducible-bugs
mailing list