[Bug 1315888] Re: Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist

Chris J Arges 1315888 at bugs.launchpad.net
Wed Apr 20 13:44:07 UTC 2016


Hello Ville, or anyone else affected,

Accepted php5 into trusty-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/php5/5.5.9+dfsg-
1ubuntu4.15 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: php5 (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1315888

Title:
  Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist

Status in php:
  Unknown
Status in php5 source package in Trusty:
  Fix Committed

Bug description:
  Distribution: 14.04 - 32bit version
  Actual package versions: 5.5.9+dfsg-1ubuntu4

  [Impact]

  After upgrading to 14.04, all function Zlib-related function calls
  (gzopen() etc) fail with "Fatal error: Call to undefined function
  gzopen() in ...". Function names with 64 added to the end to them
  (gzopen64() etc) work as expected.

  By #undef-ing the zlib-related function calls, the internal rename to
  *64() does not occur in PHP5.

  [Test Case]

  On a i386 system:

  php -r 'var_dump(function_exists("gzopen"));

  Before:
  bool(false)

  After:
  bool(true)

  [Regression Potential]

  The only source of potential regression is if, as a workaround, an
  end-user modified their code on i386 to use the *64() APIs that were
  now exposed. This should not be common, and was not done in any
  official Ubuntu packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1315888/+subscriptions



More information about the Ubuntu-sponsors mailing list