php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
Submitted: 2012-06-22 15:24 UTC Modified: 2013-03-19 16:39 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: long at ku dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.3.14 OS: Red Hat Enterprise Linux AS rele
Private report: No CVE-ID:
 [2012-06-22 15:24 UTC] long at ku dot edu
Description:
------------
When I run 'make test' it now crashes:

PASS SOAP Server 17: user fault (through return) [ext/soap/tests/server017.phpt] 
PASS SOAP Server 18: user fault (through throw) [ext/soap/tests/server018.phpt] 
PHP Fatal error:  Call to undefined function gzencode() in /apps/home/long/src/php5.3-201206221330/run-tests.php on line 1712

Fatal error: Call to undefined function gzencode() in /apps/home/long/src/php5.3-201206221330/run-tests.php on line 1712
[long@wbtstap php5.3-201206221330]$

This did not happen in 5.3.13 and earlier.

Here is the config.nice that was used:

#! /bin/sh
#
# Created by configure

CFLAGS='-O3' \
CXXFLAGS='-O3' \
LIBS='-lssl -lncurses' \
'./configure' \
'--enable-discard-path' \
'--with-openssl=shared' \
'--with-zlib=shared' \
'--enable-bcmath' \
'--with-bz2=shared' \
'--enable-calendar' \
'--with-curl=shared' \
'--enable-dba=shared' \
'--with-gdbm=shared' \
'--with-db4=shared' \
'--enable-dbase' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd=shared' \
'--enable-gd-native-ttf' \
'--enable-gd-jis-conv' \
'--with-gettext=shared' \
'--with-gmp=shared' \
'--with-imap=shared' \
'--with-kerberos' \
'--with-imap-ssl' \
'--with-ldap' \
'--enable-mbstring' \
'--with-mysql=/usr' \
'--with-ncurses=shared' \
'--with-oci8' \
'--with-pspell=shared' \
'--with-readline=shared' \
'--enable-shmop' \
'--with-snmp=shared' \
'--enable-sockets' \
'--with-sqlite=shared' \
'--with-pdo-sqlite=shared' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-wddx' \
'--with-freetype-dir' \
'--with-jpeg-dir' \
'--with-xpm-dir' \
'--enable-cgi' \
'--with-mysqli' \
'--enable-pdo=shared' \
'--with-pdo-mysql=shared' \
'--with-pdo-oci=shared' \
'--with-tidy' \
'--enable-soap=shared' \
'--enable-zip' \
"$@"


Expected result:
----------------
'make test' should not bomb out, errors should be trapped, etc.


Actual result:
--------------
...
PASS SOAP Server 17: user fault (through return) [ext/soap/tests/server017.phpt] 
PASS SOAP Server 18: user fault (through throw) [ext/soap/tests/server018.phpt] 
PHP Fatal error:  Call to undefined function gzencode() in /apps/home/long/src/php5.3-201206221330/run-tests.php on line 1712

Fatal error: Call to undefined function gzencode() in /apps/home/long/src/php5.3-201206221330/run-tests.php on line 1712
[long@wbtstap php5.3-201206221330]$

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-07 09:58 UTC] meths at btinternet dot com
I found this bug report after encountering it on 5.4.x and I duplicated the issue seen with 5.3.14 at the time.

I can confirm with my latest attempts that this seems fixed in 5.3.x but is still occurring with 5.4.x as of 5.4.10.
 [2013-03-19 16:39 UTC] long at ku dot edu
I'm stilling seeing this error in 5.3.23 contrary to previous post.
 [2013-10-01 15:02 UTC] mike@php.net
Automatic comment on behalf of mike
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cd1cab3f4726751a0476ac8701ce09cc37cb36df
Log: fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
 [2013-10-01 15:02 UTC] mike@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 16 18:01:53 2014 UTC