Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #19867 go-pear.phar and install-pear-nozlib.phar containing old/buggy PEAR packages
Submitted: 2013-03-24 06:47 UTC
From: tyrael Assigned: doconnor
Status: Closed Package: PEAR
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2013-03-24 06:47 UTC] tyrael (Ferenc Kovacs)
Description: ------------ we bumped into the issue that installing php 5.5 from source wouldn't install pear/pecl. we realized that this happens because the php installation process downloads and uses http://pear.php.net/install-pear- nozlib.phar it seems from the Last-Modified header that this file was built a year ago (10 Apr 2012 18:40:39 GMT based), and therefore contains old packages: Archive_Tar-1.3.7.tar vs Archive_Tar-1.3.11.tar Console_Getopt-1.3.0.tar vs Console_Getopt-1.3.1.tar The problem is that the Archive_Tar 1.3.7 package has at least one showstopper problem with php 5.5 (http://pear.php.net/bugs/bug.php?id=19746). You would need to rebuild that package and I figured out that make-installpear-nozlib-phar.php in the pear-core repo would be used for that, unfortunately that script was broken. I've fixed that up, and also noticed that go-pear.phar has the same problem, so I fixed that also and sent a pull request with the fix: https://github.com/pear/pear-core/pull/12 and now that I did this, I've just noticed that there is an almost identical pending pull request fixing the same issue: https://github.com/pear/pear-core/pull/10 sigh, if I would have found that before digging into the code.

Comments

 [2013-03-25 04:07 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
 [2013-03-25 07:49 UTC] tyrael (Ferenc Kovacs)
hi, thanks for looking into this. are you sure you rebuilt the phar files on pear.php.net? just downloaded http://pear.php.net/go-pear.phar and http://pear.php.net/go-pear.phar and they still contain old versions. maybe you forgot to rm the contents of go-pear-tarballs and download the latest versions via pear download -Z PEAR Archive_Tar Console_Getopt Structures_Graph XML_Util ?
 [2013-03-25 10:39 UTC] doconnor (Daniel O'Connor)
-Status: Closed +Status: Open
Didn't re-build, just committed the fixes. If you know what to do / have access; go for it. If you need access, I'll grant it.
 [2013-03-25 11:05 UTC] tyrael (Ferenc Kovacs)
you have to rebuild those two phar files on pear.php.net using the two make- file that I've sent the pull requests for. I don't have access to the euk1.php.net machine which serves pear.php.net, but if you add me there, I can rebuild the files myself. you can contact me via mail (tyrael@php.net) for my pubkey and such.
 [2013-03-26 02:01 UTC] cweiske (Christian Weiske)
-Status: Assigned +Status: Closed
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/