Bug#933838: superlu-dist: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Aug 4 10:05:03 BST 2019


Source: superlu-dist
Version: 6.1.1+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that superlu-dist could not be built reproducibly.

Whilst it was likely reproducible in the past, due to the combination
of using sed's extended regular expression support (ie. "sed -r")
and repacking the tarball this means that the plus character ("+") in
the was causing the match part of the regular expression to fail to be
interpreted correctly.

Specifically, 6.1.1+dfsg1-1 when used as a regular expression instead
of a string literal is interpreted as attempting to match one or more
"1" characters followed by "dfsg", rather than the actual version and
thus directory name and thus the match misses and the required
replacement is not made.

Patch attached that just switches to regular "sed -e" for this part of
the replacement.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: superlu-dist.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20190804/8dd7b008/attachment-0001.txt>


More information about the Reproducible-bugs mailing list