Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual-lived Cwd.pm problem again on Fedora, test failed with SHIPWRIGHT_TEST_EXTRA=1 #2

Open
cheese opened this issue Nov 13, 2013 · 0 comments

Comments

@cheese
Copy link

cheese commented Nov 13, 2013

Fedora uses the Cwd.pm from PathTools CPAN distribution and places it to
/usr/lib64/perl5/vendor_perl/ .

So if some procedure deletes this path, it will fail to find this module.

Tested Shipwright-2.4.36.

+ make test SHIPWRIGHT_TEST_EXTRA=1 -j8
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/00.load.t ......... ok
t/01.repo_check.t ... ok
t/02.shipwright.t ... ok
t/03.backend.t ...... ok
t/04.source.t ....... ok
CPAN related output will be at /tmp/shipwright_cpan.log
t/05.util.t ......... ok
t/06.logger.t ....... ok
t/07.script.t ....... ok
t/08.build.t ........ ok
t/10.flags.t ........ ok

#   Failed test 'Build.PL and Makefile.PL are run'
#   at /home/cheese/pkgdb/perl-Shipwright/Shipwright-2.4.36/blib/lib/Shipwright/Test.pm line 244.
#                   'building tgz_build
# '
#     doesn't match '(?^ms:run, run, Build\.PL.*run, run, Makefile\.PL)'
# Looks like you failed 1 test of 136.
t/71.script_cmds.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/136 subtests 
        (less 103 skipped subtests: 32 okay)
build Foo-Bar configure part failed, last output of build.log is:
        found build for Foo-Bar, will install Foo-Bar using that
        build configure part in Foo-Bar with cmd: /usr/bin/perl -I/tmp/shipwright_build_A57HpV/inc -MShipwright::Util::CleanINC Makefile.PL LIB=/tmp/shipwright_install_HFt0vL/lib/perl5/ PREFIX=/tmp/shipwright_install_HFt0vL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
        running shipwright build command: /usr/bin/perl -I/tmp/shipwright_build_A57HpV/inc -MShipwright::Util::CleanINC Makefile.PL LIB=/tmp/shipwright_install_HFt0vL/lib/perl5/ PREFIX=/tmp/shipwright_install_HFt0vL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
        Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: blib/lib blib/arch /tmp/shipwright_install_HFt0vL/lib/perl5/x86_64-linux-thread-multi /tmp/shipwright_install_HFt0vL/lib/perl5/site_perl /tmp/shipwright_install_HFt0vL/lib/perl5 /tmp/shipwright_install_HFt0vL/as/Linux/lib/perl5/x86_64-linux-thread-multi /tmp/shipwright_install_HFt0vL/as/Linux/lib/perl5/site_perl /tmp/shipwright_install_HFt0vL/as/Linux/lib/perl5 /tmp/shipwright_build_A57HpV/inc /usr/lib64/perl5 /usr/share/perl5 .) at inc/Module/Install.pm line 110.
        BEGIN failed--compilation aborted at inc/Module/Install.pm line 110.
        Compilation failed in require at Makefile.PL line 1.
        BEGIN failed--compilation aborted at Makefile.PL line 1.
 at bin/shipwright-builder line 605.
        main::_install('Foo-Bar', 'GLOB(0x1160938)') called at bin/shipwright-builder line 435
        main::install() called at bin/shipwright-builder line 300

#   Failed test '/tmp/shipwright_install_HFt0vL/lib/perl5/Foo/Bar.pm exists'
#   at t/hello/fs.t line 196.
# Looks like you failed 1 test of 38.
t/hello/fs.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/38 subtests 
t/hello/git.t ....... ok
t/hello/svk.t ....... ok
t/hello/svn.t ....... ok

Test Summary Report
-------------------
t/71.script_cmds.t (Wstat: 256 Tests: 136 Failed: 1)
  Failed test:  30
  Non-zero exit status: 1
t/hello/fs.t      (Wstat: 256 Tests: 38 Failed: 1)
  Failed test:  37
  Non-zero exit status: 1
Files=15, Tests=352,  9 wallclock secs ( 0.09 usr  0.01 sys +  7.00 cusr  0.91 csys =  8.01 CPU)
Result: FAIL
Failed 2/15 test programs. 2/352 subtests failed.
make: *** [test_dynamic] Error 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant