FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

ID: 19289
Updated by: mrook@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:

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).


Previous Comments:
------------------------------------------------------------------------

[2012-02-13 06:38:06] slusarz

Description:
------------
Discovered when packaging a PEAR release for the Horde project... the
tgz file was created but attempting to decompress the file would give
the error "tar: A lone zero block at #".

Test script to reproduce is below.

Test script:
---------------
@unlink('test1.txt');
file_put_contents('test1.txt', 'a');

@unlink('test2.txt');
file_put_contents('test2.txt', 'b');

require_once 'Archive/Tar.php';
@unlink('test.tgz');
$a = new Archive_Tar('test.tgz', 'gz');
$a->createModify(array('test1.txt'), '');
$a->addModify(array('test2.txt'), '');


Expected result:
----------------
After running test script, test.tgz file is created.

Attempting to untar, this is the output:

slusarz@bigworm % tar zxvf test.tgz
test2.txt
tar: A lone zero block at 3

Actual result:
--------------
Verified that adding the '-i' option to tar (--ignore zeros) fixes
decompression:

slusarz@bigworm % tar zxvfi test.tgz
test1.txt
test2.txt

------------------------------------------------------------------------

Search Discussions

  • Slusarz at Feb 16, 2012 at 7:23 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: slusarz@curecanti.org
    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:

    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.


    Previous Comments:
    ------------------------------------------------------------------------

    [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).

    ------------------------------------------------------------------------

    [2012-02-13 06:38:06] slusarz

    Description:
    ------------
    Discovered when packaging a PEAR release for the Horde project... the
    tgz file was created but attempting to decompress the file would give
    the error "tar: A lone zero block at #".

    Test script to reproduce is below.

    Test script:
    ---------------
    @unlink('test1.txt');
    file_put_contents('test1.txt', 'a');

    @unlink('test2.txt');
    file_put_contents('test2.txt', 'b');

    require_once 'Archive/Tar.php';
    @unlink('test.tgz');
    $a = new Archive_Tar('test.tgz', 'gz');
    $a->createModify(array('test1.txt'), '');
    $a->addModify(array('test2.txt'), '');


    Expected result:
    ----------------
    After running test script, test.tgz file is created.

    Attempting to untar, this is the output:

    slusarz@bigworm % tar zxvf test.tgz
    test2.txt
    tar: A lone zero block at 3

    Actual result:
    --------------
    Verified that adding the '-i' option to tar (--ignore zeros) fixes
    decompression:

    slusarz@bigworm % tar zxvfi test.tgz
    test1.txt
    test2.txt

    ------------------------------------------------------------------------
  • Slusarz at Feb 16, 2012 at 7:25 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Comment by: slusarz@curecanti.org
    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:

    Looks like there is no way of attaching a file, so here's a link:

    http://www.curecanti.org/data/test.tgz


    Previous Comments:
    ------------------------------------------------------------------------

    [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).

    ------------------------------------------------------------------------

    [2012-02-13 06:38:06] slusarz

    Description:
    ------------
    Discovered when packaging a PEAR release for the Horde project... the
    tgz file was created but attempting to decompress the file would give
    the error "tar: A lone zero block at #".

    Test script to reproduce is below.

    Test script:
    ---------------
    @unlink('test1.txt');
    file_put_contents('test1.txt', 'a');

    @unlink('test2.txt');
    file_put_contents('test2.txt', 'b');

    require_once 'Archive/Tar.php';
    @unlink('test.tgz');
    $a = new Archive_Tar('test.tgz', 'gz');
    $a->createModify(array('test1.txt'), '');
    $a->addModify(array('test2.txt'), '');


    Expected result:
    ----------------
    After running test script, test.tgz file is created.

    Attempting to untar, this is the output:

    slusarz@bigworm % tar zxvf test.tgz
    test2.txt
    tar: A lone zero block at 3

    Actual result:
    --------------
    Verified that adding the '-i' option to tar (--ignore zeros) fixes
    decompression:

    slusarz@bigworm % tar zxvfi test.tgz
    test1.txt
    test2.txt

    ------------------------------------------------------------------------
  • Mrook at Feb 16, 2012 at 8:58 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: mrook@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:

    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.


    Previous Comments:
    ------------------------------------------------------------------------

    [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).

    ------------------------------------------------------------------------

    [2012-02-13 06:38:06] slusarz

    Description:
    ------------
    Discovered when packaging a PEAR release for the Horde project... the
    tgz file was created but attempting to decompress the file would give
    the error "tar: A lone zero block at #".

    Test script to reproduce is below.

    Test script:
    ---------------
    @unlink('test1.txt');
    file_put_contents('test1.txt', 'a');

    @unlink('test2.txt');
    file_put_contents('test2.txt', 'b');

    require_once 'Archive/Tar.php';
    @unlink('test.tgz');
    $a = new Archive_Tar('test.tgz', 'gz');
    $a->createModify(array('test1.txt'), '');
    $a->addModify(array('test2.txt'), '');


    Expected result:
    ----------------
    After running test script, test.tgz file is created.

    Attempting to untar, this is the output:

    slusarz@bigworm % tar zxvf test.tgz
    test2.txt
    tar: A lone zero block at 3

    Actual result:
    --------------
    Verified that adding the '-i' option to tar (--ignore zeros) fixes
    decompression:

    slusarz@bigworm % tar zxvfi test.tgz
    test1.txt
    test2.txt

    ------------------------------------------------------------------------
  • Derick at Feb 23, 2012 at 9:57 am
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: derick@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:

    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


    Previous Comments:
    ------------------------------------------------------------------------

    [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).

    ------------------------------------------------------------------------

    [2012-02-13 06:38:06] slusarz

    Description:
    ------------
    Discovered when packaging a PEAR release for the Horde project... the
    tgz file was created but attempting to decompress the file would give
    the error "tar: A lone zero block at #".

    Test script to reproduce is below.

    Test script:
    ---------------
    @unlink('test1.txt');
    file_put_contents('test1.txt', 'a');

    @unlink('test2.txt');
    file_put_contents('test2.txt', 'b');

    require_once 'Archive/Tar.php';
    @unlink('test.tgz');
    $a = new Archive_Tar('test.tgz', 'gz');
    $a->createModify(array('test1.txt'), '');
    $a->addModify(array('test2.txt'), '');


    Expected result:
    ----------------
    After running test script, test.tgz file is created.

    Attempting to untar, this is the output:

    slusarz@bigworm % tar zxvf test.tgz
    test2.txt
    tar: A lone zero block at 3

    Actual result:
    --------------
    Verified that adding the '-i' option to tar (--ignore zeros) fixes
    decompression:

    slusarz@bigworm % tar zxvfi test.tgz
    test1.txt
    test2.txt

    ------------------------------------------------------------------------
  • Cweiske at Feb 23, 2012 at 9:57 am
    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
  • Derick at Feb 23, 2012 at 11:31 am
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: derick@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:

    Good news. I found the bug. Attaching a patch. Can you please make a bug
    fix release of this ASAP?


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-02-23 10:59:50] cweiske

    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

    ------------------------------------------------------------------------

    [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.

    ------------------------------------------------------------------------

    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
  • Johannes at Feb 23, 2012 at 1:09 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: johannes@schlueters.de
    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:

    Ideally we'd have an updated PEAR package before building 5.4.0. :-)


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-02-23 12:35:41] derick

    Added #patch
    bug:19289;patch:pear-archive-tar-19289.diff.txt;revision:1330000541;.

    ------------------------------------------------------------------------

    [2012-02-23 12:33:00] derick

    Good news. I found the bug. Attaching a patch. Can you please make a bug
    fix release of this ASAP?

    ------------------------------------------------------------------------

    [2012-02-23 10:59:50] cweiske

    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

    ------------------------------------------------------------------------

    [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.

    ------------------------------------------------------------------------

    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
  • Mrook at Feb 24, 2012 at 3:23 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: mrook@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:
    +Roadmap Versions: 1.3.9
    New Comment:

    -Roadmap Versions:
    +Roadmap Versions: 1.3.9
    Thanks for the patch, pushing this out ASAP.


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-02-23 14:11:25] johannes

    Ideally we'd have an updated PEAR package before building 5.4.0. :-)

    ------------------------------------------------------------------------

    [2012-02-23 12:35:41] derick

    Added #patch
    bug:19289;patch:pear-archive-tar-19289.diff.txt;revision:1330000541;.

    ------------------------------------------------------------------------

    [2012-02-23 12:33:00] derick

    Good news. I found the bug. Attaching a patch. Can you please make a bug
    fix release of this ASAP?

    ------------------------------------------------------------------------

    [2012-02-23 10:59:50] cweiske

    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

    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------

    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
  • Mrook at Feb 24, 2012 at 3:27 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19289&edit=1

    ID: 19289
    Updated by: mrook@php.net
    Reported By: slusarz at curecanti dot org
    Summary: Invalid tar file generated
    -Status: Open
    +Status: Closed
    Type: Bug
    Package: Archive_Tar
    Operating System: Linux
    Package Version: 1.3.8
    PHP Version: 5.3.10
    -Assigned To:
    +Assigned To: mrook
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Closed
    -Assigned To:
    +Assigned To: mrook
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on pear.php.net
    by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.




    Previous Comments:
    ------------------------------------------------------------------------

    [2012-02-24 16:25:17] mrook

    -Roadmap Versions:
    +Roadmap Versions: 1.3.9
    Thanks for the patch, pushing this out ASAP.

    ------------------------------------------------------------------------

    [2012-02-23 14:11:25] johannes

    Ideally we'd have an updated PEAR package before building 5.4.0. :-)

    ------------------------------------------------------------------------

    [2012-02-23 12:35:41] derick

    Added #patch
    bug:19289;patch:pear-archive-tar-19289.diff.txt;revision:1330000541;.

    ------------------------------------------------------------------------

    [2012-02-23 12:33:00] derick

    Good news. I found the bug. Attaching a patch. Can you please make a bug
    fix release of this ASAP?

    ------------------------------------------------------------------------

    [2012-02-23 10:59:50] cweiske

    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

    ------------------------------------------------------------------------

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 16, '12 at 5:40p
activeFeb 24, '12 at 3:27p
posts10
users6
websitepear.php.net

People

Translate

site design / logo © 2022 Grokbase