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

version graph

Package: src:polygen; Maintainer for src:polygen is Debian QA Group <packages@qa.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sat, 15 Apr 2017 15:42:01 UTC

Severity: important

Tags: patch

Found in version polygen/1.0.6.ds2-15

Fixed in version polygen/1.0.6.ds2-16

Done: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
Bug#860384; Package src:polygen. (Sat, 15 Apr 2017 15:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>. (Sat, 15 Apr 2017 15:42:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int
Date: Sat, 15 Apr 2017 16:39:43 +0100
[Message part 1 (text/plain, inline)]
Source: polygen
Version: 1.0.6.ds2-15
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
Tags: patch
X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
       `-
[polygen.1.0.6.ds2-15.logs.unstable.log.txt.gz (application/octet-stream, attachment)]
[polygen.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
Bug#860384; Package src:polygen. (Sat, 15 Apr 2017 20:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>. (Sat, 15 Apr 2017 20:54:02 GMT) (full text, mbox, link).


Message #10 received at 860384@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Chris Lamb <lamby@debian.org>, 860384@bugs.debian.org
Subject: Re: Bug#860384: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int
Date: Sat, 15 Apr 2017 23:50:19 +0300
Control: severity -1 important

On Sat, Apr 15, 2017 at 04:39:43PM +0100, Chris Lamb wrote:
> Source: polygen
> Version: 1.0.6.ds2-15
> Severity: serious
> Justification: fails to build from source
>...

binary-all FTBFS on non-amd64 is not an RC bug.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Severity set to 'important' from 'serious' Request was from Adrian Bunk <bunk@debian.org> to 860384-submit@bugs.debian.org. (Sat, 15 Apr 2017 20:54:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
Bug#860384; Package src:polygen. (Sat, 15 Apr 2017 21:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>. (Sat, 15 Apr 2017 21:18:03 GMT) (full text, mbox, link).


Message #17 received at 860384@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Adrian Bunk <bunk@debian.org>, 860384@bugs.debian.org
Subject: Re: Bug#860384: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int
Date: Sat, 15 Apr 2017 22:14:44 +0100
Hi Adrian,

> > Source: polygen
> > Version: 1.0.6.ds2-15
> > Severity: serious
> > Justification: fails to build from source
> >...
> 
> binary-all FTBFS on non-amd64 is not an RC bug.

Interesting, although I'm not sure I understand exactly why. Can you
help? :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
Bug#860384; Package src:polygen. (Mon, 17 Apr 2017 17:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvo Tomaselli <tiposchi@tiscali.it>:
Extra info received and forwarded to list. Copy sent to Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>. (Mon, 17 Apr 2017 17:21:03 GMT) (full text, mbox, link).


Message #22 received at 860384@bugs.debian.org (full text, mbox, reply):

From: Salvo Tomaselli <tiposchi@tiscali.it>
To: Chris Lamb <lamby@debian.org>, 860384@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: Bug#860384: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int
Date: Mon, 17 Apr 2017 19:19:57 +0200
Did they make some changes in the ocaml package?

2017-04-15 23:14 GMT+02:00 Chris Lamb <lamby@debian.org>:
> Hi Adrian,
>
>> > Source: polygen
>> > Version: 1.0.6.ds2-15
>> > Severity: serious
>> > Justification: fails to build from source
>> >...
>>
>> binary-all FTBFS on non-amd64 is not an RC bug.
>
> Interesting, although I'm not sure I understand exactly why. Can you
> help? :)
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby@debian.org / chris-lamb.co.uk
>        `-



Information forwarded to debian-bugs-dist@lists.debian.org, Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
Bug#860384; Package src:polygen. (Mon, 17 Apr 2017 19:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>. (Mon, 17 Apr 2017 19:09:03 GMT) (full text, mbox, link).


Message #27 received at 860384@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Salvo Tomaselli <tiposchi@tiscali.it>, 860384@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: Bug#860384: polygen: FTBFS on 32-bit archs due to -seed $SOURCE_DATE_EPOCH argument exceeding 30-bit int
Date: Mon, 17 Apr 2017 20:07:56 +0100
Hi Salvo,

> Did they make some changes in the ocaml package?

I believe it is part of the language:

   OCaml supports fixed-length integers two bits smaller than
   native machine integers — 30 bits on most machines (62 bit
   on some).

      — http://www2.lib.uchicago.edu/keith/ocaml-class/data.html


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Reply sent to Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>:
You have taken responsibility. (Mon, 31 Jul 2017 12:24:06 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Mon, 31 Jul 2017 12:24:06 GMT) (full text, mbox, link).


Message #32 received at 860384-close@bugs.debian.org (full text, mbox, reply):

From: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
To: 860384-close@bugs.debian.org
Subject: Bug#860384: fixed in polygen 1.0.6.ds2-16
Date: Mon, 31 Jul 2017 12:21:22 +0000
Source: polygen
Source-Version: 1.0.6.ds2-16

We believe that the bug you reported is fixed in the latest version of
polygen, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 860384@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> (supplier of updated polygen package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 28 Jul 2017 09:21:29 +0200
Source: polygen
Binary: polygen polygen-data
Architecture: source
Version: 1.0.6.ds2-16
Distribution: unstable
Urgency: medium
Maintainer: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
Changed-By: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
Description:
 polygen    - generator of random sentences from grammar definitions
 polygen-data - grammar definitions for PolyGen
Closes: 860384 868938
Changes:
 polygen (1.0.6.ds2-16) unstable; urgency=medium
 .
   * Change POLYGEN_SEED in d/rules (Closes: #860384). Thanks to Chris Lamb.
   * Compile on OCaml 4.05.0 (Closes: #868938). Thanks to Stéphane Glondu.
Checksums-Sha1:
 30a01d0608bc64b9c3de2051bacca5f1cce0de71 1900 polygen_1.0.6.ds2-16.dsc
 08c174c538ea764c36c8f67dcd55fc3dd5392acf 12241 polygen_1.0.6.ds2-16.diff.gz
 16e3408e18e3af5cd8c01a18d234e95c86f258b4 5766 polygen_1.0.6.ds2-16_amd64.buildinfo
Checksums-Sha256:
 26fb7ac42a7982ad25f634bd468e4e84cc6c900ca6611629e87dfe6d34c4b4f1 1900 polygen_1.0.6.ds2-16.dsc
 f93a8a3cd387af8f174c01bd6e1adfacf50d26f4620517a3041426bd45d60495 12241 polygen_1.0.6.ds2-16.diff.gz
 5a6c767c60d0024e757cc240b258e97d6edf5a38392648a70889b8d27d705670 5766 polygen_1.0.6.ds2-16_amd64.buildinfo
Files:
 4ef4854a6be780292a4c3bf7296ecba7 1900 games optional polygen_1.0.6.ds2-16.dsc
 15310fc79a0d685500849e193a0e4523 12241 games optional polygen_1.0.6.ds2-16.diff.gz
 f21b52916039a4d435a7600817626c19 5766 games optional polygen_1.0.6.ds2-16_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAll/HFcACgkQCBa54Yx2
K622lxAAicfnX7FCILw8uPGGxm7dNLk3heHK4CSNEsufOHtzaWpxMwgm7XBpEMuE
pGKEVmVAKjmGr9KjAXSItjZQy1lxoskmQKZgV2Y/0DGwsFJ1iQoWD+8Gf2OLTGAF
5xppCvKNsClq5nXzWKdpzSa8QBx8cB4SjK+f85MyG67OrX9gtQofWSj9JFjiLa0E
K7xryJE9OcszAFNmpINBFGddPlRbMpUPqbfcFXPo38qll8VLMkHZkhee6I7AWrxt
MaMdkSSyXVQtzFebQp/Yevr0FDfP19YaOW7F6KMDOnrhnCs+8hg1QeVTNGnGk0rS
K8cWdMbd2w7WoAheWvA4LQYdkfm91JZgs/foYK3tiPkI0bi2ZbSQS9ZRvhFI4YD2
HcigRF4uU/dLBMnQZIlK85P1nQDm/Ok05q0geFGe6sw/9JLSLRt+lcN1Xe56a/9O
rl6Z+FdLVIEDS9zxGW1aay0YEyO6VGv3pwPS6UlS5095cHItlOpfvTxxX2be+iex
PoyQCNkOIpBvmC2bEBRy78mtQZNWw1Eb3LmvhOk5bhG0PwNUJLt1Tc5RBrPhxQ/c
bzY2PLO63sb1lqaSHonELC1KN1dD1s8XBFb1UXqgUhh51ZX4uE8cdqz+EuQV5BBY
OM9QtPV0yz9D4hjMbdKktGnc9T4CJ83ToXmgUmUPqNF3W1X1d3g=
=X06k
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 03 Sep 2017 07:42:48 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 14:07:07 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.