Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php.spec'], chrootPath='/var/lib/mock/f29-build-15604-7383/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/php-7.2.7-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php.spec'], chrootPath='/var/lib/mock/f29-build-15604-7383/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9qF1ta + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-7.2.7 + /usr/bin/xz -dc /builddir/build/SOURCES/php-7.2.7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-7.2.7 + /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 1263 (offset 33 lines). Patch #6 (php-5.6.3-embed.patch): + echo '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 Patch #7 (php-5.3.0-recode.patch): + echo '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 Patch #8 (php-7.2.0-libdb.patch): + echo '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 Patch #40 (php-7.2.4-dlopen.patch): + echo '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 Hunk #1 succeeded at 756 (offset 1 line). patching file Zend/zend_portability.h Patch #42 (php-7.2.3-systzdata-v16.patch): + echo '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 Patch #43 (php-5.4.0-phpize.patch): + echo '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 Patch #45 (php-7.2.3-ldap_r.patch): + echo '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 Patch #46 (php-7.2.4-fixheader.patch): + echo '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 Hunk #1 succeeded at 1303 (offset 28 lines). Patch #47 (php-5.6.3-phpinfo.patch): + echo '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 Patch #300 (php-5.6.3-datetests.patch): + echo '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 BUILDSTDERR: ++ sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h + pver=7.2.7 + test x7.2.7 '!=' x7.2.7 BUILDSTDERR: ++ sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h + vapi=20170718 + test x20170718 '!=' x20170718 BUILDSTDERR: ++ sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h + vzend=20170718 + test x20170718 '!=' x20170718 BUILDSTDERR: ++ sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h + vpdo=20170320 + test x20170320 '!=' x20170320 BUILDSTDERR: ++ 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 + cp /builddir/build/SOURCES/10-opcache.ini 10-opcache.ini + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UyJXiZ + umask 022 + cd /builddir/build/BUILD + cd php-7.2.7 BUILDSTDERR: ++ date +%s -r NEWS + export SOURCE_DATE_EPOCH=1529419210 + SOURCE_DATE_EPOCH=1529419210 BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ 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. BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ aclocal --print-ac-dir BUILDSTDERR: ++ 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 BUILDSTDERR: ++ echo -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign BUILDSTDERR: ++ sed s/-mstackrealign// + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ~/build/BUILD/php-7.2.7/build-cgi ~/build/BUILD/php-7.2.7 + pushd build-cgi + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: 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 BUILDSTDERR: checking build system type... Invalid configuration `riscv64-koji-linux-gnu': machine `riscv64-koji' not recognized BUILDSTDERR: configure: error: /bin/sh ../config.sub riscv64-koji-linux-gnu failed RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.UyJXiZ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.UyJXiZ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php.spec