Bug #19289 [Opn]: Invalid tar file generated
| From: | cweiske@php.net | Date: | Thu, 23 Feb 2012 10:59:50 +0000 |
| Subject: | Bug #19289 [Opn]: Invalid tar file generated | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8310@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1
ID: 19289
Updated by: cweiske@php.net
Reported By: slusarz at curecanti dot org
Summary: Invalid tar file generated
Status: Open
Type: Bug
Package: Archive_Tar
Operating System: Linux
Package Version: 1.3.8
PHP Version: 5.3.10
Roadmap Versions:
New Comment:
The problem also happens on pecl packages:
$ wget http://pecl.php.net/get/mongo-1.2.8.tgz
$ LC_ALL=C tar -ztvf mongo-1.2.8.tgz
-rw-r--r-- derick/derick 23107 2012-02-22 17:55 package.xml
tar: A lone zero block at 48
Same with pecl_http-1.7.2
Previous Comments:
------------------------------------------------------------------------
[2012-02-23 10:59:15] derick
This also affects "pear package". Broken packages are:
pecl/mongo-1.2.8
pecl/pecl_http-1.7.2
pecl/pecl_httpd-2.0.0dev5
------------------------------------------------------------------------
[2012-02-16 22:00:22] mrook
Strange... it seems in your file a lone zero block (512 bytes) is
inserted just before
test2.txt, after the block containing test1.txt. I'll try & reproduce
this but it's going to
be tricky.
------------------------------------------------------------------------
[2012-02-16 20:27:14] slusarz
Looks like there is no way of attaching a file, so here's a link:
http://www.curecanti.org/data/test.tgz
------------------------------------------------------------------------
[2012-02-16 20:24:48] slusarz
slusarz@bigworm % pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.8 stable
slusarz@bigworm % pear list Archive_Tar
Installed Files For Archive_Tar
===============================
Type Install Path
php /httpd/lib/php/pear/Archive/Tar.php
doc /httpd/lib/php/pear/doc/Archive_Tar/docs/Archive_Tar.txt
Can verify this is the only copy of Archive_Tar on the system:
slusarz@bigworm % locate Archive/Tar
/httpd/lib/php/pear/Archive/Tar.php
/usr/share/perl5/core_perl/Archive/Tar
/usr/share/perl5/core_perl/Archive/Tar.pm
/usr/share/perl5/core_perl/Archive/Tar/Constant.pm
/usr/share/perl5/core_perl/Archive/Tar/File.pm
I will try rebuilding PHP from scratch (make distclean) to see if that
helps.... Nope, still broken. (and installation of PHP guarantees that
the latest version of Archive_Tar is installed).
I will attach the output from my example script.
------------------------------------------------------------------------
[2012-02-16 18:41:58] mrook
Can you please verify the installed version of Archive_Tar? Using your
test script I
can't reproduce the error. Also, a similar bug was reported and fixed
(#5452).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=19289
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19289&edit=1