pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40096: perl module dependency-checking broken



>Number:         40096
>Category:       pkg
>Synopsis:       perl module dependency-checking broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 03 13:50:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX 6.5.30; MIPSpro Compilers, version 7.4.4m
>Description:

If a package requires a perl module, the build process currently fails with, 
e.g.

===> su-do-clean [p5-Test-Exception-0.27nb1] ===> Cleaning for 
p5-Test-Exception-0.27nb1
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [p5-Test-Exception-0.27nb1] ===> Checking for 
vulnerabilities in p5-Test-Exception-0.27nb1
=> Checksum SHA1 OK for Test-Exception-0.27.tar.gz
=> Checksum RMD160 OK for Test-Exception-0.27.tar.gz
===> depends-message [p5-Test-Exception-0.27nb1] ===> Installing dependencies 
for p5-Test-Exception-0.27nb1
=> Full dependency p5-Sub-Uplevel>=0.18: found p5-Sub-Uplevel-0.2002
=> Full dependency p5-Test-Simple>=0.7: NOT found
=> Verifying reinstall for ../../devel/p5-Test-Simple
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [p5-Test-Simple-0.84, p5-Test-Exception-0.27nb1] 
===> Checking for vulnerabilities in p5-Test-Simple-0.84
===> install-message [p5-Test-Simple-0.84, p5-Test-Exception-0.27nb1] ===> 
Installing for p5-Test-Simple-0.84
=> Running PRE-INSTALL script actions
bmake: don't know how to make /usr/bsd/lib32/perl5/5.10.0/mips-irix/Config.pm. 
Stop

bmake: stopped in /usr/bsd/var/tmp/devel/p5-Test-Simple/work/Test-Simple-0.84
*** Error code 2

Stop.
bmake: stopped in /usr/bsd/src/devel/p5-Test-Simple
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/devel/p5-Test-Simple
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/devel/p5-Test-Simple
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/devel/p5-Test-Exception

... but if I then immediately go to the directory of the dependency and build 
it, then the same process succeeds:

===> su-do-clean [p5-Test-Simple-0.84] ===> Cleaning for p5-Test-Simple-0.84
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [p5-Test-Simple-0.84] ===> Checking for 
vulnerabilities in p5-Test-Simple-0.84
=> Checksum SHA1 OK for Test-Simple-0.84.tar.gz
=> Checksum RMD160 OK for Test-Simple-0.84.tar.gz
===> depends-message [p5-Test-Simple-0.84] ===> Installing dependencies for 
p5-Test-Simple-0.84
=> Full dependency perl<5.12.0: found perl-5.10.0nb2
=> Full dependency perl>=5.10.0: found perl-5.10.0nb2
===> tools-message [p5-Test-Simple-0.84] ===> Overriding tools for 
p5-Test-Simple-0.84
===> extract-message [p5-Test-Simple-0.84] ===> Extracting for 
p5-Test-Simple-0.84
===> patch-message [p5-Test-Simple-0.84] ===> Patching for p5-Test-Simple-0.84
===> wrapper-message [p5-Test-Simple-0.84] ===> Creating toolchain wrappers for 
p5-Test-Simple-0.84
===> configure-message [p5-Test-Simple-0.84] ===> Configuring for 
p5-Test-Simple-0.84
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Simple
===> build-message [p5-Test-Simple-0.84] ===> Building for p5-Test-Simple-0.84
cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/Color.pm
cp lib/Test/Builder.pm blib/lib/Test/Builder.pm
cp lib/Test/Simple.pm blib/lib/Test/Simple.pm
cp lib/Test/More.pm blib/lib/Test/More.pm
cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm
cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm
cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod
Manifying blib/man3/Test::Builder::Tester::Color.3
Manifying blib/man3/Test::Simple.3
Manifying blib/man3/Test::Builder.3
Manifying blib/man3/Test::More.3
Manifying blib/man3/Test::Builder::Tester.3
Manifying blib/man3/Test::Builder::Module.3
Manifying blib/man3/Test::Tutorial.3
=> Unwrapping files-to-be-installed.
===> test-message [p5-Test-Simple-0.84] ===> Testing for p5-Test-Simple-0.84
PERL_DL_NONLAZY=1 /usr/bsd/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/00test_harness_check..........ok                                           
t/bad_plan......................ok                                           
t/bail_out......................ok                                           
t/BEGIN_require_ok..............ok                                           
t/BEGIN_use_ok..................ok                                           
t/buffer........................ok                                           
t/Builder/Builder...............ok                                           
t/Builder/carp..................ok                                           
t/Builder/create................ok                                           
t/Builder/curr_test.............ok                                           
t/Builder/details...............ok                                           
t/Builder/has_plan..............ok                                           
t/Builder/has_plan2.............ok                                           
t/Builder/is_fh.................ok                                           
t/Builder/maybe_regex...........ok                                           
t/Builder/no_diag...............ok                                           
t/Builder/no_ending.............ok                                           
t/Builder/no_header.............ok                                           
t/Builder/ok_obj................ok                                           
t/Builder/output................ok                                           
t/Builder/reset.................ok                                           
t/Builder/reset_outputs.........ok                                           
t/Builder/try...................ok                                           
t/circular_data.................ok                                           
t/cmp_ok........................ok                                           
t/diag..........................ok                                           
t/died..........................ok                                           
t/dont_overwrite_die_handler....ok                                           
t/eq_set........................ok                                           
t/exit..........................ok                                           
t/explain.......................ok                                           
t/extra.........................ok                                           
t/extra_one.....................ok                                           
t/fail-like.....................ok                                           
t/fail-more.....................ok                                           
t/fail..........................ok                                           
t/fail_one......................ok                                           
t/filehandles...................ok                                           
t/fork..........................ok                                           
t/harness_active................ok                                           
t/import........................ok                                           
t/is_deeply_dne_bug.............ok                                           
t/is_deeply_fail................ok                                           
t/is_deeply_with_threads........skipped
        all skipped: many perls have broken threads.  Enable with 
AUTHOR_TESTING.
t/missing.......................ok                                           
t/More..........................ok                                           
t/new_ok........................ok                                           
t/no_plan.......................ok                                           
t/no_tests......................ok                                           
t/note..........................ok                                           
t/overload......................ok                                           
t/overload_threads..............ok                                           
        1/5 skipped: various reasons
t/plan..........................ok                                           
t/plan_bad......................ok                                           
t/plan_is_noplan................ok                                           
t/plan_no_plan..................ok                                           
        1/6 skipped: various reasons
t/plan_shouldnt_import..........ok                                           
t/plan_skip_all.................skipped
        all skipped: Just testing plan & skip_all
t/pod-coverage..................skipped
        all skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod...........................ok                                           
t/require_ok....................ok                                           
t/simple........................ok                                           
t/skip..........................ok                                           
        8/17 skipped: various reasons
t/skipall.......................ok                                           
t/tbm_doesnt_set_exported_to....ok                                           
t/Tester/tbt_01basic............ok                                           
t/Tester/tbt_02fhrestore........ok                                           
t/Tester/tbt_03die..............ok                                           
t/Tester/tbt_04line_num.........ok                                           
t/Tester/tbt_05faildiag.........ok                                           
t/Tester/tbt_06errormess........ok                                           
t/Tester/tbt_07args.............ok                                           
t/thread_taint..................ok                                           
t/threads.......................ok                                           
t/todo..........................ok                                           
t/undef.........................ok                                           
t/use_ok........................ok                                           
t/useing........................ok                                           
t/utf8..........................skipped
        all skipped: Not yet implemented
All tests successful, 4 tests and 10 subtests skipped.
Files=79, Tests=594, 15 wallclock secs (11.19 cusr +  2.84 csys = 14.03 CPU)
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [p5-Test-Simple-0.84] ===> Checking for 
vulnerabilities in p5-Test-Simple-0.84
===> install-message [p5-Test-Simple-0.84] ===> Installing for 
p5-Test-Simple-0.84
=> Running PRE-INSTALL script actions
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Builder.pm
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Simple.pm
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/More.pm
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Tutorial.pod
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Builder/Module.pm
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Builder/Tester.pm
Installing /usr/bsd/lib/perl5/vendor_perl/5.10.0/Test/Builder/Tester/Color.pm
Installing 
/usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Builder::Tester::Color.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Simple.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Builder.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::More.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Builder::Tester.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Builder::Module.3
Installing /usr/bsd/lib/perl5/vendor_perl/man/man3/Test::Tutorial.3
Writing 
/usr/bsd/lib/perl5/vendor_perl/5.10.0/mipseb-irix-thread-multi/auto/Test/Simple/.packlist
Appending installation info to 
/usr/bsd/lib/perl5/5.10.0/mipseb-irix-thread-multi/perllocal.pod
=> Automatic manual page handling
=> Running POST-INSTALL script actions
=> Registering installation for p5-Test-Simple-0.84
p5-Test-Simple-0.84 requires installed package perl-5.10.0nb2

>How-To-Repeat:

Is this a problem where stale build directories are preventing a build?  Is it 
a known problem, or is there any element of the build system which tries to 
deal with stale work directories which may not be working properly in this case?
>Fix:



Home | Main Index | Thread Index | Old Index