bobf has asked for the wisdom of the Perl Monks concerning the following question:
I was going to post an RFC on my first-ever module released to CPAN, but it appears there is a problem that needs to be resolved first. I'll post the official RFC after I am convinced others can actually install the thing.
The distribution in question is RandomJungle. There are 8 modules, one of which (TestData.pm) contains the gold-standard data that is used by the test suite. There is something wrong with my build because all of the CPAN test reports are failing with messages like this:
PERL_DL_NONLAZY=1 /home/cpan/pit/thr-ld/perl-5.12.3/bin/perl "-MExtUti +ls::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*. +t Can't locate RandomJungle/TestData.pm in @INC (@INC contains: /home/cp +an/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/RandomJungle-0. +02/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/b +uild/RandomJungle-0.02/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12 +.3/.cpanplus/5.12.3/build/Devel-StackTrace-1.27/blib/lib /home/cpan/p +it/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Devel-StackTrace-1. +27/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/ +build/Carp-1.25/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpan +plus/5.12.3/build/Carp-1.25/blib/arch /home/cpan/pit/thr-ld/conf/perl +-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/blib/lib /home/cpan/p +it/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/bl +ib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build +/Tree-DAG_Node-1.06/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/. +cpanplus/5.12.3/build/Tree-DAG_Node-1.06/blib/arch /home/cpan/pit/thr +-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/lib / +home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-War +n-0.24/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.1 +2.3/build/Devel-StackTrace-1.27/blib/lib /home/cpan/pit/thr-ld/conf/p +erl-5.12.3/.cpanplus/5.12.3/build/Devel-StackTrace-1.27/blib/arch /ho +me/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Carp-1.25/ +blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/buil +d/Carp-1.25/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplu +s/5.12.3/build/Sub-Uplevel-0.24/blib/lib /home/cpan/pit/thr-ld/conf/p +erl-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/blib/arch /home/cp +an/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Tree-DAG_Node-1 +.06/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/ +build/Tree-DAG_Node-1.06/blib/arch /home/cpan/pit/thr-ld/conf/perl-5. +12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/lib /home/cpan/pit/th +r-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/arch + /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Random +Jungle-0.02/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus +/5.12.3/build/RandomJungle-0.02/blib/arch /home/cpan/pit/thr-ld/perl- +5.12.3/lib/site_perl/5.12.3/x86_64-linux-thread-multi-ld /home/cpan/p +it/thr-ld/perl-5.12.3/lib/site_perl/5.12.3 /home/cpan/pit/thr-ld/perl +-5.12.3/lib/5.12.3/x86_64-linux-thread-multi-ld /home/cpan/pit/thr-ld +/perl-5.12.3/lib/5.12.3 .) at t/DB_01.t line 10. BEGIN failed--compilation aborted at t/DB_01.t line 10.
It works perfectly on my local system (of course). As this is my first time through the process, I suspect I'm missing something fairly basic. Could someone please enlighten me?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CPAN tests failing
by moritz (Cardinal) on Apr 28, 2012 at 17:35 UTC | |
by bobf (Monsignor) on Apr 28, 2012 at 17:40 UTC | |
by stevieb (Canon) on Apr 28, 2012 at 18:02 UTC | |
by bobf (Monsignor) on Apr 28, 2012 at 18:12 UTC | |
by stevieb (Canon) on Apr 28, 2012 at 19:55 UTC | |
| |
by stevieb (Canon) on Apr 28, 2012 at 18:53 UTC | |
| |
Re: CPAN tests failing
by stevieb (Canon) on Apr 29, 2012 at 22:06 UTC | |
by bobf (Monsignor) on Apr 30, 2012 at 14:15 UTC |