[Bug 1310552] Re: could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/packagename.tgz"

Chingachkuk win32.ya at gmail.com
Sat Sep 6 10:15:55 UTC 2014


*** 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



More information about the Ubuntu-server-bugs mailing list