[Debian-med-packaging] Bug#898989: altree: FTBFS with Perl 5.27: _quicksort sub-pragma removed

Dominic Hargreaves dom at earth.li
Fri May 18 10:45:43 BST 2018


Source: altree
Version: 1.3.1-5
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.28-transition
Tags: patch

When rebuilding altree against perl 5.27.11, we found this problem caused
by the removal of the '_quicksort' sub-pragma to sort:

PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
#   Failed test 'use ALTree::Import;'
#   at t/ALTree.t line 9.
#     Tried to use 'ALTree::Import'.
#     Error:  sort: unknown subpragma '_quicksort' at /<<PKGBUILDDIR>>/blib/lib/ALTree/SitePerForet.pm line 10.

With the attached patch, altree builds under perl 5.27.11.

This file doesn't even seem to use perl's sort function, so the change
is effectively a no-op.

Thanks,
Dominic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-unused-_quicksort-sub-pragma-no-longer-suppor.patch
Type: text/x-diff
Size: 1884 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180518/250f6706/attachment.patch>


More information about the Debian-med-packaging mailing list