|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62416 yaz-1.1.2.tgz cannot be extracted
Submitted: 2012-06-26 02:48 UTC Modified: 2012-06-27 11:28 UTC
From: php-bugs-2012 at ryandesign dot com Assigned: dickmeiss (profile)
Status: Closed Package: yaz (PECL)
PHP Version: 5.4.4 OS: OS X 10.6.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
26 + 35 = ?
Subscribe to this entry?

 [2012-06-26 02:48 UTC] php-bugs-2012 at ryandesign dot com
yaz-1.1.2.tgz cannot be extracted correctly. It only appears to contain the 
package.xml file; no source code. yaz-1.1.1.tgz did not have this problem.

Test script:
$ find .
$ openssl dgst -sha256 yaz-1.1.1.tgz
SHA256(yaz-1.1.1.tgz)= c15e4b849be9625c3a8f384fe05bb043aa15b82730c4fb06e3dafef63a96efb0
$ tar xzf yaz-1.1.1.tgz
$ find .
$ rm -rf package.xml yaz-1.1.1
$ openssl dgst -sha256 yaz-1.1.2.tgz
SHA256(yaz-1.1.2.tgz)= caac8ae06cd3872e2a0732c61812d55dc257a305d8d96be92a9347a313e19098
$ tar xzf yaz-1.1.2.tgz
$ find .
$ rm package.xml
$ gnutar xzf yaz-1.1.2.tgz 
gnutar: A lone zero block at 7
$ find .
$ rm package.xml
$ tar --version
bsdtar 2.6.2 - libarchive 2.6.2
$ gnutar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-26 09:53 UTC] php-bugs-2012 at ryandesign dot com
Are you perhaps using an old version of Archive_Tar to package this? There was a bug causing this kind of issue which was fixed in Archive_Tar 1.3.9:
 [2012-06-27 03:39 UTC] php-bugs-2012 at ryandesign dot com
As a workaround until the tgz file is fixed, the --ignore-zeros flag can be 
passed to gnutar:

$ gnutar xzf yaz-1.1.2.tgz --ignore-zeros
$ find .
 [2012-06-27 11:28 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: dickmeiss
 [2012-06-27 11:28 UTC]
I've released another version fixing this.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 08:01:30 2024 UTC