+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/php.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9b8ZDQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-7.2.4RC1 + /usr/bin/xz -dc /builddir/build/SOURCES/php-7.2.4RC1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-7.2.4RC1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (php-7.1.7-httpd.patch):' Patch #1 (php-7.1.7-httpd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mpmcheck --fuzz=0 patching file sapi/apache2handler/config.m4 + echo 'Patch #5 (php-7.2.0-includedir.patch):' Patch #5 (php-7.2.0-includedir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .includedir --fuzz=0 patching file configure.ac Hunk #1 succeeded at 1235 (offset 5 lines). + echo 'Patch #6 (php-5.6.3-embed.patch):' Patch #6 (php-5.6.3-embed.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .embed --fuzz=0 patching file sapi/embed/config.m4 patching file scripts/php-config.in + echo 'Patch #7 (php-5.3.0-recode.patch):' Patch #7 (php-5.3.0-recode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .recode --fuzz=0 patching file ext/recode/config9.m4 + echo 'Patch #8 (php-7.2.0-libdb.patch):' Patch #8 (php-7.2.0-libdb.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libdb --fuzz=0 patching file ext/dba/config.m4 patching file ext/dba/dba.c + echo 'Patch #40 (php-7.2.4-dlopen.patch):' Patch #40 (php-7.2.4-dlopen.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dlopen --fuzz=0 patching file sapi/litespeed/lsapilib.c patching file Zend/zend_portability.h + echo 'Patch #42 (php-7.2.3-systzdata-v16.patch):' Patch #42 (php-7.2.3-systzdata-v16.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systzdata --fuzz=0 patching file ext/date/lib/parse_tz.c patching file ext/date/lib/timelib.m4 + echo 'Patch #43 (php-5.4.0-phpize.patch):' Patch #43 (php-5.4.0-phpize.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .headers --fuzz=0 patching file scripts/phpize.in + echo 'Patch #45 (php-7.2.3-ldap_r.patch):' Patch #45 (php-7.2.3-ldap_r.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldap_r --fuzz=0 patching file ext/ldap/config.m4 + echo 'Patch #46 (php-7.2.4-fixheader.patch):' Patch #46 (php-7.2.4-fixheader.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixheader --fuzz=0 patching file configure.ac + echo 'Patch #47 (php-5.6.3-phpinfo.patch):' Patch #47 (php-5.6.3-phpinfo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .phpinfo --fuzz=0 patching file ext/standard/info.c Hunk #1 succeeded at 837 (offset 94 lines). patching file ext/standard/tests/general_functions/phpinfo.phpt + echo 'Patch #300 (php-5.6.3-datetests.patch):' Patch #300 (php-5.6.3-datetests.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .datetests --fuzz=0 patching file ext/date/tests/bug66985.phpt + cp Zend/LICENSE Zend/ZEND_LICENSE + cp TSRM/LICENSE TSRM_LICENSE + cp sapi/fpm/LICENSE fpm_LICENSE + cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE + cp ext/mbstring/ucgendat/OPENLDAP_LICENSE ucgendat_LICENSE + cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE + cp ext/phar/LICENSE phar_LICENSE + cp ext/bcmath/libbcmath/COPYING.LIB libbcmath_COPYING + cp ext/date/lib/LICENSE.rst timelib_LICENSE + mkdir build-cgi build-apache build-embedded build-zts build-ztscli build-fpm + rm ext/date/tests/timezone_location_get.phpt + rm ext/date/tests/timezone_version_get.phpt + rm ext/date/tests/timezone_version_get_basic1.phpt + rm ext/sockets/tests/mcast_ipv4_recv.phpt ext/sockets/tests/mcast_ipv6_recv.phpt + rm Zend/tests/bug54268.phpt + rm Zend/tests/bug68412.phpt ++ sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h + pver=7.2.4RC1 + test x7.2.4RC1 '!=' x7.2.4RC1 ++ sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h + vapi=20170718 + test x20170718 '!=' x20170718 ++ sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h + vzend=20170718 + test x20170718 '!=' x20170718 ++ sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h + vpdo=20170320 + test x20170320 '!=' x20170320 ++ sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h + ver=1.6.0 + test 1.6.0 '!=' 1.6.0 + rm -f TSRM/tsrm_win32.h TSRM/tsrm_config.w32.h Zend/zend_config.w32.h ext/mysqlnd/config-win.h ext/standard/winver.h main/win32_internal_function_disabled.h main/win95nt.h + find . -name '*.[ch]' -exec chmod 644 '{}' ';' + chmod 644 README.EXT_SKEL README.GIT-RULES README.MAILINGLIST_RULES README.NEW-OUTPUT-API README.PARAMETER_PARSING_API README.REDIST.BINS README.RELEASE_PROCESS README.SELF-CONTAINED-EXTENSIONS README.STREAMS README.SUBMITTING_PATCH README.TESTING README.TESTING2 README.UNIX-BUILD-SYSTEM README.WIN32-BUILD-SYSTEM README.input_filter README.md + echo 'd /run/php-fpm 755 root root' + cp /builddir/build/SOURCES/10-opcache.ini 10-opcache.ini + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mYiZs3 + umask 022 + cd /builddir/build/BUILD + cd php-7.2.4RC1 ++ date +%s -r NEWS + export SOURCE_DATE_EPOCH=1520940817 + SOURCE_DATE_EPOCH=1520940817 ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir + cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4 + libtoolize --force --copy libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir ++ aclocal --print-ac-dir + cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4 + touch configure.ac + ./buildconf --force Forcing buildconf Removing configure caches buildconf: checking installation... buildconf: autoconf version 2.69 (ok) rebuilding aclocal.m4 rebuilding configure rebuilding main/php_config.h.in + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/BUILD/php-7.2.4RC1/build-cgi ~/build/BUILD/php-7.2.4RC1 + build --libdir=/usr/lib64/php --enable-pcntl --enable-opcache --enable-opcache-file --enable-phpdbg --with-imap=shared --with-imap-ssl --enable-mbstring=shared --with-onig=/usr --enable-mbregex --with-gd=shared,/usr --with-gmp=shared --enable-calendar=shared --enable-bcmath=shared --with-bz2=shared --enable-ctype=shared --enable-dba=shared --with-db4=/usr --with-tcadb=/usr --with-lmdb=/usr --enable-exif=shared --enable-ftp=shared --with-gettext=shared --with-iconv=shared --enable-sockets=shared --enable-tokenizer=shared --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --enable-mysqlnd=shared --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-interbase=shared --with-pdo-firebird=shared --enable-dom=shared --with-pgsql=shared --enable-simplexml=shared --enable-xml=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-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-tidy=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-shmop=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --with-sodium=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -Wno-pointer-sign' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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=/var/lib --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-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --without-gdbm --with-jpeg-dir=/usr --with-openssl --with-system-ciphers --with-pcre-regex=/usr --with-zlib --with-layout=GNU --with-kerberos --with-libxml-dir=/usr --with-system-tzdata --with-mhash --with-password-argon2 --enable-dtrace --libdir=/usr/lib64/php --enable-pcntl --enable-opcache --enable-opcache-file --enable-phpdbg --with-imap=shared --with-imap-ssl --enable-mbstring=shared --with-onig=/usr --enable-mbregex --with-gd=shared,/usr --with-gmp=shared --enable-calendar=shared --enable-bcmath=shared --with-bz2=shared --enable-ctype=shared --enable-dba=shared --with-db4=/usr --with-tcadb=/usr --with-lmdb=/usr --enable-exif=shared --enable-ftp=shared --with-gettext=shared --with-iconv=shared --enable-sockets=shared --enable-tokenizer=shared --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --enable-mysqlnd=shared --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-interbase=shared --with-pdo-firebird=shared --enable-dom=shared --with-pgsql=shared --enable-simplexml=shared --enable-xml=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-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-tidy=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-shmop=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --with-sodium=shared --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-exec-dir configure: creating cache ../config.cache checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking build system type... Invalid configuration `riscv64-redhat-linux-gnu': machine `riscv64-redhat' not recognized configure: error: /bin/sh ../config.sub riscv64-redhat-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.mYiZs3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mYiZs3 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff