https://bugzilla.redhat.com/show_bug.cgi?id=1292177
--- Comment #10 from Toby Blake <toby(a)inf.ed.ac.uk> ---
Hello,
The issue is when using PERL_DL_NONLAZY=1 and can be replicated on FC23 (on a
new install from the live CD, with updates)...
[toby@localhost ~]$ cat /etc/redhat-release
Fedora release 23 (Twenty Three)
[toby@localhost ~]$ rpm -q perl-Authen-Krb5
perl-Authen-Krb5-1.9-15.fc23.x86_64
[toby@localhost ~]$ perl -e 'use Authen::Krb5'
[toby@localhost ~]$ PERL_DL_NONLAZY=1 perl -e 'use Authen::Krb5'
Can't load '/usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so' for module
Authen::Krb5: /usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so: undefined
symbol: krb5_free_krbhst at /usr/lib64/perl5/DynaLoader.pm line 193.
at -e line 1.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
This is an issue because PERL_DL_NONLAZY=1 is used by ExtUtils::MakeMaker (and
probably other things), e.g. after dnf install perl-ExtUtils-MakeMaker and dnf
install perl-Test-Simple...
[toby@localhost ~]$ cd AuthenKrb5Test/
[toby@localhost AuthenKrb5Test]$ cat Makefile.PL
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'AuthenKrb5Test',
VERSION => '0.0.1'
);
[toby@localhost AuthenKrb5Test]$ cat t/use.t
use Test::More tests => 1;
BEGIN { use_ok("Authen::Krb5"); }
[toby@localhost AuthenKrb5Test]$ perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for AuthenKrb5Test
[toby@localhost AuthenKrb5Test]$ make
[toby@localhost AuthenKrb5Test]$ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"
"-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib',
'blib/arch')"
t/*.t
t/use.t .. 1/1
# Failed test 'use Authen::Krb5;'
# at t/use.t line 3.
# Tried to use 'Authen::Krb5'.
# Error: Can't load
'/usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so' for module
Authen::Krb5: /usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so: undefined
symbol: krb5_free_krbhst at /usr/lib64/perl5/DynaLoader.pm line 193.
# at t/use.t line 3.
# Compilation failed in require at t/use.t line 3.
# BEGIN failed--compilation aborted at t/use.t line 3.
# Looks like you failed 1 test of 1.
t/use.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.06 cusr 0.05
csys = 0.21 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
Makefile:762: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
[toby@localhost AuthenKrb5Test]$
Running the command that make test runs by hand with PERL_DL_NONLAZY=0
succeeds.
Cheers
Toby
--
You are receiving this mail because:
You are on the CC list for the bug.