Bug#825011: libdata-alias-perl: FTBFS with Perl 5.24: undefined symbol: LEAVESUB

Niko Tyni ntyni at debian.org
Fri Aug 19 06:10:09 UTC 2016


On Sun, Jul 03, 2016 at 09:00:53PM +0300, Niko Tyni wrote:
> On Sun, May 22, 2016 at 04:41:50PM +0300, Niko Tyni wrote:
> > Package: libdata-alias-perl
> > Version: 1.20-1
> > Severity: important
> > User: debian-perl at lists.debian.org
> > Usertags: perl-5.24-transition zrh2016
> > Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=112289
> > 
> > This package fails to build with Perl 5.24 (currently in experimental).
> > 
> >   PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> >   Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Data/Alias/Alias.so' for module Data::Alias: /<<PKGBUILDDIR>>/blib/arch/auto/Data/Alias/Alias.so: undefined symbol: LEAVESUB at /usr/lib/x86_64-linux-gnu/perl/5.24/DynaLoader.pm line 187.
> 
> This issue seems to be our worst blocker for migrating to Perl 5.24.
> 
> There are some hints in the CPAN ticket, and I was able to get the
> module to load with those (without really understanding half of what I
> was doing). The test suite still blows up quite spectacularly.
> 
> There are a few reverse dependencies of libdata-alias-perl in Debian,
> but it does look somewhat possible to move ahead without this package
> if that turns out to be necessary. In particular, Data-Visitor only has
> an optional dependency on Data-Alias.

The freeze for the next Debian release (stretch) is approaching,
so it looks like if we want to get Perl 5.24 there, we need to drop
Data::Alias. I intend to file bugs for the reverse dependencies,
listed below. 

The first two (Method::Signatures and Data::Visitor) degrade gracefully
when Data::Alias is not available, disabling some of their features. Some
testing will be needed to see whether other packages make use of these
features, particularly for Data::Visitor which has a longish list of
further reverse dependencies.

  libmethod-signatures-perl
    # optional dependency, degraded feature set

  libdata-visitor-perl
    # optional dependency, degraded feature set

  lintian
    # could hopefully be patched to use the core >= 5.22 'refaliasing' feature?

  libvar-pairs-perl
    # leaf package, can be dropped

  libdevel-callparser-perl
    # only needed for test suite

  libkavorka-perl
    # would also pull Moops (libmoops-perl) out with it

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list