Subject: | System perl used in tests |
Test suite often fails, see http://matrix.cpantesters.org/?dist=Cvs-Trigger%200.04 for an overview.
A possible reason: the system perl is used in tests, which may be incompatible with the perl used for the build.
Here's a sample failure on a freebsd system --- note that a load attempt of a .so from perl 5.16 is done here, and perl 5.16 is the system perl on this system. The perl used for the build is 5.22.1-RC1:
PERL_DL_NONLAZY=1 "/usr/perl5.22.1-RC1sp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
/usr/bin/cvs -d /var/tmp/cpansmoker-1000/2015111512/2rdjP9KcMx/cvsroot commit -m m/a/a1.txt-check-in-message m/a/a1.txt failed: Can't load '/usr/local/src/CPAN/build/2015111512/Digest-SHA1-2.13-eqH9zP/blib/arch/auto/Digest/SHA1/SHA1.so' for module Digest::SHA1: /usr/local/src/CPAN/build/2015111512/Digest-SHA1-2.13-eqH9zP/blib/arch/auto/Digest/SHA1/SHA1.so: Undefined symbol "PL_stack_sp" at /usr/local/lib/perl5/5.16/mach/DynaLoader.pm line 190.
at /usr/local/src/CPAN/build/2015111512/Cache-Cache-1.08-2IiVot/blib/lib/Cache/FileBackend.pm line 15.
Compilation failed in require at /usr/local/src/CPAN/build/2015111512/Cache-Cache-1.08-2IiVot/blib/lib/Cache/FileBackend.pm line 15.
BEGIN failed--compilation aborted at /usr/local/src/CPAN/build/2015111512/Cache-Cache-1.08-2IiVot/blib/lib/Cache/FileBackend.pm line 15.
Compilation failed in require at /usr/local/src/CPAN/build/2015111512/Cache-Cache-1.08-2IiVot/blib/lib/Cache/FileCache.pm line 20.
BEGIN failed--compilation aborted at /usr/local/src/CPAN/build/2015111512/Cache-Cache-1.08-2IiVot/blib/lib/Cache/FileCache.pm line 20.
Compilation failed in require at /usr/local/src/CPAN/build/2015111512/Cvs-Trigger-0.04-uBXB5_/blib/lib/Cvs/Trigger.pm line 10.
BEGIN failed--compilation aborted at /usr/local/src/CPAN/build/2015111512/Cvs-Trigger-0.04-uBXB5_/blib/lib/Cvs/Trigger.pm line 10.
Compilation failed in require at /var/tmp/cpansmoker-1000/2015111512/2rdjP9KcMx/bin/trigger line 4.
BEGIN failed--compilation aborted at /var/tmp/cpansmoker-1000/2015111512/2rdjP9KcMx/bin/trigger line 4.
cvs commit: Pre-commit check failed
cvs [commit aborted]: correct above errors first!
cannot remove path when cwd is /var/tmp/cpansmoker-1000/2015111512/2rdjP9KcMx/local_root for /var/tmp/cpansmoker-1000/2015111512/2rdjP9KcMx: at /usr/perl5.22.1-RC1sp/lib/5.22.1/File/Temp.pm line 784.
# Looks like your test exited with 1 before it could output anything.
t/001Basic.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 10/10 subtests