Subject: | selfupdate fails using local::lib with perl 5.12.0 |
Ubuntu 10.04 x86_64
perl 5.12.0 installed in ~/perl-5.12 with ./Configure -des
-Dprefix=$HOME/perl-5.12
local::lib installed with perl Makefile.PL --bootstrap=~/perl-5.12/
content of .bashrc:
eval $(perl -I$HOME/perl-5.12/lib/perl5 -Mlocal::lib=$HOME/perl-5.12)
This is the output from CPAN Terminal> s selfupdate all
[MSG] No '/home/abraxxa/.cpanplus/custom-sources' dir, skipping custom
sources
[MSG] No '/home/abraxxa/.cpanplus/custom-sources' dir, skipping custom
sources
The following updates will take place:
Core:
CPANPLUS 0.90 -> 0.9003
Dependencies:
No upgrades required
Modules for 'md5' support:
No upgrades required
Modules for 'prefer_makefile' support:
No upgrades required
Modules for 'shell' support:
No upgrades required
Modules for 'storable' support:
No upgrades required
Updating your CPANPLUS installation
Running [/home/abraxxa/perl-5.12/bin/perl
/home/abraxxa/perl-5.12/bin/cpanp-run-perl
/home/abraxxa/.cpanplus/5.12.0/build/CPANPLUS-0.9003/Makefile.PL]...
### IMPORTANT! ######################################################
As of CPANPLUS 0.070, configuration during 'perl Makefile.PL'
is no longer required. A default config is now shipped that
should work out of the box on most machines, for priviliged
and unprivileged users.
If you wish to configure CPANPLUS to your environment, you can
either do that from the interactive shell after installation:
$ cpanp
CPAN Terminal> s reconfigure
Or you can invoke this program as follows, to do it now:
$ /home/abraxxa/perl-5.12/bin/perl Makefile.PL --setup
This also means that any config created by any CPANPLUS older
than 0.070 will no longer work, and you are required to
reconfigure. See the ChangeLog file for details.
We appologize for the inconvenience.
### PLEASE NOTE ###################################################
CPANPLUS also ships a 'boxed' cpanp client, so you can run it
out of it's extraction dir, by typing:
$ perl bin/cpanp-boxed
This may help you with bootstrap issues, or other situations
where you need to use CPANPLUS but can not use a system installation.
You can install all of CPANPLUS' dependencies like this, before
installing CPANPLUS itself by running:
$ perl bin/cpanp-boxed -s selfupdate dependencies
All the modules bundled are found in the 'inc/bundle' directory. If
you, for whatever reason, wish to not install these from cpan, you
could include them into your environment as such (using tcsh):
$ setenv PERL5LIB
/home/abraxxa/.cpanplus/5.12.0/build/CPANPLUS-0.9003/inc/bundle
###################################################################
Writing Makefile for CPANPLUS
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /home/abraxxa/perl-5.12/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib',
'blib/arch')" t/*.t
t/00_CPANPLUS-Internals-Utils.t ............... ok
t/01_CPANPLUS-Configure.t ..................... ok
t/02_CPANPLUS-Internals.t ..................... ok
t/031_CPANPLUS-Internals-Source-SQLite.t ...... skipped: SQLite engine
not available
t/032_CPANPLUS-Internals-Source-via-sqlite.t .. skipped: SQLite engine
not available
t/03_CPANPLUS-Internals-Source.t .............. ok
t/04_CPANPLUS-Module.t ........................ ok
t/05_CPANPLUS-Internals-Fetch.t ............... ok
t/06_CPANPLUS-Internals-Constants.t ........... ok
t/07_CPANPLUS-Internals-Extract.t ............. ok
t/08_CPANPLUS-Backend.t ....................... ok
t/09_CPANPLUS-Internals-Search.t .............. ok
t/10_CPANPLUS-Error.t ......................... ok
t/15_CPANPLUS-Shell.t ......................... ok
t/19_CPANPLUS-Dist.t .......................... ok
Only one of PREFIX or INSTALL_BASE can be given. Not both.
# Failed test 'Installing module'
# at t/20_CPANPLUS-Dist-MM.t line 153.
# Failed test ' Module installed according to status'
# at t/20_CPANPLUS-Dist-MM.t line 158.
# Looks like you failed 2 tests of 83.
t/20_CPANPLUS-Dist-MM.t .......................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/83 subtests
(less 8 skipped subtests: 73 okay)
t/21_CPANPLUS-Dist-No-Build.t ................. ok
t/25_CPANPLUS.t ............................... ok
t/30_CPANPLUS-Internals-Selfupdate.t .......... ok
t/40_CPANPLUS-Internals-Report.t .............. ok
Test Summary Report
-------------------
t/20_CPANPLUS-Dist-MM.t (Wstat: 512 Tests: 83 Failed: 2)
Failed tests: 21-22
Non-zero exit status: 2
Files=20, Tests=1615, 14 wallclock secs ( 0.22 usr 0.02 sys + 8.19
cusr 1.94 csys = 10.37 CPU)
Result: FAIL
Failed 1/20 test programs. 2/1615 subtests failed.
make: *** [test_dynamic] Fehler 255
[ERROR] MAKE TEST failed: Inappropriate ioctl for device
PERL_DL_NONLAZY=1 /home/abraxxa/perl-5.12/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib',
'blib/arch')" t/*.t
t/00_CPANPLUS-Internals-Utils.t ............... ok
t/01_CPANPLUS-Configure.t ..................... ok
t/02_CPANPLUS-Internals.t ..................... ok
t/031_CPANPLUS-Internals-Source-SQLite.t ...... skipped: SQLite engine
not available
t/032_CPANPLUS-Internals-Source-via-sqlite.t .. skipped: SQLite engine
not available
t/03_CPANPLUS-Internals-Source.t .............. ok
t/04_CPANPLUS-Module.t ........................ ok
t/05_CPANPLUS-Internals-Fetch.t ............... ok
t/06_CPANPLUS-Internals-Constants.t ........... ok
t/07_CPANPLUS-Internals-Extract.t ............. ok
t/08_CPANPLUS-Backend.t ....................... ok
t/09_CPANPLUS-Internals-Search.t .............. ok
t/10_CPANPLUS-Error.t ......................... ok
t/15_CPANPLUS-Shell.t ......................... ok
t/19_CPANPLUS-Dist.t .......................... ok
Only one of PREFIX or INSTALL_BASE can be given. Not both.
# Failed test 'Installing module'
# at t/20_CPANPLUS-Dist-MM.t line 153.
# Failed test ' Module installed according to status'
# at t/20_CPANPLUS-Dist-MM.t line 158.
# Looks like you failed 2 tests of 83.
t/20_CPANPLUS-Dist-MM.t .......................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/83 subtests
(less 8 skipped subtests: 73 okay)
t/21_CPANPLUS-Dist-No-Build.t ................. ok
t/25_CPANPLUS.t ............................... ok
t/30_CPANPLUS-Internals-Selfupdate.t .......... ok
t/40_CPANPLUS-Internals-Report.t .............. ok
Test Summary Report
-------------------
t/20_CPANPLUS-Dist-MM.t (Wstat: 512 Tests: 83 Failed: 2)
Failed tests: 21-22
Non-zero exit status: 2
Files=20, Tests=1615, 14 wallclock secs ( 0.22 usr 0.02 sys + 8.19
cusr 1.94 csys = 10.37 CPU)
Result: FAIL
Failed 1/20 test programs. 2/1615 subtests failed.
make: *** [test_dynamic] Fehler 255
The tests for 'CPANPLUS' failed. Would you like me to proceed anyway or
should we abort?