Bug#578558: libsearch-xapian-perl: FTBFS with perl 5.12.0-1: long doubles

Olly Betts olly at survex.com
Wed Apr 21 01:34:58 UTC 2010


tag 578558 + fixed-upstream pending                                             
thanks

On Tue, Apr 20, 2010 at 09:46:38PM +0300, Niko Tyni wrote:
> As the package built successfully in my earlier tests with 5.12.0~rc3-1,
> the failure almost certainly happens because 5.12.0-1 is configured to
> use long doubles (-Duselongdouble).

Indeed - the test checks that values passed through
Xapian::sortable_unserialise(Xapian::sortable_serialise($x)) are unchanged,
but if Perl uses long double, they can get rounded as they are passed to
Xapian.

I've fixed the testcase upstream like so (but I haven't tested with 5.12.0-1
yet):

http://trac.xapian.org/changeset/14344

Since 5.12 is only in experimental currently, I think an upload can wait.
That way 1.0.19.0-1 can migrate to testing.

Cheers,
    Olly





More information about the pkg-perl-maintainers mailing list