Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 13636
Status: resolved
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: arnaud [...] underlands.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.24
Fixed in: (no value)



Subject: Archive::Tar fail to untar module archive whereas tar succeed
Catalyst::Helper::Controller::Scaffold::HTML::Template can't be installed as Archive::Tar complain about checksums error. (see: http://www.nntp.perl.org/group/perl.cpan.testers/222796) I've tested locally (with http://search.cpan.org/CPAN/authors/id/A/AA/AASSAD/Catalyst-Helper-Controller-Scaffold-HTML-Template-0.03.tar.gz) and I got the same problem using Archive::Tar list_files method. The strange thing is that tar (GNU tar 1.15.1) handle the archive without any problem. May be my archive is malformed (although it was built using the usual 'make dist' method) but I'd like to know what is the problem to correct it. TIA.
[AASSAD - Mon Jul 11 04:45:20 2005]: Show quoted text
> Catalyst::Helper::Controller::Scaffold::HTML::Template can't be > installed as Archive::Tar complain about checksums error. > (see: http://www.nntp.perl.org/group/perl.cpan.testers/222796) > > I've tested locally (with > http://search.cpan.org/CPAN/authors/id/A/AA/AASSAD/Catalyst-Helper- > Controller-Scaffold-HTML-Template-0.03.tar.gz) and I got the same > problem using Archive::Tar list_files method. > > The strange thing is that tar (GNU tar 1.15.1) handle the archive > without any problem. > > May be my archive is malformed (although it was built using the usual > 'make dist' method) but I'd like to know what is the problem to > correct it.
The problem was in some heuristics of Archive::Tar to compensate for slighly broken tar headers. In this case, due to the convergence of several unlikely factors, it compensated in the wrong way =/ I've fixed this and released a 1.25 that should be free of this issue. Please upgrade to this version. Here is the complete change list of 1.5: * important changes in version 1.25 20/8/2005: - Move the changes into it's own file - Add patch from abeltje to make tests pass on VMS. This is *just* the tests -- code may need some extra work to be reliable (#12678) - Add faq about accessing 'tar.Z' files, as provided by Paul Marquess - Add a warning if the read() call from new() fails to return data - Address #13636, where heuristics were 'upgrading' a file to a directory if the file had an @LongLink entry, and the shortened filename ended in a '/'. - Add ptardiff program as suggested by KWILLIAMS (#13658)