Source: polygen Version: 1.0.6.ds2-15 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs Tags: patch X-Debbugs-Cc: reproducible-b...@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 `. `'` la...@debian.org / chris-lamb.co.uk `-
polygen.1.0.6.ds2-15.logs.unstable.log.txt.gz
Description: Binary data
diff --git a/debian/rules b/debian/rules index 79ea5d3..ea9fc4b 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ include /usr/share/cdbs/1/rules/ocaml.mk POLYGEN_BASE=. DEB_BUILDDIR=$(POLYGEN_BASE)/src POLYGEN_BIN=$(DEB_BUILDDIR)/polygen -POLYGEN_SEED = $(shell date --date="$(shell dpkg-parsechangelog --show-field Date)" +%s) +POLYGEN_SEED = $(shell expr $(shell date --date="$(shell dpkg-parsechangelog --show-field Date)" +%s) % 1073741823) POLYGEN=$(POLYGEN_BIN) -seed $(POLYGEN_SEED) export POLYGEN