Bug#577018: perl: (experimental) needs build-conflict with libparams-util-perl?

Niko Tyni ntyni at debian.org
Sat Apr 10 18:24:40 UTC 2010


On Fri, Apr 09, 2010 at 01:08:28AM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.12.0~rc3-1
> 
> Looks like the Module::Build test suite uses non-core
> modules if they're on @INC:
> 
> cpan/Module-Build/t/properties/share_dir........................./../t/perl: symbol lookup error: /usr/lib/perl5/auto/Params/Util/Util.so: undefined symbol: Perl_Gthr_key_ptr
> FAILED--expected 21 tests, saw 19
> 
> I suppose we need a Build-Conflict with libparams-util-perl for now.

The test suite uses File::ShareDir opportunistically (eval { require
File::ShareDir }).  This pulls in the XS module Params::Util, but its
symbols are only resolved later unless PERL_DL_NONLAZY is set. Therefore
the eval { require } succeeds but actual use fails.

See #479711.

The alternatives are to patch PERL_DL_NONLAZY=1 into the test or to add
a build conflict on libfile-sharedir-perl. I think I'm going for the
latter choice.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list