Subject: | Test/Build Fail on Perl 5.14.0 |
I can't build/test MongoDB 0.43 on Perl 5.14.0, it does work thought on
Perl 5.12.2
Here is what I get when using Perl 5.14.0
laptop:~$ cpan MongoDB
CPAN: Storable loaded ok (v2.27)
Going to read '/home/laptop/.cpan/Metadata'
Database was generated on Sat, 04 Jun 2011 02:34:55 GMT
Running install for module 'MongoDB'
Running make for K/KR/KRISTINA/MongoDB-0.43.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for
/home/laptop/.cpan/sources/authors/id/K/KR/KRISTINA/MongoDB-0.43.tar.gz
ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.110440)
CPAN: Module::CoreList loaded ok (v2.49)
CPAN.pm: Going to build K/KR/KRISTINA/MongoDB-0.43.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for MongoDB
Writing MYMETA.yml
cp lib/MongoDB/Code.pm blib/lib/MongoDB/Code.pm
cp lib/MongoDB/Connection.pm blib/lib/MongoDB/Connection.pm
cp lib/MongoDB.pm blib/lib/MongoDB.pm
cp lib/MongoDB/Database.pm blib/lib/MongoDB/Database.pm
cp lib/MongoDB/BSON.pm blib/lib/MongoDB/BSON.pm
cp lib/MongoDB/Cursor.pm blib/lib/MongoDB/Cursor.pm
cp lib/MongoDB/DataTypes.pod blib/lib/MongoDB/DataTypes.pod
cp lib/MongoDB/Examples.pod blib/lib/MongoDB/Examples.pod
cp lib/MongoDB/GridFS/File.pm blib/lib/MongoDB/GridFS/File.pm
cp lib/MongoDB/Collection.pm blib/lib/MongoDB/Collection.pm
cp lib/MongoDB/Timestamp.pm blib/lib/MongoDB/Timestamp.pm
cp lib/MongoDB/OID.pm blib/lib/MongoDB/OID.pm
cp lib/MongoDB/GridFS.pm blib/lib/MongoDB/GridFS.pm
cp lib/MongoDB/Indexing.pod blib/lib/MongoDB/Indexing.pod
cp lib/MongoDB/Tutorial.pod blib/lib/MongoDB/Tutorial.pod
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl "-Iinc"
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/ExtUtils/xsubpp
-typemap /home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/ExtUtils/typemap xs/BSON.xs > xs/BSON.xsc && mv
xs/BSON.xsc xs/BSON.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o xs/BSON.o
-fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-
linux-thread-multi/CORE" xs/BSON.c
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl "-Iinc"
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/ExtUtils/xsubpp
-typemap /home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/ExtUtils/typemap xs/Connection.xs > xs/Connection.xsc
&& mv xs/Connection.xsc xs/Connection.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o
xs/Connection.o -fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/i686-linux-thread-multi/CORE" xs/Connection.c
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl "-Iinc"
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/ExtUtils/xsubpp
-typemap /home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/ExtUtils/typemap xs/Cursor.xs > xs/Cursor.xsc && mv
xs/Cursor.xsc xs/Cursor.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o
xs/Cursor.o -fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/i686-linux-thread-multi/CORE" xs/Cursor.c
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl "-Iinc"
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/ExtUtils/xsubpp
-typemap /home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/ExtUtils/typemap xs/Mongo.xs > xs/Mongo.xsc && mv
xs/Mongo.xsc xs/Mongo.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o
xs/Mongo.o -fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/i686-linux-thread-multi/CORE" xs/Mongo.c
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl "-Iinc"
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/ExtUtils/xsubpp
-typemap /home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/ExtUtils/typemap xs/OID.xs > xs/OID.xsc && mv
xs/OID.xsc xs/OID.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o xs/OID.o
-fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-
linux-thread-multi/CORE" xs/OID.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o
mongo_link.o -fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/i686-linux-thread-multi/CORE" mongo_link.c
cc -c -I. -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" -o
perl_mongo.o -fPIC "-I/home/laptop/perl5/perlbrew/perls/perl-
5.14.0/lib/5.14.0/i686-linux-thread-multi/CORE" perl_mongo.c
Running Mkbootstrap for MongoDB ()
chmod 644 MongoDB.bs
rm -f blib/arch/auto/MongoDB/MongoDB.so
cc -shared -O2 -L/usr/local/lib -fstack-protector xs/BSON.o
xs/Connection.o xs/Cursor.o xs/Mongo.o xs/OID.o mongo_link.o
perl_mongo.o -o blib/arch/auto/MongoDB/MongoDB.so \
\
chmod 755 blib/arch/auto/MongoDB/MongoDB.so
cp MongoDB.bs blib/arch/auto/MongoDB/MongoDB.bs
chmod 644 blib/arch/auto/MongoDB/MongoDB.bs
Manifying blib/man3/MongoDB::Connection.3
Manifying blib/man3/MongoDB::Code.3
Manifying blib/man3/MongoDB::Database.3
Manifying blib/man3/MongoDB.3
Manifying blib/man3/MongoDB::BSON.3
Manifying blib/man3/MongoDB::DataTypes.3
Manifying blib/man3/MongoDB::Cursor.3
Manifying blib/man3/MongoDB::Examples.3
Manifying blib/man3/MongoDB::GridFS::File.3
Manifying blib/man3/MongoDB::Collection.3
Manifying blib/man3/MongoDB::Timestamp.3
Manifying blib/man3/MongoDB::GridFS.3
Manifying blib/man3/MongoDB::OID.3
Manifying blib/man3/MongoDB::Indexing.3
Manifying blib/man3/MongoDB::Tutorial.3
KRISTINA/MongoDB-0.43.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.73)
Running make test
PERL_DL_NONLAZY=1 /home/laptop/perl5/perlbrew/perls/perl-5.14.0/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib',
'blib/arch')" t/*.t t/threads/*.t
t/bson.t ............ Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/bson.t line 6.
BEGIN failed--compilation aborted at t/bson.t line 6.
t/bson.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/collection.t ...... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/collection.t line 11.
BEGIN failed--compilation aborted at t/collection.t line 11.
t/collection.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/connection.t ...... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/connection.t line 8.
BEGIN failed--compilation aborted at t/connection.t line 8.
t/connection.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/cursor.t .......... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/cursor.t line 7.
BEGIN failed--compilation aborted at t/cursor.t line 7.
t/cursor.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/database.t ........ Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/database.t line 8.
BEGIN failed--compilation aborted at t/database.t line 8.
t/database.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/db.t .............. Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/db.t line 6.
BEGIN failed--compilation aborted at t/db.t line 6.
t/db.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/gridfs.t .......... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/gridfs.t line 10.
BEGIN failed--compilation aborted at t/gridfs.t line 10.
t/gridfs.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/threads/basic.t ... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/threads/basic.t line 5.
BEGIN failed--compilation aborted at t/threads/basic.t line 5.
t/threads/basic.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/threads/cursor.t .. Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/threads/cursor.t line 5.
BEGIN failed--compilation aborted at t/threads/cursor.t line 5.
t/threads/cursor.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/types.t ........... Not a CODE reference at
/home/laptop/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/i686-linux-
thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /home/laptop/.cpan/build/MongoDB-0.43-
zLHr5A/blib/lib/MongoDB.pm line 213.
Compilation failed in require at t/types.t line 6.
BEGIN failed--compilation aborted at t/types.t line 6.
t/types.t ........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/bson.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/collection.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/connection.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/cursor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/database.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/db.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/gridfs.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/threads/basic.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/threads/cursor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/types.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=10, Tests=0, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.65 cusr
0.08 csys = 0.82 CPU)
Result: FAIL
Failed 10/10 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
KRISTINA/MongoDB-0.43.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports KRISTINA/MongoDB-0.43.tar.gz
Running make install
make test had returned bad status, won't install without force