Bug#860384: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int

Chris Lamb lamby at debian.org
Sat Apr 15 15:39:43 UTC 2017


Source: polygen
Version: 1.0.6.ds2-15
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
Tags: patch
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

polygen fails to build from source in i386 (and on armhf) as the
$SOURCE_DATE_EPOCH argument to -seed exceeds the 30-bit integer. It does
not FTBFS on amd64 etc. as the maximum value allowed there is a
62-bit integer:

  […]

  ./src/polygen -seed 1477837980 debian/man.grm > polygen.1
  ./src/polygen: wrong argument '1477837980'; option '-seed' expects an integer.

  […]

The full build log is attached or can be viewed here:

    https://tests.reproducible-builds.org/debian/logs/unstable/i386/polygen_1.0.6.ds2-15.build1.log.gz

A patch attached that ensures the -seed argument is always within range,
regardless of the architecture.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polygen.1.0.6.ds2-15.logs.unstable.log.txt.gz
Type: application/octet-stream
Size: 6251 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170415/d01ff5b3/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: polygen.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170415/d01ff5b3/attachment.txt>


More information about the Reproducible-bugs mailing list