Script started, file is module-build-script-session.txt : bq_cdavis bq-pc-rr05 ~/tmp ; # Start a clean shell, with no environment, : bq_cdavis bq-pc-rr05 ~/tmp ; # (in any empty directory with write permission) : bq_cdavis bq-pc-rr05 ~/tmp ; exec -cl /bin/bash --noprofile bash-4.1$ bash-4.1$ # Simple pmtools bash-4.1$ function pmvers { perl -M$1 -e "print \"\$$1::VERSION\n\"" ; } bash-4.1$ pmvers Module::Build 0.3603 bash-4.1$ # 0.3603 ] 53,977 --.-K/s in 0.04s 2011-03-11 14:52:31 (1.26 MB/s) - written to stdout [53977/53977] bash-4.1$ cd local-lib-* bash-4.1$ perl Makefile.PL --bootstrap *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - ExtUtils::MakeMaker ...loaded. (6.56 >= 6.31) - ExtUtils::Install ...loaded. (1.55 >= 1.43) - Module::Build ...loaded. (0.3603 >= 0.36) - CPAN ...loaded. (1.9456 >= 1.82) *** Module::AutoInstall configuration finished. Writing Makefile for local::lib bash-4.1$ make install Skip blib/lib/POD2/PT_BR/local/lib.pod (unchanged) Skip blib/lib/lib/core/only.pm (unchanged) Skip blib/lib/local/lib.pm (unchanged) Skip blib/lib/POD2/DE/local/lib.pod (unchanged) Manifying blib/man3/POD2::PT_BR::local::lib.3pm Manifying blib/man3/lib::core::only.3pm Manifying blib/man3/local::lib.3pm Manifying blib/man3/POD2::DE::local::lib.3pm Appending installation info to /home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi/perllocal.pod bash-4.1$ eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib) bash-4.1$ # Check it bash-4.1$ echo $PERL5LIB /home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi:/home/bq_cdavis/perl5/lib/perl5 bash-4.1$ cd .. bash-4.1$ bash-4.1$ # Probably don't have Test::More yet, otherwise skip this block ] 107,255 --.-K/s in 0.08s 2011-03-11 14:52:33 (1.32 MB/s) - written to stdout [107255/107255] bash-4.1$ cd Test-Simple-* bash-4.1$ perl Makefile.PL Writing Makefile for Test::Simple bash-4.1$ make install Skip blib/lib/Test/Builder/Tester/Color.pm (unchanged) Skip blib/lib/Test/Builder.pm (unchanged) Skip blib/lib/Test/Simple.pm (unchanged) Skip blib/lib/Test/Builder/IO/Scalar.pm (unchanged) Skip blib/lib/Test/More.pm (unchanged) Skip blib/lib/Test/Builder/Module.pm (unchanged) Skip blib/lib/Test/Builder/Tester.pm (unchanged) Skip blib/lib/Test/Tutorial.pod (unchanged) Manifying blib/man3/Test::Builder::Tester::Color.3pm Manifying blib/man3/Test::Simple.3pm Manifying blib/man3/Test::Builder.3pm Manifying blib/man3/Test::Builder::IO::Scalar.3pm Manifying blib/man3/Test::More.3pm Manifying blib/man3/Test::Builder::Tester.3pm Manifying blib/man3/Test::Builder::Module.3pm Manifying blib/man3/Test::Tutorial.3pm Appending installation info to /home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi/perllocal.pod bash-4.1$ cd .. bash-4.1$ bash-4.1$ # First, Assume we have an old version of the prereq bash-4.1$ dp01=http://dl.dropbox.com/u/6526608/Dummy-Prereq-0.01.tar.gz bash-4.1$ wget -O - $dp01 | tar -xzf - --2011-03-11 14:52:35-- http://dl.dropbox.com/u/6526608/Dummy-Prereq-0.01.tar.gz Resolving dl.dropbox.com... 184.72.243.56 Connecting to dl.dropbox.com|184.72.243.56|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2685 (2.6K) [application/x-tar] Saving to: `STDOUT' 100%[======================================>] 2,685 --.-K/s in 0s 2011-03-11 14:52:36 (239 MB/s) - written to stdout [2685/2685] bash-4.1$ cd Dummy-Prereq-0.01 bash-4.1$ perl Build.PL Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Dummy-Prereq' version '0.01' bash-4.1$ ./Build test && ./Build install t/00-load.t ....... 1/1 # Testing Dummy::Prereq 0.01, Perl 5.012003, /usr/bin/perl t/00-load.t ....... ok t/manifest.t ...... skipped: Author tests not required for installation t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t ........... skipped: Test::Pod 1.22 required for testing POD All tests successful. Files=4, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.07 cusr 0.01 csys = 0.11 CPU) Result: PASS Building Dummy-Prereq bash-4.1$ # Check that it's 0.01 bash-4.1$ perl -MDummy::Prereq -e 'print "$Dummy::Prereq::VERSION\n"' 0.01 bash-4.1$ cd .. bash-4.1$ ] 2,875 --.-K/s in 0s 2011-03-11 14:52:37 (30.8 MB/s) - written to stdout [2875/2875] bash-4.1$ cd Dummy-Module/ bash-4.1$ perl Build.PL Checking prerequisites... requires: ! Dummy::Prereq (0.01) is installed, but we need version >= 0.02 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Dummy-Module' version '0.01' bash-4.1$ # MB correctly identifies that we need v0.02 and only have v0.01 bash-4.1$ < ./Build script contains our additions (here from local::lib) to $PERL5LIB bash-4.1$ # grep '@INC' -A 4 Build bash-4.1$ # unshift @INC, bash-4.1$ # ( bash-4.1$ # '/home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi', bash-4.1$ # '/home/bq_cdavis/perl5/lib/perl5' bash-4.1$ # ); bash-4.1$ cd .. bash-4.1$ ] 2,692 --.-K/s in 0s 2011-03-11 14:52:38 (200 MB/s) - written to stdout [2692/2692] bash-4.1$ cd Dummy-Prereq-0.02 bash-4.1$ perl Build.PL Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Dummy-Prereq' version '0.02' bash-4.1$ ./Build test t/00-load.t ....... 1/1 # Testing Dummy::Prereq 0.02, Perl 5.012003, /usr/bin/perl t/00-load.t ....... ok t/manifest.t ...... skipped: Author tests not required for installation t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t ........... skipped: Test::Pod 1.22 required for testing POD All tests successful. Files=4, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.06 cusr 0.02 csys = 0.12 CPU) Result: PASS blib/lib/Dummy/Module.pm t/00-load.t ................ 1..1 ok 1 - use Dummy::Module; # Testing Dummy::Module 0.01, Perl 5.012003, /usr/bin/perl ok t/manifest.t ............... 1..0 # SKIP Author tests not required for installation skipped: Author tests not required for installation t/pod-coverage.t ........... 1..0 # SKIP Test::Pod::Coverage 1.08 required for testing POD coverage skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .................... 1..0 # SKIP Test::Pod 1.22 required for testing POD skipped: Test::Pod 1.22 required for testing POD t/right-prereq-versions.t .. ok 1 - use Dummy::Prereq; not ok 2 - Right version of Prereq: 0.01 # Failed test 'Right version of Prereq: 0.01' # at t/right-prereq-versions.t line 12. # got: '0.01' # expected: '0.02' # # PERL5LIB: # /net/netfile2/ag-russell/bq_cdavis/tmp/Dummy-Module/blib/lib # /net/netfile2/ag-russell/bq_cdavis/tmp/Dummy-Module/blib/arch # /home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi # /home/bq_cdavis/perl5/lib/perl5/i386-linux-thread-multi # /home/bq_cdavis/perl5/lib/perl5 # /net/netfile2/ag-russell/bq_cdavis/tmp/Dummy-Prereq-0.02/blib/lib # /net/netfile2/ag-russell/bq_cdavis/tmp/Dummy-Prereq-0.02/blib/arch # /usr/local/lib/perl5 # /usr/local/share/perl5 # /usr/lib/perl5 # /usr/share/perl5 # /usr/lib/perl5 # /usr/share/perl5 # /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi # /usr/local/lib/perl5/site_perl/5.10.0 # /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi # /usr/lib/perl5/vendor_perl # /usr/lib/perl5/site_perl # 1..2 # Looks like you failed 1 test of 2. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/right-prereq-versions.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=5, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.08 cusr 0.03 csys = 0.14 CPU) Result: FAIL Failed 1/5 test programs. 1/3 subtests failed. bash-4.1$ # Which dies, because Dummy::Prereq is still version 0.01