Bug#727208: libmath-mpfr-perl: t/test4.t fails against libmpfr-dev >= 3.1.2
Colin Watson
cjwatson at ubuntu.com
Wed Oct 23 12:20:41 UTC 2013
Package: libmath-mpfr-perl
Version: 3.17-1
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu trusty
libmath-mpfr-perl fails to build due to a test failure when built
against libmpfr-dev >= 3.1.2:
Got: 10111101111110100101110101101111011111101001011111011011110110110010010111110110111101111110100100110101
Expected: 10111101111110100101110101101111011111101001011101011011110110110010010111010110111101111110100100110101
t/test4.t .................
Failed 1/49 subtests
This looks rather like this entry from the upstream changelog for 3.18
(https://metacpan.org/release/Math-MPFR):
Depending upon the rounding mode values, the mpfr library may
incorrectly return false for mpfr_fits_u*_p(x) for -1.0 < x < 0.0 or
for -0.5 < x <0.0. (This should be fixed in versions of mpfr later
than 3.1.2.) Have the Rmpfr_fits_u*_p() functions return correct
result irrespective of the version of mpfr being used - and have the
Math:MPFR test suite test for this.
Even if I'm wrong about the exact changelog entry, though, 3.18 builds
cleanly, so it's probably best to upgrade.
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the pkg-perl-maintainers
mailing list