From: Uri Guttman

>>>>>> "BM" == Bob McConnell <r...@cbord.com> writes:
> 
>  BM> From: Uri Guttman
>  >> i will assume the tarball from cpan is in good shape. so the
issues
>  >> seems to be you have a broken unzipping of a tar.gz file. can you
try
>  >> unzipping another cpan module or any tgz file? this would verify
my
>  >> conjecture or not. can you install a gnu or other real tar
utility?
>  >> cygwin? does winblows unzip handle tarballs correctly in general?
> 
>  BM> Camelbox installed the GNU tar and gzip. Both appear to be
working
>  BM> correctly with Test-Harness-3.17.tar.gz and earlier builds.
> 
>  BM> I went directly to cpan.org and have downloaded each Test-Harness
>  BM> tarball back to 3.17. That is the last one with valid path
information
>  BM> in it. 3.17_01 through 3.21 all come up with no paths in both
WinZip and
>  BM> these GNU utilities. But neither tool has a problem with
>  BM> Test-Harness-3.17.tar.gz, Bundle-CPAN-1.858.tar.gz,
CPAN-1.9402.tar.gz
>  BM> or Net-Pcap-0.16.tar.gz.
> 
>  BM> It is obvious that something has changed. But how do I determine
what?
> 
> i just downloaded and unzipped harness 3.17 and 3.21 and both have
full
> trees. so the tarballs are fine as i expected. the question is why is
> your tar and gzip failing on the recent harness modules but not
> others. try this command on a know working tarball and one that
breaks:
> 
>       tar zxvf Test-Harness-3.17.tar.gz
> 
> the output should show all the paths as the files are extracted. i am
> assuming the camelbones tools work the same as the normal gnu ones. if
> you don't get a nice looking listing of the paths, something very odd
is
> happening. the only last idea is to upgrade camelbones itself.

I am running the current release of Camelbox. It was created during a
Google Summer of Code, and I don't believe it has been updated since.

You're used to the Linux tar as well. GNU won't do that.

-------------------------------------------------
C:\camelbox\.cpan\build\tmp-Test>tar xzvf
D:\Downloads\Test-Harness-3.21.tar.gz
tar: Cannot use compressed or remote archives
tar: Error is not recoverable: exiting now
-------------------------------------------------

But piping from gzip still works. The current build gives me:

-------------------------------------------------
C:\camelbox\.cpan\build\tmp-Test>gzip -dc
D:\Downloads\Test-Harness-3.21.tar.gz
| tar xvf -
Test-Harness-3.21
Build.PL
Changes
Changes-2.64
HACKING.pod
MANIFEST
MANIFEST.CUMMULATIVE
META.yml
Makefile.PL
README
perlcriticrc
bin
prove
examples
README
tar: README: Could not create file: Permission denied
analyze_tests.pl
my_exec
silent-harness.pl
test_urls.txt
bin
forked_tests.pl
test_html.pl
tprove_gtk
harness-hook
hook.pl
lib
Harness
Hook.pm
t
10-stuff.t
ruby.t
inc
MyBuilder.pm
lib
App
Prove.pm
Prove
tar: prove: Could not create directory: Permission denied
...
-------------------------------------------------

Only the older archive will work.

-------------------------------------------------
C:\camelbox\.cpan\build\tmp-Test>gzip -dc
D:\Downloads\Test-Harness-3.17.tar.gz
| tar xvf -
Test-Harness-3.17/
Test-Harness-3.17/Build.PL
Test-Harness-3.17/Changes
Test-Harness-3.17/Changes-2.64
Test-Harness-3.17/HACKING.pod
Test-Harness-3.17/MANIFEST
Test-Harness-3.17/META.yml
Test-Harness-3.17/Makefile.PL
Test-Harness-3.17/README
Test-Harness-3.17/bin/
Test-Harness-3.17/bin/prove
Test-Harness-3.17/examples/
Test-Harness-3.17/examples/README
Test-Harness-3.17/examples/analyze_tests.pl
Test-Harness-3.17/examples/bin/
Test-Harness-3.17/examples/bin/forked_tests.pl
Test-Harness-3.17/examples/bin/test_html.pl
Test-Harness-3.17/examples/bin/tprove_gtk
Test-Harness-3.17/examples/harness-hook/
Test-Harness-3.17/examples/harness-hook/hook.pl
Test-Harness-3.17/examples/harness-hook/lib/
Test-Harness-3.17/examples/harness-hook/lib/Harness/
Test-Harness-3.17/examples/harness-hook/lib/Harness/Hook.pm
Test-Harness-3.17/examples/my_exec
Test-Harness-3.17/examples/silent-harness.pl
Test-Harness-3.17/examples/t/
Test-Harness-3.17/examples/t/10-stuff.t
Test-Harness-3.17/examples/t/ruby.t
Test-Harness-3.17/examples/test_urls.txt
Test-Harness-3.17/inc/
Test-Harness-3.17/inc/MyBuilder.pm
Test-Harness-3.17/lib/
Test-Harness-3.17/lib/App/
-------------------------------------------------

I really don't want to go back to the ActiveState garbage pile, so how
do I fix this?

Bob McConnell

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to