← Back to team overview

ubuntu-translations-coordinators team mailing list archive

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

 

You have been subscribed to a public bug:

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.

** Affects: php
     Importance: Unknown
         Status: Unknown

** Affects: ubuntu-translations
     Importance: Undecided
         Status: New

** Affects: php5 (Ubuntu)
     Importance: Medium
     Assignee: Nish Aravamudan (nacc)
         Status: Invalid

** Affects: phpmyadmin (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: php5 (Ubuntu Trusty)
     Importance: High
         Status: In Progress

** Affects: phpmyadmin (Ubuntu Trusty)
     Importance: Undecided
         Status: Invalid


** Tags: patch regression-release
-- 
Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist
https://bugs.launchpad.net/bugs/1315888
You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations.