[Bug 1310552] Re: could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz"
*** This bug is a duplicate of bug 1315888 *** https://bugs.launchpad.net/bugs/1315888 Hugo Vieira (hmmvieira) #9 worked like a charm! Thanks man, you really helped! :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz"
*** This bug is a duplicate of bug 1315888 *** https://bugs.launchpad.net/bugs/1315888 workaround from kolAflash (colaflash) worked for me on a raspberrypi2 with ubuntu 14.04 installed, thanks. some changes: files are located in /build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/ original downloads have the ending *.tgz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
*** This bug is a duplicate of bug 1315888 *** https://bugs.launchpad.net/bugs/1315888 Here is the code that helped me getting it working. I injected it to /usr/share/php/Archive/Tar.php. code /** * Missing zlib functions. */ function gzopen($filename, $mode, $use_include_path = 0) { return gzopen64($filename, $mode, $use_include_path); }; function gzseek($zp, $offset, $whence = SEEK_SET) { return gzseek64($zp, $offset, $whence); } function gztell($zp) { return gztell64($zp); } /code ** Attachment added: Patched Tar.php https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+attachment/4196950/+files/Tar.php -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
If the build problem is too hard to solve, the gross solution is to modify the PEAR file Tar.php so that each reference to compression type 'gz' also tests for the build's function, like this: if ($this-_compress_type == 'gz' function_exists('gzopen')) $this-_file = @gzopen($this-_tarname, wb9); else if ($this-_compress_type == 'gz' function_exists('gzopen64')) $this-_file = @gzopen64($this-_tarname, wb9); -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
*** This bug is a duplicate of bug 1315888 *** https://bugs.launchpad.net/bugs/1315888 ** This bug has been marked a duplicate of bug 1315888 Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Hugo's workaround worked for me. I just registered to say thank you ! You're a genius :D -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
The workaround on #5 (by kolAflash) worked for me. I think that it is more safe/stable than the solution on #9, which modifies the code. I do it like this (on a script): 8 pecl install uploadprogress gunzip /build/buildd/php5-*/pear-build-download/uploadprogress-* pear upgrade /build/buildd/php5-*/pear-build-download/uploadprogress-* pear channel-discover pear.drush.org pear install pear.drush.org/drush-6.2.0.0 gunzip /build/buildd/php5-*/pear-build-download/drush-* pear upgrade /build/buildd/php5-*/pear-build-download/drush-* 8 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Thanks Hugo, that works for me -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Thanks kolAflash, your workaround works great. :D -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
I stumbled on this problem today after a fresh install of Xubuntu 14.04 32 bit. For some reason, kolAflash's workaround is not working for me... My investigation led me to /usr/share/php/Archive/Tar.php. This script was unable to open tgz files because line 733 was returning false when checking for the existence of function gzopen. With this information, Google showed me a 5 year old bug (still open) that may be related: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/451405 I really really had to install some pear packages, so my solution was to replace the following in Tar.php: - Lines 733 and 744 - Replace gzopen with gzopen64 - Line 888: Replace gzseek with gzseek64 and gztell with gztell64 This is not a solution but it may help find the solution (or maybe fix the 5 year old's bug?). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
@dreamer-panchal Did you try the workaround I suggested? Did it work? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Hello, Can any one please help me. When this bug is going to solve ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Related: https://bugs.php.net/bug.php?id=67075 http://askubuntu.com/questions/451953/php-pear-is-not-working-after-upgrading-to-ubuntu-14-04 This doesn't helps (actually the mentioned patch seems to be already applied to the Ubuntu files): http://cweiske.de/tagebuch/pear-php-5.5.htm This workaround seems to work for me (still playing around with it). It probably also works for pear install. # First run pear to download the packages. It will probably put the packages into # /build/buildd/php5-5.5.9+dfsg/pear-build-download/ # but it can't install them. $ pear upgrade # Un-Gzip the downloaded packages. $ gunzip /build/buildd/php5-5.5.9+dfsg/pear-build-download/*.tar # Now pear should be able to work with the pure tar-files. $ pear upgrade /build/buildd/php5-5.5.9+dfsg/pear-build-download/*.tar So by this workaround I guess, the bug's reason is something about the gzip compression. ** Bug watch added: bugs.php.net/ #67075 http://bugs.php.net/bug.php?id=67075 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
none that I know of -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: php5 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1310552] Re: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz
Confirming bug on armv7l port. Any workarounds? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1310552 Title: could not extract the package.xml file from /build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs