Subject: | tar problems under armv5tejl-linux |
CPAN v1.9205 has some problems with tar under armv5tejl-linux
environment (WD World Edition Drive).
Some modules cannot be unpacked with /bin/tar for no reason, while other
works just fine.
For example:
== Correct builing ==
cpan[2]> install Test::Pod::Coverage
Running install for module 'Test::Pod::Coverage'
Running make for P/PE/PETDANCE/Test-Pod-Coverage-1.08.tar.gz
Prepending /root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/arch
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/lib to PERL5LIB for 'get'
Prepending /root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/arch
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build P/PE/PETDANCE/Test-Pod-Coverage-1.08.tar.gz
Writing Makefile for Test::Pod::Coverage
(/usr/local/bin/perl Makefile.PL exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
cp Coverage.pm blib/lib/Test/Pod/Coverage.pm
(/usr/bin/make exited with 0)
CPAN::Reporter: make result is 'pass', No errors.
PETDANCE/Test-Pod-Coverage-1.08.tar.gz
/usr/bin/make -- OK
Prepending /root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/arch
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/lib to PERL5LIB for 'test'
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load..................# Testing Test::Pod::Coverage 1.08
ok
t/all_modules..............ok
t/all_pod_coverage_ok......ok
t/alt_class................ok
t/nopod....................ok
t/nosymbols................ok
t/parms....................ok
t/pod......................ok
t/privates.................ok
t/self.....................ok
t/simple...................ok
All tests successful.
Files=11, Tests=23, 30 wallclock secs ( 0.99 usr 0.30 sys + 26.38 cusr
1.75 csys = 29.42 CPU)
Result: PASS
(/usr/bin/make test exited with 0)
CPAN::Reporter: Test result is 'pass', All tests successful.
CPAN::Reporter: preparing a CPAN Testers report for Test-Pod-Coverage-1.08
CPAN::Reporter: sending test report with 'pass' to cpan-testers@perl.org
PETDANCE/Test-Pod-Coverage-1.08.tar.gz
/usr/bin/make test -- OK
Running make install
Prepending /root/.cpan/build/Test-Pod-Coverage-1.08-IiBctl/blib/arch
/root/.cpan/build/Test-Pod-Coverage-1.08-IiBctl/blib/lib
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/arch
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/lib to PERL5LIB for
'install'
Installing /usr/local/lib/perl5/site_perl/5.8.8/Test/Pod/Coverage.pm
Writing
/usr/local/lib/perl5/site_perl/5.8.8/armv5tejl-linux/auto/Test/Pod/Coverage/.packlist
Appending installation info to
/usr/local/lib/perl5/5.8.8/armv5tejl-linux/perllocal.pod
PETDANCE/Test-Pod-Coverage-1.08.tar.gz
/usr/bin/make install -- OK
== Failed building ==
cpan[3]> install CPAN::SQLite
Running install for module 'CPAN::SQLite'
Running make for R/RK/RKOBES/CPAN-SQLite-0.195.tar.gz
Prepending /root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/arch
/root/.cpan/build/FindBin-Real-1.05-9KwSc1/blib/lib to PERL5LIB for 'get'
CPAN: LWP::UserAgent loaded ok (v2.036)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
/authors/id/R/RK/RKOBES/CPAN-SQLite-0.195.tar.gz
LWP failed with code[400] message[URL must be absolute]
Fetching with LWP:
ftp://bc1.hpc.lsu.edu/pub/mirrors/CPAN/authors/id/R/RK/RKOBES/CPAN-SQLite-0.195.tar.gz
Fetching with LWP:
ftp://bc1.hpc.lsu.edu/pub/mirrors/CPAN/authors/id/R/RK/RKOBES/CHECKSUMS
Checksum for
/root/.cpan/sources/authors/id/R/RK/RKOBES/CPAN-SQLite-0.195.tar.gz ok
Uncompressed
/root/.cpan/sources/authors/id/R/RK/RKOBES/CPAN-SQLite-0.195.tar.gz
successfully
Using Tar:/bin/tar xvvf "CPAN-SQLite-0.195.tar":
Couldn't untar CPAN-SQLite-0.195.tar
First installation works fine, while second fails. Every next build of
the same package fails too.
"tar zxvvf" of tar.gz file and "tar xvvf" of tar file in temporary
directory extract contents correctly.
Is it possible to try Archive::Tar if tar fails for some reason?
--
Serguei Trouchelle