#23571 [Csd]: pear package not including correct files

From: Date: Sun, 11 May 2003 19:58:03 +0000
Subject: #23571 [Csd]: pear package not including correct files
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16159@lists.php.net to get a copy of this message
ID: 23571 Updated by: davey@php.net Reported By: davey@php.net Status: Closed Bug Type: PEAR related Operating System: Win32 (XP) PHP Version: 4CVS-2003-05-09 (stable) Assigned To: vblavet New Comment: Just confirming that it is indeed fixed. Good job. - Davey Previous Comments: ------------------------------------------------------------------------ [2003-05-11 11:28:49] vblavet@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. The bug is corrected in the last CVS version Tar.php 1.10. The problem was introduced when adding the bz2 compression. When adding files in an existing archive, an invalid empty block (which normally indicates the end of the archive) is not removed between the existing files (here package.xml) and the other files. http://cvs.php.net/co.php/pear/Archive_Tar/Archive/Tar.php?login=2&r=1.10 ------------------------------------------------------------------------ [2003-05-11 09:18:18] vblavet@php.net I confirm that I see the same problem on my system (win2k). The archive contains all the files, and seems to be readable and extractible by Archive_Tar. However Winzip or gnu tar sees only the package.xml file. I'm working on that. I already see one strange behavior while troubleshooting the problem. The Archive_Tar_1.0.tgz package released with the snapshot contains the Tar.php version 1.9 and not the stable version 1.5. It seems that Archive_Tar_1.0.tgz is not the good one, but an auto generated one .... ------------------------------------------------------------------------ [2003-05-10 18:46:27] davey@php.net the versions Pierre is talking about, are the CVS Revisions for Archive_Tar, placing Revision 1.5 from the 24 April snapshot into the 10th May snapshot means the tgz is created correctly. One more thing to note, is that the package size does not (seem to) change (7KB when broken or not), and it just seems as though the other files are not acknowledged, is there some sort of TOC that could be corrupted? - Davey ------------------------------------------------------------------------ [2003-05-10 18:43:41] pajoye@php.net ERR, Assigned to Vincent :-)) ------------------------------------------------------------------------ [2003-05-10 18:36:05] pajoye@php.net After some investigations done by Davey, it broke some time between: 200304240030 and PHP 4.3.2RC2 (April 28th). something broke between 1.5 and 1.15. I assigned this bug to Bertrand. Is it possible to freeze it until 4.3.2 has been released (+a few weeks after)? As it is used by the installer/packager, it will be hard to keep the distros safe. Please note, this bug is weird and seems to exist only on some system (I cannot reproduce it on my XP/2K boxes), but using the revision 1.15 solves it. hth pierre ------------------------------------------------------------------------ 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://bugs.php.net/23571 -- Edit this bug report at http://bugs.php.net/?id=23571&edit=1

« previous php.pear.dev (#16159) next »