Skip Menu |

This queue is for tickets about the Math-Prime-Util-GMP CPAN distribution.

Report information
The Basics
Id: 122718
Status: resolved
Priority: 0/
Queue: Math-Prime-Util-GMP

People
Owner: DANAJ [...] cpan.org
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libmath-prime-util-gmp-perl FTBFS on big endian: Failed 2/31 test programs. 8/2885 subtests failed.
We have the following bug reported to the Debian package of Math-Prime-Util-GMP (https://bugs.debian.org/870832): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Source: libmath-prime-util-gmp-perl Version: 0.46-1 Severity: serious https://buildd.debian.org/status/package.php?p=libmath-prime-util-gmp-perl&suite=sid ... Test Summary Report ------------------- t/28-randomprime.t (Wstat: 1536 Tests: 181 Failed: 6) Failed tests: 176-181 Non-zero exit status: 6 t/28-urandom.t (Wstat: 512 Tests: 46 Failed: 2) Failed tests: 44-45 Non-zero exit status: 2 Files=31, Tests=2885, 38 wallclock secs ( 1.56 usr 0.20 sys + 36.32 cusr 0.82 csys = 38.90 CPU) Result: FAIL Failed 2/31 test programs. 8/2885 subtests failed. Makefile:1089: recipe for target 'test_dynamic' failed make[1]: *** [test_dynamic] Error 255 ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
gcc compiler farm has a MIPS64 machine. Test this. It is likely an issue with ISAAC seeding.
On Thu Oct 19 13:12:11 2017, DANAJ wrote: Show quoted text
> gcc compiler farm has a MIPS64 machine. Test this. It is likely an > issue with ISAAC seeding.
Fixed on github (0.47). It was an issue with the ISAAC implementation, both seeding and returning a byte stream, as it mixes words and byte accesses. MPU is using ChaCha20 instead of ISAAC and did all of this back in April. The ChaCha20 core is specifically little-endian with mandated byte-swaps on BE, but still required care to get consistent seeding. I'll try to get a release out this week.
Version 0.47 passes tests on a MIPS64 big endian platform. The same platform shows the errors on 0.46.
Subject: Re: [rt.cpan.org #122718] libmath-prime-util-gmp-perl FTBFS on big endian: Failed 2/31 test programs. 8/2885 subtests failed.
Date: Sun, 5 Nov 2017 18:39:49 +0100
To: Dana Jacobsen via RT <bug-Math-Prime-Util-GMP [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Sat, 04 Nov 2017 21:12:57 -0400, Dana Jacobsen via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=122718 > > > Version 0.47 passes tests on a MIPS64 big endian platform. The same platform shows the errors on 0.46.
Thanks! 0.47 uploaded to Debian. Cheers, gregor -- .''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Suzanne Vega: Freeze Tag
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.

On Sun Nov 05 13:00:22 2017, gregoa@debian.org wrote: Show quoted text
> On Sat, 04 Nov 2017 21:12:57 -0400, Dana Jacobsen via RT wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=122718 > > > > > Version 0.47 passes tests on a MIPS64 big endian platform. The same > > platform shows the errors on 0.46.
> > Thanks! > 0.47 uploaded to Debian. > > > Cheers, > gregor
v0.48 coming out today to fix some issues found: no logl in math library, and for 64-bit machines with 32-bit GMP library.
Subject: Re: [rt.cpan.org #122718] libmath-prime-util-gmp-perl FTBFS on big endian: Failed 2/31 test programs. 8/2885 subtests failed.
Date: Mon, 6 Nov 2017 00:16:46 +0100
To: Dana Jacobsen via RT <bug-Math-Prime-Util-GMP [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Sun, 05 Nov 2017 14:39:09 -0500, Dana Jacobsen via RT wrote: Show quoted text
> > > Version 0.47 passes tests on a MIPS64 big endian platform. The same > > > platform shows the errors on 0.46.
> > > > Thanks! > > 0.47 uploaded to Debian.
> > v0.48 coming out today to fix some issues found: no logl in math > library, and for 64-bit machines with 32-bit GMP library.
Ah, this sounds like the build failure I've seen on the unofficial x32 port. 0.48 uploaded, let's see how it behaves at https://buildd.debian.org/status/logs.php?pkg=libmath-prime-util-gmp-perl Cheers, gregor -- .''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Arlo Guthrie: Coming Into L.A.
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.

Show quoted text
> > v0.48 coming out today to fix some issues found: no logl in math > > library, and for 64-bit machines with 32-bit GMP library.
> > Ah, this sounds like the build failure I've seen on the unofficial > x32 port.
The test output looks like the 32-bit/64-bit issue. From CPAN testers it looks like 0.48 should fix it. Show quoted text
Thanks for keeping this updated. I'll keep an eye on the tests.