Skip Menu |

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

Report information
The Basics
Id: 56253
Status: open
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: develop [...] traveljury.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.58
Fixed in: (no value)



Subject: tar files from github are not extracted properly
Hiya tar.gz files from github are extracted without error, but are missing several files. For instance, compare the result of extracting http://github.com/elasticsearch/elasticsearch/tarball/master with GNU tar and with Archive::Tar. I think this may be related to this bug: https://rt.cpan.org/Ticket/Display.html?id=50669 Any way to work around this? thanks Clint
On Sat Apr 03 10:50:08 2010, DRTECH wrote: Show quoted text
> Hiya > > tar.gz files from github are extracted without error, but are missing > several files. For instance, compare the result of extracting > http://github.com/elasticsearch/elasticsearch/tarball/master with GNU > tar and with Archive::Tar. > > I think this may be related to this bug: > https://rt.cpan.org/Ticket/Display.html?id=50669 > > Any way to work around this? > > thanks > > Clint >
I am able to reproduce this problem. Today I downloaded the same elasticsearch tarball from github. Using GNUtar 1.28 on Ubuntu Linux 16.04 LTS, I called 'tar xzvf <archive>' and got a directory which 'find' reported as containing 7311 files (-f entities). Archive::Tar gave up after extracting only 15 files -- but did not die or throw an exception. See attachments.
Subject: 56253-archive-tar.pl
# perl use strict; use warnings; use 5.10.1; use Data::Dumper;$Data::Dumper::Indent=1; use Data::Dump qw( pp ); use Carp; use Archive::Tar; my @extracted; my $archive = 'elastic-elasticsearch-v5.0.0-alpha5-842-g7e3863d.tar.gz'; @extracted = Archive::Tar->extract_archive($archive) or croak "Unable to call extract_archive"; pp(\@extracted);
Subject: via_archive_tar_files_extracted.txt
[ "elastic-elasticsearch-7e3863d/", "elastic-elasticsearch-7e3863d/.dir-locals.el", "elastic-elasticsearch-7e3863d/.editorconfig", "elastic-elasticsearch-7e3863d/.github/", "elastic-elasticsearch-7e3863d/.github/ISSUE_TEMPLATE.md", "elastic-elasticsearch-7e3863d/.github/PULL_REQUEST_TEMPLATE.md", "elastic-elasticsearch-7e3863d/.gitignore", "elastic-elasticsearch-7e3863d/.projectile", "elastic-elasticsearch-7e3863d/CONTRIBUTING.md", "elastic-elasticsearch-7e3863d/GRADLE.CHEATSHEET", "elastic-elasticsearch-7e3863d/LICENSE.txt", "elastic-elasticsearch-7e3863d/NOTICE.txt", "elastic-elasticsearch-7e3863d/README.textile", "elastic-elasticsearch-7e3863d/TESTING.asciidoc", "elastic-elasticsearch-7e3863d/Vagrantfile", "elastic-elasticsearch-7e3863d/benchmarks/", "elastic-elasticsearch-7e3863d/benchmarks/README.md", "elastic-elasticsearch-7e3863d/benchmarks/build.gradle", "elastic-elasticsearch-7e3863d/benchmarks/src/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/java/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/benchmark/", "elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/benchmark/routing/", ]