Debian Bug report logs -
#828717
gmp-ecm: 7.0 regresses on 32 bit platforms
Reported by: Martin Pitt <mpitt@debian.org>
Date: Mon, 27 Jun 2016 06:36:02 UTC
Severity: important
Found in version gmp-ecm/7.0.1+ds-2
Fixed in version gmp-ecm/7.0.2+ds-1
Done: Jerome Benoit <calculus@rezozer.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#828717; Package gmp-ecm.
(Mon, 27 Jun 2016 06:36:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Mon, 27 Jun 2016 06:36:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gmp-ecm
Version: 7.0.1+ds-2
Severity: important
Hello,
Since version 7.0, gmp-ecm fails on i386 and armhf (the two 32 bit
architectures that Ubuntu runs tests on):
http://autopkgtest.ubuntu.com/packages/g/gmp-ecm/yakkety/i386/
http://autopkgtest.ubuntu.com/packages/g/gmp-ecm/yakkety/armhf/
64 bit still works, like
http://autopkgtest.ubuntu.com/packages/g/gmp-ecm/yakkety/amd64
http://autopkgtest.ubuntu.com/packages/g/gmp-ecm/yakkety/ppc64el
I haven't yet found out what to search for in the log [1] to see the
actual error. There is no "fail" in the upstream output, and all the
"error" hits that I checked are also present in the amd64 log, i. e.
they are expected error messages triggered by the tests. I hope you
have some more familiarity with the test output and know what to look
for.
We don't run 32 bit tests on Debian, so this doesn't appear on
https://ci.debian.net/packages/g/gmp-ecm/.
I'm setting severity "important" as this package may be a building
block for security mechanisms (even though nothing in Debian currently
uses it).
Thanks,
Martin
[1] https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-yakkety/yakkety/i386/g/gmp-ecm/20160623_084317@/log.gz
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#828717; Package gmp-ecm.
(Mon, 27 Jun 2016 07:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Mon, 27 Jun 2016 07:21:04 GMT) (full text, mbox, link).
Message #10 received at 828717@bugs.debian.org (full text, mbox, reply):
Hello again,
sorry, this evaded me before, here it is:
| GMP-ECM 7.0.1 [configured with GMP 6.1.0] [P-1]
| Input number is 2^1009-1 (304 digits)
| Using B1=1000, B2=17248, polynomial x^1, x0=1688984659
| Step 1 took 4ms
| Step 2 took 16ms
| ********** Factor found in step 2: 3454817
| Found prime factor of 7 digits: 3454817
| Composite cofactor (2^1009-1)/3454817 has 298 digits
| GMP-ECM 7.0.1 [configured with GMP 6.1.0] [P-1]
| Input number is (2^1009-1)/3454817 (298 digits)
| Using B1=5000, B2=9972-1389888, polynomial x^1, x0=4144063670
| Step 1 took 20ms
| ecm: ../pm1fs2.c:1828: poly_from_sets_V: Assertion `(__builtin_constant_p (1UL) && (1UL) == 0 ? ((F[deg])->_mp_size < 0 ? -1 : (F[deg])->_mp_size > 0) : __gmpz_cmp_ui (F[deg],1UL)) == 0' failed.
| Aborted (core dumped)
| ############### ERROR ###############
| Expected return code 6 but got 134
| make: *** [longcheck+test+pm1+-redc] Error 1
| Makefile:17: recipe for target 'longcheck+test+pm1+-redc' failed
Same error on armhf and i386, and this does not happen on 64 bit.
I can reproduce this in sid with autopkgtest's schroot runner, so it's
not specific to Ubuntu or LXC/LXD/QEMU:
autopkgtest gmp-ecm -- schroot sid-i386
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Reply sent
to Jerome Benoit <calculus@rezozer.net>:
You have taken responsibility.
(Tue, 28 Jun 2016 17:30:04 GMT) (full text, mbox, link).
Notification sent
to Martin Pitt <mpitt@debian.org>:
Bug acknowledged by developer.
(Tue, 28 Jun 2016 17:30:04 GMT) (full text, mbox, link).
Message #15 received at 828717-close@bugs.debian.org (full text, mbox, reply):
Source: gmp-ecm
Source-Version: 7.0.2+ds-1
We believe that the bug you reported is fixed in the latest version of
gmp-ecm, 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 828717@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jerome Benoit <calculus@rezozer.net> (supplier of updated gmp-ecm 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: SHA256
Format: 1.8
Date: Tue, 28 Jun 2016 15:41:25 +0000
Source: gmp-ecm
Binary: gmp-ecm libecm1 libecm1-dev libecm1-dev-common libecm-dev
Architecture: source
Version: 7.0.2+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Jerome Benoit <calculus@rezozer.net>
Description:
gmp-ecm - Factor integers using the Elliptic Curve Method
libecm-dev - dummy package
libecm1 - factor integers using the Elliptic Curve Method -- lib
libecm1-dev - factor integers using the Elliptic Curve Method -- libdev
libecm1-dev-common - factor integers using the Elliptic Curve Method -- header
Closes: 828717
Changes:
gmp-ecm (7.0.2+ds-1) unstable; urgency=medium
.
* Advanced Tests Failures [i386,armhf] fix release (Closes: #828717).
* Debianization:
- debian/copyright:
- Files-Excluded field, refresh;
- debian/patches/:
- d/p/upstream-autotoolization-shlibs.patch, discard as it has been
integrated, thanks to the upstream maintainer;
- debian/adhoc/missing/, discard as the material is now provided within
the upstream source ball, thanks to the upstream maintainer;
- debian/tests/:
- d/t/make-longcheck, refresh.
Checksums-Sha1:
aaca5fff082d33e57b3553ecd22cc11a0d016361 2291 gmp-ecm_7.0.2+ds-1.dsc
86c76634919fdb914528c0461368d56ffceede2c 691121 gmp-ecm_7.0.2+ds.orig.tar.gz
217bd754db7c945b43f3f31a2496f16fee4af4bf 10392 gmp-ecm_7.0.2+ds-1.debian.tar.xz
Checksums-Sha256:
3234974dd7049fc815943359afb74d41587a303ff05db22e57de158d844834a2 2291 gmp-ecm_7.0.2+ds-1.dsc
e8abb2d2d7d060aad46e4b494fe939c1ed59ca687bc769094b31c14bac323b7b 691121 gmp-ecm_7.0.2+ds.orig.tar.gz
966393acc2105758a71ea2cb64c6d94d65c28437a29a64eb3100762e27e21cef 10392 gmp-ecm_7.0.2+ds-1.debian.tar.xz
Files:
7eb21d3f67e93090ddd5269889d5ae0f 2291 math optional gmp-ecm_7.0.2+ds-1.dsc
8441aac8fd6f764dd37f3ffd2ffe7e34 691121 math optional gmp-ecm_7.0.2+ds.orig.tar.gz
755f8ab4d822ad345e5c0b08de866aa4 10392 math optional gmp-ecm_7.0.2+ds-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXcqNfAAoJEPNPCXROn13ZIi4QANOBFvWsww+DsL8/Y5OCvoqE
+JuhUMf42fCGesN9eZMrXAtqQ22uePEEktb+C01F2GabsZeGDfgMkeOMB4kvx5Ku
g3J1RkRG9aDSRE87BcNwWb0VtpaIIKf9Diu6reBGJfp7NIMcrJQ86ebnl/tPMwwx
oTOZCedWwKfGpirFj2Z1lt+J7KWjz3X4x8wvaU0iCEQGsfqa6JIuFnqB397+/dCJ
ukst3L+PUvz77iuPEw9kZRuAYLGf0k3bnKlIBYRRYZkkk7w+NDx48SiSg3vepw84
eRCbgKmE5hXX8aAzFWhewL6qHpC0ET2uXC3fpA6dewi6DJ4lwXIKaItneLc9gLVM
KSOArYkHTXZuFdhnnuv2VGLLSeESwff1AHnqPGmsdBy0ZbMoBfyuVKPftc+NXsOt
/5KNgMZTWVanm/EW8vyX+3JURQ04s5tragE4uC75NQ9XW+NNLNQxXPW6dREMUzhx
9Pn+xRAuoUfQkzkiR493CWTjmIPp4B/S4I6xH1MenyZBWX84QvrSV6A7DWcihEaF
ZC5peIBBA45UYux0ypwnDLLXIwLu0vNB/tPVPMNUXLs4jefpAvpuJdTH1L4G70ck
eLj7ycAxztICRV+wGDaCkkGFnCxE1vAYwtMXiT+zbpBrTi0MFlYO8bZcmL8++OWK
GSsGUfMZvVrYG6v3526q
=7jPV
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 01 Aug 2016 07:31:29 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:
Sat Jan 6 07:57:25 2018;
Machine Name:
buxtehude
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.