Bug#974959: dynare: reproducible builds: autotools generated files contain variable paths and data
Vagrant Cascadian
vagrant at reproducible-builds.org
Tue Nov 17 07:20:10 GMT 2020
Source: dynare
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge buildpath randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
In files shipped in dynare, build paths, binary paths and data in
arbitrary order are embedded in a shipped Makefile and data
autom4te.cache/requests file:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/dynare.html
/usr/src/matlab/dynare-matlab/mex/sources/Makefile contains build paths
(e.g. /build/1st/dynare-4.6.2/ vs. /build/2/dynare-4.6.2/2nd/) and when
built on a usrmerge system vs. a non-usermerge system, binary paths that
vary (e.g. /bin/grep vs. /usr/bin/grep).
/usr/src/matlab/dynare-matlab/mex/build/matlab/autom4te.cache/requests
contains what appears to be the same information but in an undefined
order varies between builds.
I *think* these files would need to be regenerated in order to be used
by the end-user, as the build paths or binary paths embedded in them may
not match the system on which they would be used. If that is correct,
the attached patch removes these files using a debian/rules dh_install
override.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Remove-Makefile-and-autom4te.cache-requ.patch
Type: text/x-diff
Size: 1159 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201116/4a8a0efe/attachment-0001.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/20201116/4a8a0efe/attachment-0001.sig>
More information about the Reproducible-bugs
mailing list