Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
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(
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.
summary: |
- Zlib functions (gzopen etc.) are undefined + Zlib functions (gzopen etc.) are undefined while gzopen64 etc. exist |
description: | updated |
Changed in php5 (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in php5 (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in php5 (Ubuntu Trusty): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in php5 (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in php5 (Ubuntu Trusty): | |
status: | In Progress → Confirmed |
description: | updated |
Changed in php5 (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Nish Aravamudan (nacc) |
description: | updated |
tags: | added: regression-release |
affects: | wordpress → ubuntu-translations |
no longer affects: | ubuntu-translations |
no longer affects: | php5 (Ubuntu) |
no longer affects: | phpmyadmin (Ubuntu) |
no longer affects: | phpmyadmin (Ubuntu Trusty) |
Changed in php5 (Ubuntu Trusty): | |
status: | Fix Committed → Triaged |
tags: | removed: verification-failed |
tags: | removed: verification-needed |
This is known upstream problem:
https:/ /bugs.php. net/bug. php?id= 53829
We should probably enable the patch in the Debian build when we unbreak the LFS build.