Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-zstd.spec'], chrootPath='/var/lib/mock/f31-build-47215-26793/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-zstd.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'} and shell False BUILDSTDERR: warning: line 33: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} BUILDSTDERR: warning: line 34: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1556064000 Wrote: /builddir/build/SRPMS/php-zstd-0.7.3-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-zstd.spec'], chrootPath='/var/lib/mock/f31-build-47215-26793/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-zstd.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1556064000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wlE82e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-zstd-0.7.3 + /usr/bin/mkdir -p php-zstd-0.7.3 + cd php-zstd-0.7.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/php-zstd-0.7.3-d4fa116.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv php-ext-zstd-d4fa116c59d7fd31c2fb242b0ad8ad02bdeccd67 NTS + cd NTS + rm -r zstd BUILDSTDERR: ++ sed -n '/#define PHP_ZSTD_EXT_VERSION/{s/.* "//;s/".*$//;p}' php_zstd.h + extver=0.7.3 + test x0.7.3 '!=' x0.7.3 + cd .. + cp -pr NTS ZTS + cat + tee 40-zstd.ini + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ; Enable 'php-zstd developer files (header)' extension module extension = zstd.so Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jr13Of + umask 022 + cd /builddir/build/BUILD + cd php-zstd-0.7.3 + cd NTS + /usr/bin/phpize + 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' + 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,--as-needed -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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --with-php-config=/usr/bin/php-config --with-libzstd --with-libdir=lib64 --enable-zstd BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. BUILDSTDERR: ./configure: line 3850: test: too many arguments Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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 for riscv64-koji-linux-gnu-cc... no checking for riscv64-koji-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no checking for gawk... gawk checking PHP version... #define PHP_VERSION "7.3.8RC1" checking whether to enable zstd support... yes, shared checking whether to use system zstd library... yes checking for pkg-config... /usr/bin/pkg-config checking for libzstd... from pkgconfig: version 1.3.8 checking whether to enable coverage support... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes BUILDSTDERR: chconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 BUILDSTDERR: /builddir/build/BUILD/php-zstd-0.7.3/NTS/zstd.c: In function 'php_stream_zstd_opener': BUILDSTDERR: /builddir/build/BUILD/php-zstd-0.7.3/NTS/zstd.c:662:22: warning: unused variable 'data' [-Wunused-variable] BUILDSTDERR: 662 | zend_string *data; BUILDSTDERR: | ^~~~ ecking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-zstd-0.7.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-zstd-0.7.3/NTS/zstd.c -o zstd.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-zstd-0.7.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-zstd-0.7.3/NTS/zstd.c -fPIC -DPIC -o .libs/zstd.o /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/NTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o zstd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-zstd-0.7.3/NTS/modules zstd.lo -lzstd libtool: link: cc -shared -fPIC -DPIC .libs/zstd.o -lzstd -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,zstd.so -o .libs/zstd.so libtool: link: ( cd ".libs" && rm -f "zstd.la" && ln -s "../zstd.la" "zstd.la" ) /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/NTS/libtool --mode=install cp ./zstd.la /builddir/build/BUILD/php-zstd-0.7.3/NTS/modules BUILDSTDERR: libtool: install: cp ./.libs/zstd.so /builddir/build/BUILD/php-zstd-0.7.3/NTS+ cd ../ZTS + /usr/bin/zts-phpize + 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' + 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,--as-needed -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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --with-php-config=/usr/bin/zts-php-config --with-libzstd --with-libdir=lib64 --enable-zstd BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. BUILDSTDERR: ./configure: line 3850: test: too many arguments /modules/zstd.so libtool: install: cp ./.libs/zstd.lai /builddir/build/BUILD/php-zstd-0.7.3/NTS/modules/zstd.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-zstd-0.7.3/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-zstd-0.7.3/NTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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 for riscv64-koji-linux-gnu-cc... no checking for riscv64-koji-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php-zts/modules checking for PHP installed headers prefix... /usr/include/php-zts/php checking if debug is enabled... no checking if zts is enabled... yes checking for re2c... no checking for gawk... gawk checking PHP version... #define PHP_VERSION "7.3.8RC1" checking whether to enable zstd support... yes, shared checking whether to use system zstd library... yes checking for pkg-config... /usr/bin/pkg-config checking for libzstd... from pkgconfig: version 1.3.8 checking whether to enable coverage support... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop BUILDSTDERR: checking for /usr/bin/ld option to reload objectconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 BUILDSTDERR: /builddir/build/BUILD/php-zstd-0.7.3/ZTS/zstd.c: In function 'php_stream_zstd_opener': BUILDSTDERR: /builddir/build/BUILD/php-zstd-0.7.3/ZTS/zstd.c:662:22: warning: unused variable 'data' [-Wunused-variable] BUILDSTDERR: 662 | zend_string *data; BUILDSTDERR: | ^~~~ files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-zstd-0.7.3/ZTS/zstd.c -o zstd.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-zstd-0.7.3/ZTS/zstd.c -fPIC -DPIC -o .libs/zstd.o BUILDSTDERR: /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/include -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS/main -I/builddir/build/BUILD/php-zstd-0.7.3/ZTS -I/usr/include/php-zts/php -I/usr/incl+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ude/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o zstd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules zstd.lo -lzstd libtool: link: cc -shared -fPIC -DPIC .libs/zstd.o -lzstd -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,zstd.so -o .libs/zstd.so libtool: link: ( cd ".libs" && rm -f "zstd.la" && ln -s "../zstd.la" "zstd.la" ) /bin/sh /builddir/build/BUILD/php-zstd-0.7.3/ZTS/libtool --mode=install cp ./zstd.la /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules libtool: install: cp ./.libs/zstd.so /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules/zstd.so libtool: install: cp ./.libs/zstd.lai /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules/zstd.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-zstd-0.7.3/ZTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jaCufc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 + cd php-zstd-0.7.3 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 + install -D -m 644 40-zstd.ini /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/etc/php.d/40-zstd.ini + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 + install -D -m 644 40-zstd.ini /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/etc/php-zts.d/40-zstd.ini + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.3-1.fc31 --unique-debug-suffix -0.7.3-1.fc31.riscv64 --unique-debug-src-base php-zstd-0.7.3-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-zstd-0.7.3 BUILDSTDERR: 109 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs make: Entering directory '/builddir/build/BUILD/php-zstd-0.7.3/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php/modules/ Installing header files: /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/include/php/ make: Leaving directory '/builddir/build/BUILD/php-zstd-0.7.3/NTS' make: Entering directory '/builddir/build/BUILD/php-zstd-0.7.3/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php-zts/modules/ Installing header files: /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/include/php-zts/php/ make: Leaving directory '/builddir/build/BUILD/php-zstd-0.7.3/ZTS' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php-zts/modules/zstd.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php/modules/zstd.so extracting debug info from /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php-zts/modules/zstd.so extracting debug info from /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/lib64/php/modules/zstd.so original debug info size: 200kB, size after compression: 188kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nHy6nc Processing files: php-zstd-0.7.3-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.moXt0d + umask 022 + cd /builddir/build/BUILD + cd php-zstd-0.7.3 + DOCDIR=/builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd + cp -pr NTS/README.md /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3xp87e + umask 022 + cd /builddir/build/BUILD + cd php-zstd-0.7.3 + LICENSEDIR=/builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/licenses/php-zstd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/licenses/php-zstd + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/licenses/php-zstd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(php-zstd) = 0.7.3-1.fc31 php-zstd = 0.7.3-1.fc31 php-zstd(riscv-64) = 0.7.3-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libzstd.so.1()(64bit) rtld(GNU_HASH) Processing files: php-zstd-devel-0.7.3-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5Bo91b + umask 022 + cd /builddir/build/BUILD + cd php-zstd-0.7.3 + DOCDIR=/builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd-devel + cp -pr NTS/tests /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64/usr/share/doc/php-zstd-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: php-zstd-devel = 0.7.3-1.fc31 php-zstd-devel(riscv-64) = 0.7.3-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-zstd-debugsource-0.7.3-1.fc31.riscv64 Provides: php-zstd-debugsource = 0.7.3-1.fc31 php-zstd-debugsource(riscv-64) = 0.7.3-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-zstd-debuginfo-0.7.3-1.fc31.riscv64 Provides: debuginfo(build-id) = 42c1717edffd3dd4a5403a1a8d257268f6466c46 debuginfo(build-id) = 80817cb08f48c6cdb9b86bc93bc2a899502eeeb6 php-zstd-debuginfo = 0.7.3-1.fc31 php-zstd-debuginfo(riscv-64) = 0.7.3-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-zstd-debugsource(riscv-64) = 0.7.3-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 Wrote: /builddir/build/RPMS/php-zstd-0.7.3-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-zstd-debugsource-0.7.3-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-zstd-devel-0.7.3-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-zstd-debuginfo-0.7.3-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9RbNuf + umask 022 + cd /builddir/build/BUILD + cd php-zstd-0.7.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-zstd-0.7.3-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0