Mon Nov 28 23:44:24 2011: Request 72796 was acted upon. Transaction: Ticket created by SPICEMAN Queue: Module-ScanDeps Subject: dynaloader test fails when the .so files are in the system lib dirs and local::lib is involved? Broken in: 1.06 Severity: Normal Owner: Nobody Requestors: spice...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72796 >
Hi, I came up against something that smells like a bug but this is kind of above me and can't pinpoint exactly what was going on. (I just use all this great stuff that "just works" with no real knowledge on the inner workings.) While installing M::SD with cpanm the t/7-check-dynaloader.t test failed. (build log attached) This is in CentOS 5.6 VM, perl 5.8.8. local::lib configured at /opt/perl5. (env vars attached) My workaround was installing the latest List::Util into l::l, and the M::SD test got what they expected.
t/6-file-glob.t ................................. ok # dynamic modules used for test: Cwd File::Glob Data::Dumper List::Util Compress::Raw::Zlib # Failed test 'the full bundle path we got looks legit' # at t/7-check-dynaloader.t line 96. # got: '/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so' # expected: '/usr/lib/perl5/5.8.8/auto/List/Util/Util.so' # Failed test 'the full bundle path we got looks legit' # at t/7-check-dynaloader.t line 96. # got: '/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so' # expected: '/usr/lib/perl5/5.8.8/auto/List/Util/Util.so' # Failed test 'the full bundle path we got looks legit' # at t/7-check-dynaloader.t line 96. # got: '/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so' # expected: '/usr/lib/perl5/5.8.8/auto/List/Util/Util.so' # Looks like you failed 3 tests of 30. t/7-check-dynaloader.t .......................... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/30 subtests t/8-check_duplicated_entries.t .................. ok t/9-check_path_to_inc_name.t .................... ok Test Summary Report ------------------- t/7-check-dynaloader.t (Wstat: 768 Tests: 30 Failed: 3) Failed tests: 20, 22, 24 Non-zero exit status: 3 Files=17, Tests=10589, 40 wallclock secs ( 6.40 usr 1.26 sys + 24.33 cusr 5.32 csys = 37.31 CPU) Result: FAIL Failed 1/17 test programs. 3/10589 subtests failed. make: *** [test_dynamic] エラー 255 -> FAIL Installing Module::ScanDeps failed. See /home/spiceman/.cpanm/build.log for details.
declare -x PATH="/opt/perl5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/spiceman/bin" declare -x PERL5LIB="/opt/perl5/lib/perl5/i386-linux-thread-multi:/opt/perl5/lib/perl5" declare -x PERL_LOCAL_LIB_ROOT="/opt/perl5" declare -x PERL_MB_OPT="--install_base /opt/perl5" declare -x PERL_MM_OPT="INSTALL_BASE=/opt/perl5"