Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/php.spec'], False, '/var/lib/mock/centos5-rutgers-unstable-build-1230-1548/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/php.spec'] cat: /usr/include/httpd/.mmn: No such file or directory cat: /usr/include/httpd/.mmn: No such file or directory warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/php-5.3.1-2.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php.spec'], False, '/var/lib/mock/centos5-rutgers-unstable-build-1230-1548/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51697 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf php-5.3.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/php-5.3.1.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-5.3.1 ++ /usr/bin/id -u + '[' 73 = 0 ']' ++ /usr/bin/id -u + '[' 73 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (php-5.3.1-gnusrc.patch):' Patch #1 (php-5.3.1-gnusrc.patch): + patch -p1 -b --suffix .gnusrc -s Patch #2 (php-5.3.0-install.patch): + echo 'Patch #2 (php-5.3.0-install.patch):' + patch -p1 -b --suffix .install -s Patch #3 (php-5.2.4-norpath.patch): + echo 'Patch #3 (php-5.2.4-norpath.patch):' + patch -p1 -b --suffix .norpath -s + echo 'Patch #4 (php-5.3.0-phpize64.patch):' + patch -p1 -b --suffix .phpize64 -s Patch #4 (php-5.3.0-phpize64.patch): + echo 'Patch #5 (php-5.2.0-includedir.patch):' Patch #5 (php-5.2.0-includedir.patch): + patch -p1 -b --suffix .includedir -s + echo 'Patch #6 (php-5.2.4-embed.patch):' Patch #6 (php-5.2.4-embed.patch): + patch -p1 -b --suffix .embed -s + echo 'Patch #7 (php-5.3.0-recode.patch):' Patch #7 (php-5.3.0-recode.patch): + patch -p1 -b --suffix .recode -s + echo 'Patch #8 (php-5.3.1-aconf26x.patch):' Patch #8 (php-5.3.1-aconf26x.patch): + patch -p1 -b --suffix .aconf26x -s + echo 'Patch #9 (php-5.3.0-libedit.patch):' Patch #9 (php-5.3.0-libedit.patch): + patch -p1 -b --suffix .libedit -s + echo 'Patch #20 (php-4.3.11-shutdown.patch):' + patch -p1 -b --suffix .shutdown -s Patch #20 (php-4.3.11-shutdown.patch): + echo 'Patch #21 (php-5.2.3-macropen.patch):' Patch #21 (php-5.2.3-macropen.patch): + patch -p1 -b --suffix .macropen -s + echo 'Patch #40 (php-5.0.4-dlopen.patch):' + patch -p1 -b --suffix .dlopen -s Patch #40 (php-5.0.4-dlopen.patch): + echo 'Patch #41 (php-5.3.0-easter.patch):' Patch #41 (php-5.3.0-easter.patch): + patch -p1 -b --suffix .easter -s + echo 'Patch #42 (php-5.3.1-systzdata-v7.patch):' Patch #42 (php-5.3.1-systzdata-v7.patch): + patch -p1 -b --suffix .systzdata -s + echo 'Patch #61 (php-5.0.4-tests-wddx.patch):' Patch #61 (php-5.0.4-tests-wddx.patch): + patch -p1 -b --suffix .tests-wddx -s + echo 'Patch #200 (php5-mysqli-safe-mode.patch):' Patch #200 (php5-mysqli-safe-mode.patch): + patch -p1 -b --suffix .mysqli-safemode -s + cp Zend/LICENSE Zend/ZEND_LICENSE + cp TSRM/LICENSE TSRM_LICENSE + cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT + cp ext/gd/libgd/README gd_README + mkdir build-cgi build-apache build-embedded build-zts + rm -f ext/standard/tests/file/bug21131.phpt + rm -f ext/standard/tests/file/bug22414.phpt ext/iconv/tests/bug16069.phpt ++ sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h + vapi=20090626 + test x20090626 '!=' x20090626 ++ sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h + vzend=20090626 + test x20090626 '!=' x20090626 ++ sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h + vpdo=20080721 + test x20080721 '!=' x20080721 ++ sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h + ver=1.0.5-dev + test 1.0.5-dev '!=' 1.0.5-dev ++ sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h + ver=2.0.1 + test 2.0.1 '!=' 2.0.1 ++ sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h + ver=1.9.1 + test 1.9.1 '!=' 1.9.1 ++ sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h + ver=1.2.1 + test 1.2.1 '!=' 1.2.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.45900 + umask 022 + cd /builddir/build/BUILD + cd php-5.3.1 + LANG=C + export LANG + unset DISPLAY ++ aclocal --print-ac-dir + cat /usr/share/aclocal/libtool.m4 + libtoolize --force --copy libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: You should add the contents of the following files to `aclocal.m4': libtoolize: `/usr/share/aclocal/ltoptions.m4' libtoolize: `/usr/share/aclocal/ltversion.m4' libtoolize: `/usr/share/aclocal/ltsugar.m4' libtoolize: `/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ++ aclocal --print-ac-dir + cat /usr/share/aclocal/libtool.m4 + touch configure.in + ./buildconf --force Forcing buildconf buildconf: checking installation... buildconf: autoconf version 2.63 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running vcsclean for you. To avoid this, install autoconf-2.13. Can't figure out your VCS, not cleaning. rebuilding aclocal.m4 rebuilding configure configure.in:494: warning: AC_CACHE_VAL(have_broken_glibc_fopen_append, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... aclocal.m4:1691: PHP_BROKEN_GLIBC_FOPEN_APPEND is expanded from... ext/mbstring/config.m4:356: warning: AC_CACHE_VAL(cv_php_mbstring_stdarg, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... ext/mbstring/config.m4:67: PHP_MBSTRING_SETUP_MBREGEX is expanded from... ext/pdo_dblib/config.m4:56: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2740: PHP_CHECK_PDO_INCLUDES is expanded from... ext/pdo_firebird/config.m4:48: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_mysql/config.m4:145: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_oci/config.m4:196: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_odbc/config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_pgsql/config.m4:106: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_sqlite/config.m4:16: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/sqlite/config.m4:50: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/standard/config.m4:229: warning: AC_CACHE_VAL(php_can_support_proc_open, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:1349: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd aclocal.m4:2945: LT_INIT is expanded from... aclocal.m4:2980: AC_PROG_LIBTOOL is expanded from... configure.in:1349: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:1349: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:1349: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd configure.in:61: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:200: error: possibly undefined macro: AC_MSG_RESULT configure:131986: error: possibly undefined macro: _LT_AC_TRY_DLOPEN_SELF configure:134023: error: possibly undefined macro: m4_ifval configure:137232: error: possibly undefined macro: _LT_SET_OPTIONS configure:137232: error: possibly undefined macro: LT_INIT rebuilding main/php_config.h.in autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. configure.in:494: warning: AC_CACHE_VAL(have_broken_glibc_fopen_append, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... aclocal.m4:1691: PHP_BROKEN_GLIBC_FOPEN_APPEND is expanded from... ext/mbstring/config.m4:356: warning: AC_CACHE_VAL(cv_php_mbstring_stdarg, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... ext/mbstring/config.m4:67: PHP_MBSTRING_SETUP_MBREGEX is expanded from... ext/pdo_dblib/config.m4:56: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2740: PHP_CHECK_PDO_INCLUDES is expanded from... ext/pdo_firebird/config.m4:48: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_mysql/config.m4:145: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_oci/config.m4:196: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_odbc/config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_pgsql/config.m4:106: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_sqlite/config.m4:16: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/sqlite/config.m4:50: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/standard/config.m4:229: warning: AC_CACHE_VAL(php_can_support_proc_open, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:1349: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd aclocal.m4:2945: LT_INIT is expanded from... aclocal.m4:2980: AC_PROG_LIBTOOL is expanded from... configure.in:1349: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:1349: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:1349: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd ~/build/BUILD/php-5.3.1/build-cgi ~/build/BUILD/php-5.3.1 + CFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wno-pointer-sign' + export CFLAGS + EXTENSION_DIR=/usr/lib64/php/modules + export EXTENSION_DIR + PEAR_INSTALLDIR=/usr/share/pear + export PEAR_INSTALLDIR + pushd build-cgi + build --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --with-interbase=shared,/usr/lib64/firebird --with-pdo-firebird=shared,/usr/lib64/firebird --enable-dom=shared --with-pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --enable-zip=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-mcrypt=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr + mkdir Zend + cp ../Zend/zend_language_parser.c ../Zend/zend_language_parser.h ../Zend/zend_language_scanner.c ../Zend/zend_language_scanner.h ../Zend/zend_ini_parser.c ../Zend/zend_ini_parser.h ../Zend/zend_ini_scanner.c ../Zend/zend_ini_scanner.h Zend + ln -sf ../configure + CFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wno-pointer-sign' + export CFLAGS + CXXFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export FFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-koji-linux-gnu --host=x86_64-koji-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --with-t1lib=/usr --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-kerberos --enable-ucd-snmp-hack --enable-shmop --enable-calendar --without-mime-magic --without-sqlite --with-libxml-dir=/usr --enable-xml --with-dom --with-curl --with-system-tzdata --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --with-interbase=shared,/usr/lib64/firebird --with-pdo-firebird=shared,/usr/lib64/firebird --enable-dom=shared --with-pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --enable-zip=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-mcrypt=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr configure: WARNING: unrecognized options: --with-pic, --without-mime-magic, --with-dom, --enable-force-cgi-redirect, --enable-fastcgi configure: creating cache ../config.cache checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking build system type... x86_64-koji-linux-gnu checking host system type... x86_64-koji-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for x86_64-koji-linux-gnu-cc... no checking for x86_64-koji-linux-gnu-gcc... no checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking for system library directory... lib64 checking whether to enable runpaths... no checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for gawk... gawk checking for bison... no checking for byacc... no checking for bison version... invalid configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none). checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking whether to enable computed goto gcc extension with re2c... no checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking whether to enable Apache charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no checking whether to enable Apache charset compatibility option... no checking for Caudium support... no checking for CLI build... yes checking for Continuity support... no checking for embedded SAPI library support... no checking for Zeus ISAPI support... no checking for LiteSpeed support... no checking for Milter support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking whether Roxen module is build using ZTS... no checking for Roxen/Pike support... checking for thttpd... no checking for TUX... no checking for webjames... no checking whether to build CGI binary... yes checking for socklen_t in sys/socket.h... yes checking for sun_len in sys/un.h... no checking whether cross-process locking is required by accept()... no checking for chosen SAPI module... cgi Running system checks checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking whether byte ordering is bigendian... no checking whether writing to stdout works... This is the test message -- yes checking for socket... yes checking for socketpair... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... no checking for __yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for dlopen... no checking for __dlopen... no checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton... yes checking for nanosleep... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for dirent.h... yes checking for ApplicationServices/ApplicationServices.h... no checking for sys/param.h... yes checking for sys/types.h... (cached) yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser_compat.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... yes checking for dns.h... no checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/ioctl.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for sys/loadavg.h... no checking for termios.h... yes checking for unistd.h... (cached) yes checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for dlfcn.h... yes checking for assert.h... (cached) yes checking for fopencookie... yes checking for broken getcwd... no checking for broken libc stdio... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for missing declarations of reentrant functions... done checking for fclose declaration... ok checking for tm_gmtoff in struct tm... yes checking for struct flock... yes checking for socklen_t... yes checking size of size_t... 8 checking size of long long... 8 checking size of long long int... 8 checking size of long... 8 checking size of int... 4 checking size of intmax_t... 8 checking size of ssize_t... 8 checking size of ptrdiff_t... 8 checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct sockaddr_storage... yes checking for field sa_len in struct sockaddr... no checking for IPv6 support... yes checking for vprintf... yes checking for _doprnt... no checking for alphasort... yes checking for asctime_r... yes checking for chroot... yes checking for ctime_r... yes checking for cuserid... yes checking for crypt... no checking for flock... yes checking for ftok... yes checking for funopen... no checking for gai_strerror... yes checking for gcvt... yes checking for getloadavg... yes checking for getlogin... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getservbyname... yes checking for getservbyport... yes checking for gethostname... (cached) yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for getpwnam_r... yes checking for getgrnam_r... yes checking for getpwuid_r... yes checking for grantpt... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for inet_pton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lchown... yes checking for lrand48... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mmap... yes checking for nl_langinfo... yes checking for perror... yes checking for poll... yes checking for ptsname... yes checking for putenv... yes checking for realpath... yes checking for random... yes checking for rand_r... yes checking for scandir... yes checking for setitimer... yes checking for setlocale... yes checking for localeconv... yes checking for setenv... yes checking for setpgid... yes checking for setsockopt... yes checking for setvbuf... yes checking for shutdown... yes checking for sin... yes checking for snprintf... yes checking for srand48... yes checking for srandom... yes checking for statfs... yes checking for statvfs... yes checking for std_syslog... no checking for strcasecmp... yes checking for strcoll... yes checking for strdup... yes checking for strerror... yes checking for strftime... yes checking for strnlen... yes checking for strptime... yes checking for strstr... yes checking for strtok_r... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unlockpt... yes checking for unsetenv... yes checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for vasprintf... yes checking for asprintf... yes checking for getaddrinfo... yes checking for strlcat... no checking for strlcpy... no checking for getopt... yes checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for working alloca.h... yes checking for alloca... yes checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX checking for readdir_r... yes checking for type of readdir_r... POSIX checking for in_addr_t... yes checking for crypt_r... no General settings checking whether to include gcov symbols... no checking whether to include debugging symbols... no checking layout of installed files... GNU checking path to configuration file... /etc checking where to scan for configuration files... /etc/php.d checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/bin checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... yes checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking how big to make fd sets... using system default Configuring extensions checking size of long... (cached) 8 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking for use of system timezone data... yes checking which regex library to use... php checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... yes checking for Kerberos support... yes checking for krb5-config... /usr/kerberos/bin/krb5-config checking for DSA_get_default_method in -lssl... yes checking for pkg-config... /usr/bin/pkg-config checking for PCRE headers location... /usr/include checking for PCRE library location... /usr/lib64 checking whether to enable the SQLite3 extension... yes, shared checking for sqlite3 files in default path... found in /usr checking for SQLite 3.3.9+... checking for sqlite3_prepare_v2 in -lsqlite3... yes found checking for sqlite3_key in -lsqlite3... no checking for sqlite3_load_extension in -lsqlite3... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes, shared checking for BZip2 support... yes checking for BZip2 in default path... found in /usr checking for BZ2_bzerror in -lbz2... yes checking whether to enable calendar conversion support... yes checking whether to enable ctype functions... yes checking for cURL support... yes, shared checking if we should use cURL for url streams... no checking for cURL 7.10.5 or greater... libcurl 7.15.5 checking for SSL support in libcurl... yes checking how to run the C preprocessor... cc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... yes checking for curl_version_info in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for db4 minor version and patch level... ok checking if dba can be used as shared extension... yes checking for Berkeley DB4 support... yes checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... builtin checking for INI File support... builtin checking for FlatFile support... builtin checking whether to enable DBA interface... yes, shared checking whether to enable DOM support... yes, shared checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for ENCHANT support... yes, shared checking for enchant_broker_set_param in -lenchant... yes checking whether to enable EXIF (metadata from images) support... yes checking for fileinfo support... yes, shared checking for utimes... yes checking for strndup... yes checking whether to enable input filter support... yes checking pcre install prefix... no checking whether to enable FTP support... yes checking OpenSSL dir for FTP... no checking for GD support... yes, shared checking for the location of libjpeg... /usr checking for the location of libpng... /usr checking for the location of libXpm... /usr checking for FreeType 2... /usr checking for T1lib support... /usr checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes checking for XpmFreeXpmImage in -lXpm... yes checking for FT_New_Face in -lfreetype... yes checking for T1_StrError in -lt1... yes checking for GNU gettext support... yes checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... yes checking for ngettext in -lc... yes checking for dngettext in -lc... yes checking for dcngettext in -lc... yes checking for bind_textdomain_codeset in -lc... yes checking for GNU MP support... yes checking for __gmp_randinit_lc_2exp_size in -lgmp... yes checking for mhash support... no checking whether to enable hash support... yes checking whether byte ordering is bigendian... (cached) no checking size of short... 2 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking for iconv support... yes checking for iconv... yes checking if iconv is glibc's... yes checking if iconv supports errno... yes checking if your cpp allows macro usage in include lines... yes checking for IMAP support... yes, shared checking for IMAP Kerberos support... yes checking for IMAP SSL support... yes checking for utf8_mime2text signature... old checking for U8T_CANONICAL... no checking for pam_start in -lpam... yes checking for crypt in -lcrypt... yes checking whether rfc822_output_address_list function present... no checking whether build with IMAP works... yes checking for InterBase support... yes, shared checking for isc_detach_database in -lfbclient... yes checking whether to enable internationalization support... yes, shared checking for location of ICU headers and libraries... /usr checking for ICU 3.4 or greater... found 3.6 checking for x86_64-koji-linux-gnu-g++... no checking for x86_64-koji-linux-gnu-c++... no checking for x86_64-koji-linux-gnu-gpp... no checking for x86_64-koji-linux-gnu-aCC... no checking for x86_64-koji-linux-gnu-CC... no checking for x86_64-koji-linux-gnu-cxx... no checking for x86_64-koji-linux-gnu-cc++... no checking for x86_64-koji-linux-gnu-cl.exe... no checking for x86_64-koji-linux-gnu-FCC... no checking for x86_64-koji-linux-gnu-KCC... no checking for x86_64-koji-linux-gnu-RCC... no checking for x86_64-koji-linux-gnu-xlC_r... no checking for x86_64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether to enable JavaScript Object Serialization support... yes, shared checking for ANSI C header files... (cached) yes checking for LDAP support... yes, shared checking for LDAP Cyrus SASL support... yes checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... yes checking for ldap_parse_reference... yes checking for ldap_start_tls_s... yes checking for sasl_version in -lldap... yes checking for ldap_bind_s... yes checking whether to enable multibyte string support... yes, shared checking whether to enable multibyte regex support... yes checking whether to check multibyte regex backtrack... yes checking for external libmbfl... no checking for external oniguruma... no checking for variable length prototypes and stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for stdarg.h... (cached) yes checking size of int... (cached) 4 checking size of short... (cached) 2 checking size of long... (cached) 8 checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for working memcmp... yes checking for stdarg.h... (cached) yes checking for mcrypt support... yes, shared checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... yes checking for MSSQL support via FreeTDS... yes, shared checking for dnet_addr in -ldnet_stub... no checking for MySQL support... yes, shared checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... yes checking for MySQLi support... yes, shared checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... yes checking for mysql_set_character_set in -lmysqlclient... yes checking for mysql_stmt_next_result in -lmysqlclient... no checking for Oracle (OCI8) support... no checking for unixODBC support... yes, shared checking whether to enable pcntl support... yes checking for fork... yes checking for waitpid... yes checking for sigaction... yes checking for getpriority... yes checking for setpriority... yes checking for wait3... yes checking for sigprocmask... yes checking for sigwaitinfo... yes checking for sigtimedwait... yes checking whether to enable PDO support... yes, shared checking for PDO_DBLIB support via FreeTDS... yes, shared checking for PDO includes... checking for PDO includes... /builddir/build/BUILD/php-5.3.1/ext checking for dnet_addr in -ldnet_stub... (cached) no checking for Firebird support for PDO... yes, shared checking for isc_detach_database in -lfbclient... (cached) yes checking for PDO includes... (cached) /builddir/build/BUILD/php-5.3.1/ext checking for MySQL support for PDO... yes, shared checking for mysql_config... /usr/bin/mysql_config checking for mysql_query in -lmysqlclient... yes checking for mysql_commit... yes checking for mysql_stmt_prepare... yes checking for mysql_next_result... yes checking for mysql_sqlstate... yes checking for PDO includes... (cached) /builddir/build/BUILD/php-5.3.1/ext checking Oracle OCI support for PDO... no checking for ODBC v3 support for PDO... yes, shared checking for PDO includes... (cached) /builddir/build/BUILD/php-5.3.1/ext checking for selected PDO ODBC flavour... unixODBC libs /usr/lib64, headers /usr/include checking for odbc.h in /usr/include... no checking for odbcsdk.h in /usr/include... no checking for iodbc.h in /usr/include... no checking for sqlunix.h in /usr/include... no checking for sqltypes.h in /usr/include... yes checking for sqlucode.h in /usr/include... yes checking for sql.h in /usr/include... yes checking for isql.h in /usr/include... no checking for sqlext.h in /usr/include... yes checking for isqlext.h in /usr/include... no checking for udbcext.h in /usr/include... no checking for sqlcli1.h in /usr/include... no checking for LibraryManager.h in /usr/include... no checking for cli0core.h in /usr/include... no checking for cli0ext.h in /usr/include... no checking for cli0cli.h in /usr/include... no checking for cli0defs.h in /usr/include... no checking for cli0env.h in /usr/include... no checking for SQLBindCol in -lodbc... yes checking for SQLAllocHandle in -lodbc... yes checking for PostgreSQL support for PDO... yes, shared checking for pg_config... /usr/bin/pg_config checking for openssl dependencies... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking for PQparameterStatus in -lpq... yes checking for PQprepare in -lpq... yes checking for PQescapeStringConn in -lpq... yes checking for PQescapeByteaConn in -lpq... yes checking for pg_encoding_to_char in -lpq... yes checking for PDO includes... (cached) /builddir/build/BUILD/php-5.3.1/ext checking for sqlite 3 support for PDO... yes, shared checking for PDO includes... (cached) /builddir/build/BUILD/php-5.3.1/ext checking for sqlite3_open in -lsqlite3... yes checking for sqlite3_key in -lsqlite3... no checking for fdatasync in -lrt... yes checking for PostgreSQL support... yes, shared checking for pg_config... /usr/bin/pg_config checking for PQescapeString in -lpq... yes checking for PQunescapeBytea in -lpq... yes checking for PQsetnonblocking in -lpq... yes checking for PQcmdTuples in -lpq... yes checking for PQoidValue in -lpq... yes checking for PQclientEncoding in -lpq... yes checking for PQparameterStatus in -lpq... (cached) yes checking for PQprotocolVersion in -lpq... yes checking for PQtransactionStatus in -lpq... yes checking for PQexecParams in -lpq... yes checking for PQprepare in -lpq... (cached) yes checking for PQexecPrepared in -lpq... yes checking for PQresultErrorField in -lpq... yes checking for PQsendQueryParams in -lpq... yes checking for PQsendPrepare in -lpq... yes checking for PQsendQueryPrepared in -lpq... yes checking for PQputCopyData in -lpq... yes checking for PQputCopyEnd in -lpq... yes checking for PQgetCopyData in -lpq... yes checking for PQfreemem in -lpq... yes checking for PQsetErrorVerbosity in -lpq... yes checking for PQftable in -lpq... yes checking for PQescapeStringConn in -lpq... (cached) yes checking for PQescapeByteaConn in -lpq... (cached) yes checking for pg_encoding_to_char in -lpq... (cached) yes checking for lo_create in -lpq... yes checking for lo_import_with_oid in -lpq... no checking for phar archive support... yes, shared checking for phar openssl support... yes checking whether to enable POSIX-like functions... yes, shared checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking for seteuid... yes checking for setegid... yes checking for setsid... yes checking for getsid... yes checking for setpgid... (cached) yes checking for getpgid... yes checking for ctermid... yes checking for mkfifo... yes checking for mknod... yes checking for getrlimit... yes checking for getlogin... (cached) yes checking for getgroups... yes checking for makedev... no checking for initgroups... yes checking for getpwuid_r... (cached) yes checking for getgrgid_r... yes checking for working ttyname_r() implementation... no, posix_ttyname() will be thread-unsafe checking for utsname.domainname... yes checking for PSPELL support... yes, shared checking for new_aspell_config in -laspell... yes checking for libedit readline replacement... yes checking for tgetent in -lncurses... yes checking for readline in -ledit... yes checking for rl_completion_matches... yes checking for recode support... yes, shared checking for recode_format_table in -lrecode... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking whether to enable PHP sessions... yes checking for mm support... no checking whether pwrite works... yes checking whether pread works... yes checking whether to enable shmop support... yes checking whether to enable SimpleXML support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for SNMP support... yes, shared checking OpenSSL dir for SNMP... no checking whether to enable UCD SNMP hack... yes checking for snmp_parse_oid in -lnetsnmp... error: Bad exit status from /var/tmp/rpm-tmp.45900 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.45900 (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php.spec'] LEAVE do --> EXCEPTION RAISED