Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f33-build-178590-44999/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-zip.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 warning: line 35: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 36: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1584662400 Wrote: /builddir/build/SRPMS/php-pecl-zip-1.18.2-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f33-build-178590-44999/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-zip.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=1584662400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6SUEFV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-zip-1.18.2 + /usr/bin/mkdir -p php-pecl-zip-1.18.2 + cd php-pecl-zip-1.18.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip-1.18.2.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv zip-1.18.2 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php5/php_zip.h + extver=1.18.2 + test x1.18.2 '!=' x1.18.2 + cd .. + : Create the configuration file + cat + : Duplicate sources tree for ZTS build + cp -pr NTS ZTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HazPFU + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.18.2 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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"~' ./build/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 --with-libzip --with-libdir=lib64 --with-php-config=/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking 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-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-redhat-linux-gnu-cc... no checking for riscv64-redhat-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 for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-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 gawk... gawk checking for zip archive read/writesupport... yes, shared checking libzip... yes checking PHP version... 7.4 checking for pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.6.1 found in /usr/lib64 checking for zip_open in -lzip... yes checking for zip_file_set_mtime in -lzip... yes checking for zip_file_set_encryption in -lzip... yes checking for zip_libzip_version in -lzip... yes checking for zip_register_progress_callback_with_state in -lzip... yes checking for zip_register_cancel_callback_with_state in -lzip... yes 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-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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-redhat-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: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/php74 -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-pecl-zip-1.18.2/NTS/php74/php_zip.c -o php74/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/php74 -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-pecl-zip-1.18.2/NTS/php74/zip_stream.c -o php74/zip_stream.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/php74 -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-pecl-zip-1.18.2/NTS/php74/zip_stream.c -fPIC -DPIC -o php74/.libs/zip_stream.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/php74 -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-pecl-zip-1.18.2/NTS/php74/php_zip.c -fPIC -DPIC -o php74/.libs/php_zip.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/php74 -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 zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules php74/php_zip.lo php74/zip_stream.lo -lzip libtool: link: cc -shared -fPIC -DPIC php74/.libs/php_zip.o php74/.libs/zip_stream.o -lzip -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,zip.so -o .libs/zip.so libtool: link: ( cd ".libs" && rm -f "zip.la" && ln -s "../zip.la" "zip.la" ) /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules/zip.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.18.2/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'. + cd ../ZTS + /usr/bin/zts-phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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"~' ./build/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 --with-libzip --with-libdir=lib64 --with-php-config=/usr/bin/zts-php-config configure: WARNING: unrecognized options: --disable-dependency-tracking 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-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-redhat-linux-gnu-cc... no checking for riscv64-redhat-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 for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-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 gawk... gawk checking for zip archive read/writesupport... yes, shared checking libzip... yes checking PHP version... 7.4 checking for pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.6.1 found in /usr/lib64 checking for zip_open in -lzip... yes checking for zip_file_set_mtime in -lzip... yes checking for zip_file_set_encryption in -lzip... yes checking for zip_libzip_version in -lzip... yes checking for zip_register_progress_callback_with_state in -lzip... yes checking for zip_register_cancel_callback_with_state in -lzip... yes 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-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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-redhat-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: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/php74 -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-pecl-zip-1.18.2/ZTS/php74/php_zip.c -o php74/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/php74 -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-pecl-zip-1.18.2/ZTS/php74/zip_stream.c -o php74/zip_stream.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/php74 -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-pecl-zip-1.18.2/ZTS/php74/php_zip.c -fPIC -DPIC -o php74/.libs/php_zip.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/php74 -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-pecl-zip-1.18.2/ZTS/php74/zip_stream.c -fPIC -DPIC -o php74/.libs/zip_stream.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.18.2/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 -I/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/php74 -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 zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/modules php74/php_zip.lo php74/zip_stream.lo -lzip libtool: link: cc -shared -fPIC -DPIC php74/.libs/php_zip.o php74/.libs/zip_stream.o -lzip -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,zip.so -o .libs/zip.so libtool: link: ( cd ".libs" && rm -f "zip.la" && ln -s "../zip.la" "zip.la" ) /bin/sh /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/modules/zip.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.18.2/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'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xdqnsT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 + cd php-pecl-zip-1.18.2 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/etc/php.d/40-zip.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/var/lib/php/peclxml/php-pecl-zip.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.18.2/ZTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/etc/php-zts.d/40-zip.ini + cd NTS ++ grep 'role="doc"' ../package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/odt.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/odt.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/test_with_comment.zip /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/test_with_comment.zip + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/test.zip /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/test.zip + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/test1.zip /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/test1.zip + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/oldapi.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/oldapi.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/create.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/create.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/dir.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/dir.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/extract.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/extract.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/extractAll.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/extractAll.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/fopen.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/fopen.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/too.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/too.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/comment.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/comment.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/get_set_comments.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/get_set_comments.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/addglob.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/addglob.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/addpattern.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/addpattern.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/set_compression.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/set_compression.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/encryption.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/encryption.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 examples/zipcmd.php /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/examples/zipcmd.php + for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 CREDITS /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/share/doc/pecl/zip/CREDITS + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.18.2-1.fc33 --unique-debug-suffix -1.18.2-1.fc33.riscv64 --unique-debug-src-base php-pecl-zip-1.18.2-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-pecl-zip-1.18.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php-zts/modules/zip.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php/modules/zip.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php-zts/modules/zip.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php/modules/zip.so original debug info size: 580kB, size after compression: 532kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 425 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UH3AXU + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.18.2 + cd NTS + : minimal load test of NTS extension + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.18.2-1.fc33.riscv64/usr/lib64/php/modules/zip.so --modules + grep zip zip + : upstream test suite for NTS extension + TEST_PHP_ARGS='-n -d extension_dir=/builddir/build/BUILD/php-pecl-zip-1.18.2/NTS/modules -d extension=zip.so' + REPORT_EXIT_STATUS=1 + NO_INTERACTION=1 + TEST_PHP_EXECUTABLE=/usr/bin/php + /usr/bin/php -n run-tests.php ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.4.5RC1 ZEND_VERSION: 3.4.0 PHP_OS : Linux - Linux fedora-riscv-5.gcc145.osuosl.org 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 #1 SMP Mon Jan 6 17:31:22 UTC 2020 riscv64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.18.2/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2020-04-16 12:12:17 ===================================================================== TEST 1/80 [tests/001.phpt] PASS Check for zip presence [tests/001.phpt] TEST 2/80 [tests/bug11216.phpt] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 3/80 [tests/bug14962.phpt] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 4/80 [tests/bug38943.phpt] PASS #38943, properties in extended class cannot be set (5.3+) [tests/bug38943.phpt] TEST 5/80 [tests/bug38943_2.phpt] PASS #38943, properties in extended class cannot be set (5.3) [tests/bug38943_2.phpt] TEST 6/80 [tests/bug38944.phpt] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 7/80 [tests/bug40228-mb.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 8/80 [tests/bug40228.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 9/80 [tests/bug47667.phpt] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 10/80 [tests/bug49072.phpt] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 11/80 [tests/bug50678.phpt] FAIL Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 12/80 [tests/bug51353.phpt] SKIP Bug #51353 ZIP64 problem, archive with 100000 items [tests/bug51353.phpt] reason: the test might get very long, activate it manually TEST 13/80 [tests/bug53579.phpt] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 14/80 [tests/bug53603.phpt] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 15/80 [tests/bug53854.phpt] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 16/80 [tests/bug53885.phpt] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] TEST 17/80 [tests/bug64342_0.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 18/80 [tests/bug64342_1-mb.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 19/80 [tests/bug64342_1.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 20/80 [tests/bug70103.phpt] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 21/80 [tests/bug70322.phpt] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 22/80 [tests/bug70350.phpt] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 23/80 [tests/bug70752.phpt] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 24/80 [tests/bug7214.phpt] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 25/80 [tests/bug72258.phpt] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 26/80 [tests/bug72374.phpt] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 27/80 [tests/bug72434.phpt] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 28/80 [tests/bug72660.phpt] SKIP Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] reason: ZTS required TEST 29/80 [tests/bug76524.phpt] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 30/80 [tests/bug7658.phpt] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 31/80 [tests/bug78641.phpt] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 32/80 [tests/bug8009.phpt] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 33/80 [tests/bug8700.phpt] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 34/80 [tests/compression_methods.phpt] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 35/80 [tests/doubleclose.phpt] PASS close() called twice [tests/doubleclose.phpt] TEST 36/80 [tests/oo_add_encoding.phpt] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 37/80 [tests/oo_add_from_string.phpt] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 38/80 [tests/oo_addemptydir.phpt] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 39/80 [tests/oo_addemptydir_error.phpt] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 40/80 [tests/oo_addfile.phpt] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 41/80 [tests/oo_addglob.phpt] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 42/80 [tests/oo_addglob2.phpt] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 43/80 [tests/oo_addpattern.phpt] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 44/80 [tests/oo_cancel.phpt] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 45/80 [tests/oo_close.phpt] PASS zip::close() function [tests/oo_close.phpt] TEST 46/80 [tests/oo_count.phpt] PASS ziparchive::count() [tests/oo_count.phpt] TEST 47/80 [tests/oo_delete.phpt] PASS Delete entries [tests/oo_delete.phpt] TEST 48/80 [tests/oo_encryption.phpt] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 49/80 [tests/oo_ext_zip.phpt] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 50/80 [tests/oo_externalattributes.phpt] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 51/80 [tests/oo_extract.phpt] PASS extractTo [tests/oo_extract.phpt] TEST 52/80 [tests/oo_getcomment.phpt] PASS getComment [tests/oo_getcomment.phpt] TEST 53/80 [tests/oo_getnameindex.phpt] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 54/80 [tests/oo_getstatusstring.phpt] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 55/80 [tests/oo_namelocate.phpt] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 56/80 [tests/oo_open.phpt] PASS zip::open() function [tests/oo_open.phpt] TEST 57/80 [tests/oo_progress.phpt] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 58/80 [tests/oo_properties.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] TEST 59/80 [tests/oo_rename.phpt] PASS Rename entries [tests/oo_rename.phpt] TEST 60/80 [tests/oo_replacefile.phpt] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 61/80 [tests/oo_setcomment.phpt] PASS setComment [tests/oo_setcomment.phpt] TEST 62/80 [tests/oo_setcomment_error.phpt] PASS setComment error behavior [tests/oo_setcomment_error.phpt] TEST 63/80 [tests/oo_setcompression.phpt] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 64/80 [tests/oo_setmtime.phpt] PASS setMtime [tests/oo_setmtime.phpt] TEST 65/80 [tests/oo_stream.phpt] PASS getStream [tests/oo_stream.phpt] TEST 66/80 [tests/oo_unchangeIndex.phpt] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 67/80 [tests/oo_unchangeName.phpt] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 68/80 [tests/pecl12414.phpt] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 69/80 [tests/stream_meta_data.phpt] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 70/80 [tests/zip_close.phpt] PASS zip_close() function [tests/zip_close.phpt] TEST 71/80 [tests/zip_entry_close.phpt] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] TEST 72/80 [tests/zip_entry_compressedsize.phpt] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 73/80 [tests/zip_entry_compressionmethod.phpt] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 74/80 [tests/zip_entry_filesize.phpt] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 75/80 [tests/zip_entry_name.phpt] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 76/80 [tests/zip_entry_open.phpt] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 77/80 [tests/zip_entry_read.phpt] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 78/80 [tests/zip_open.phpt] PASS zip_open() function [tests/zip_open.phpt] TEST 79/80 [tests/zip_open_error.phpt] PASS zip_open() error conditions [tests/zip_open_error.phpt] TEST 80/80 [tests/zip_read.phpt] PASS zip_read() function [tests/zip_read.phpt] ===================================================================== TIME END 2020-04-16 12:14:01 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 80 78 Tests skipped : 2 ( 2.5%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 1.2%) ( 1.3%) Tests passed : 77 ( 96.2%) ( 98.7%) --------------------------------------------------------------------- Time taken : 104 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] ===================================================================== error: Bad exit status from /var/tmp/rpm-tmp.UH3AXU (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UH3AXU (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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-pecl-zip.spec