Subject: | use fails Under perl 5.16.3 |
Date: | Wed, 8 May 2013 10:40:17 -1000 |
To: | bug-Event [...] rt.cpan.org |
From: | Joel Roth <joelz [...] pobox.com> |
$ perl -MEvent -e 1
Can't load '/home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Event/Event.so' for module Event: /home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Event/Event.so: undefined symbol: PL_thr_key at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux/DynaLoader.pm line 190.
at /home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Event.pm line 24.
Compilation failed in require.
BEGIN failed--compilation aborted.
Can't locate Event/all_watchers.pm in @INC (@INC contains: /home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/jroth/perl5/lib/perl5/x86_64-linux /home/jroth/perl5/lib/perl5 /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Event.pm line 66.
...propagated at /home/jroth/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Event.pm line 67.
END failed--call queue aborted.
Details:
Distribution: Debian sid (unstable)
I installed perl 5.16.3 in standard fashion under
perlbrew:
perlbrew install 5.16.3
perlbrew switch 5.16.3
perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
I installed Event, and all tests pass:
~/Downloads/Event-1.21 $ perl Makefile.PL
Checking if your kit is complete...
Looks good
Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 17.
require Version/Requirements.pm called at /home/jroth/perl5/lib/perl5/CPAN/Meta/Prereqs.pm line 10
CPAN::Meta::Prereqs::BEGIN() called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
eval {...} called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
require CPAN/Meta/Prereqs.pm called at /home/jroth/perl5/lib/perl5/CPAN/Meta/Feature.pm line 7
CPAN::Meta::Feature::BEGIN() called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
eval {...} called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
require CPAN/Meta/Feature.pm called at /home/jroth/perl5/lib/perl5/CPAN/Meta.pm line 9
CPAN::Meta::BEGIN() called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
eval {...} called at /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Version/Requirements.pm line 0
require CPAN/Meta.pm called at /home/jroth/perl5/lib/perl5/ExtUtils/MM_Any.pm line 790
eval {...} called at /home/jroth/perl5/lib/perl5/ExtUtils/MM_Any.pm line 789
ExtUtils::MM_Any::_has_cpan_meta() called at /home/jroth/perl5/lib/perl5/ExtUtils/MM_Any.pm line 810
ExtUtils::MM_Any::metafile_target('PACK001=HASH(0x1488e58)') called at /home/jroth/perl5/lib/perl5/ExtUtils/MakeMaker.pm line 693
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x1488e58)') called at /home/jroth/perl5/lib/perl5/ExtUtils/MakeMaker.pm line 60
ExtUtils::MakeMaker::WriteMakefile('PREREQ_PM', 'HASH(0x13a2de8)', 'VERSION_FROM', './lib/Event.pm', 'NAME', 'Event', 'TYPEMAPS', 'ARRAY(0x13b52a8)', 'INC', ...) called at Makefile.PL line 26
Writing Makefile for Event
Writing MYMETA.yml and MYMETA.json
~/Downloads/Event-1.21 $ make
cp lib/Event/signal.pm blib/lib/Event/signal.pm
cp lib/Event/generic.pod blib/lib/Event/generic.pod
cp lib/Event/io.pm blib/lib/Event/io.pm
cp lib/Event/var.pm blib/lib/Event/var.pm
cp lib/Event/generic.pm blib/lib/Event/generic.pm
cp lib/Event/timer.pm blib/lib/Event/timer.pm
cp lib/Event/idle.pm blib/lib/Event/idle.pm
cp lib/Event/typemap blib/lib/Event/typemap
cp lib/Event.pm blib/lib/Event.pm
cp lib/Event.pod blib/lib/Event.pod
cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h
cp lib/Event/group.pm blib/lib/Event/group.pm
cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm
cp lib/Event/type.pm blib/lib/Event/type.pm
cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm
/home/jroth/perl5/perlbrew/perls/perl-5.16.3/bin/perl /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/ExtUtils/xsubpp -typemap /home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/ExtUtils/typemap -typemap ./lib/Event/typemap Event.xs > Event.xsc && mv Event.xsc Event.c
cc -c -Ic -Ilib/Event -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/home/jroth/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux/CORE" Event.c
Running Mkbootstrap for Event ()
chmod 644 Event.bs
rm -f blib/arch/auto/Event/Event.so
cc -shared -O2 -L/usr/local/lib -fstack-protector Event.o -o blib/arch/auto/Event/Event.so \
\
chmod 755 blib/arch/auto/Event/Event.so
cp Event.bs blib/arch/auto/Event/Event.bs
chmod 644 blib/arch/auto/Event/Event.bs
Manifying blib/man3/Event.3
Manifying blib/man3/Event::generic.3
Manifying blib/man3/Event::MakeMaker.3
~/Downloads/Event-1.21 $ make test
PERL_DL_NONLAZY=1 /home/jroth/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_to.t ..... ok
t/bored.t ......... ok
t/callback.t ...... ok
t/data.t .......... ok
t/delete.t ........ ok
t/eval.t .......... ok
t/fifo.t .......... ok
t/generic.t ....... ok
t/group.t ......... ok
t/hook.t .......... ok
t/hup.t ........... ok
t/idle.t .......... ok
t/io.t ............ ok
t/leak.t .......... ok
t/leak2.t ......... ok
t/loop.t .......... ok
t/now.t ........... ok
t/reenter.t ....... ok
t/signal.t ........ ok
t/timeout_cb.t .... ok
t/timer.t ......... ok
t/unconfigured.t .. ok
t/var.t ........... ok
All tests successful.
Files=23, Tests=121, 11 wallclock secs ( 0.09 usr 0.02 sys + 2.58 cusr 0.42 csys = 3.11 CPU)
Result: PASS
~/Downloads/Event-1.21 $ make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Appending installation info to /home/jroth/perl5/lib/perl5/x86_64-linux/perllocal.pod
Investigate deprecation warning during build:
$ cpanm CPAN::Meta::Requirements
CPAN::Meta::Requirements is up to date. (2.122)
Thank you,
Joel Roth
--
Joel Roth