Skip Menu |

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

Report information
The Basics
Id: 131718
Status: resolved
Priority: 0/
Queue: Math-GMP

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

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



From: gregoa [...] cpan.org
Subject: libmath-gmp-perl: FTBFS with gmp 6.2.0: test failure
We have the following bug reported to the Debian package of Math-GMP, c.f. https://bugs.debian.org/951003 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-gmp-perl Version: 2.19-1 Severity: serious Tags: upstream ftbfs sid bullseye Justification: fails to build from source (but built successfully in the past) libmath-gmp-perl fails to build, apparentaly due to changes in gmp 6.2.0: Cf. also https://ci.debian.net/data/autopkgtest/unstable/amd64/libm/libmath-gmp-perl/4241553/log.gz Potential background: https://bugs.debian.org/950608#31 Cheers, gregor ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
The information from the Debian ticket: libmath-gmp-perl fails to build, apparentaly due to changes in gmp 6.2.0: # Failed test 'Test worked: $x = Math::GMP->new("3878888047");Math::GMP::probab_prime($x,25);' # at t/01_gmppm.t line 192. # got: '2' # expected: '1' # Failed test 'Test worked [feature bitwise]: $x = Math::GMP->new("3878888047");Math::GMP::probab_prime($x,25);' # at t/01_gmppm.t line 200. # got: '2' # expected: '1' # Looks like you failed 2 tests of 974. It appears latest gmp library has improved its probable-prime algorithm so that it can report 3878888047 as a "definite prime" rather than merely a "probably prime". There are already tests with larger values that still return 1, but this was the only example that fits in 32 bits, so would have exercised a slightly different code path. If the result for this number has changed, I would anticipate that no 32-bit integers will return 1 any more. So I don't think there's much that can be usefully done here other than to delete that test (ie delete line 760 of t/01_gmppm.t). Hugo
On Sun Feb 09 12:19:15 2020, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of Math-GMP, > c.f. https://bugs.debian.org/951003 > > It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks! >
Thanks! I was able to reproduce the issue and it should be fixed in Math-GMP-2.20. Please try to see if that is fixed there. Show quoted text
> ------8<-----------8<-----------8<-----------8<-----------8<----- > > Source: libmath-gmp-perl > Version: 2.19-1 > Severity: serious > Tags: upstream ftbfs sid bullseye > Justification: fails to build from source (but built successfully in > the past) > > libmath-gmp-perl fails to build, apparentaly due to changes in gmp > 6.2.0: > > > > Cf. also > https://ci.debian.net/data/autopkgtest/unstable/amd64/libm/libmath- > gmp-perl/4241553/log.gz > > Potential background: https://bugs.debian.org/950608#31 > > > Cheers, > gregor > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > Thanks for considering, > gregor herrmann, > Debian Perl Group
Subject: Re: [rt.cpan.org #131718] libmath-gmp-perl: FTBFS with gmp 6.2.0: test failure
Date: Mon, 10 Feb 2020 16:54:27 +0100
To: Shlomi Fish via RT <bug-Math-GMP [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Sun, 09 Feb 2020 14:15:35 -0500, Shlomi Fish via RT wrote: Show quoted text
> On Sun Feb 09 12:19:15 2020, GREGOA wrote:
> > We have the following bug reported to the Debian package of Math-GMP, > > c.f. https://bugs.debian.org/951003 > > > > It doesn't seem to be a bug in the packaging, so you may want to take > > a look. Thanks!
> > Thanks! I was able to reproduce the issue and it should be fixed in > Math-GMP-2.20. Please try to see if that is fixed there.
Thanks for the quick fix. I can confirm that 2.20 passes all tests on Debian/unstable. 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 VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Tanita Tikaram: World Outside Your Window
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.

On Mon Feb 10 10:54:36 2020, gregoa@debian.org wrote: Show quoted text
> On Sun, 09 Feb 2020 14:15:35 -0500, Shlomi Fish via RT wrote: >
> > On Sun Feb 09 12:19:15 2020, GREGOA wrote:
> > > We have the following bug reported to the Debian package of Math-GMP, > > > c.f. https://bugs.debian.org/951003 > > > > > > It doesn't seem to be a bug in the packaging, so you may want to take > > > a look. Thanks!
> > > > Thanks! I was able to reproduce the issue and it should be fixed in > > Math-GMP-2.20. Please try to see if that is fixed there.
> > Thanks for the quick fix.
You're welcome. Show quoted text
> I can confirm that 2.20 passes all tests on Debian/unstable.
Thanks for the update. I'm marking this ticket as RESOLVED. Show quoted text
> > > Cheers, > gregor >