Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f36-build-30476643-4173171/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8'} and shell False warning: line 37: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 38: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1633996800 Wrote: /builddir/build/SRPMS/php-pecl-zip-1.20.0-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f36-build-30476643-4173171/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1633996800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GjlWrq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-zip-1.20.0 + /usr/bin/mkdir -p php-pecl-zip-1.20.0 + cd php-pecl-zip-1.20.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip-1.20.0.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.20.0 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}' php8/php_zip.h + extver=1.20.0 + test x1.20.0 '!=' x1.20.0 + 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.ibdIDZ + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.20.0 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2072: PHP_CONFIG_NICE is expanded from... configure.ac:18: the top level configure.ac:161: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:161: You should run autoupdate. build/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:161: the top level + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-10-12 13:53:31.909922143 +0000 +++ ./configure 2021-10-12 13:53:32.294956116 +0000 @@ -1703,7 +1703,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-10-12 13:53:32.294956116 +0000 +++ ./configure 2021-10-12 13:53:32.322958587 +0000 @@ -8110,7 +8110,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14817,7 +14817,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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.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' + 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' + '[' 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=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-redhat-linux-gnu-cc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib64 checking if compiler supports -R... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-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... 8.0 checking for pkg-config... (cached) /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.8.0 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 for zip_compression_method_supported 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 gcc... /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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8116: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 -j6 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/php8/php_zip.c -o php8/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/php8/zip_stream.c -o php8/zip_stream.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/php8/zip_stream.c -fPIC -DPIC -o php8/.libs/zip_stream.o libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/php8/php_zip.c -fPIC -DPIC -o php8/.libs/php_zip.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/libtool --mode=link gcc -shared -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/modules php8/php_zip.lo php8/zip_stream.lo -lzip libtool: link: gcc -shared -fPIC -DPIC php8/.libs/php_zip.o php8/.libs/zip_stream.o -lzip -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.20.0/NTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.20.0/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: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2072: PHP_CONFIG_NICE is expanded from... configure.ac:18: the top level configure.ac:161: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:161: You should run autoupdate. build/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:161: the top level + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-10-12 13:53:40.062641493 +0000 +++ ./configure 2021-10-12 13:53:40.464676966 +0000 @@ -1703,7 +1703,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-10-12 13:53:40.464676966 +0000 +++ ./configure 2021-10-12 13:53:40.484678731 +0000 @@ -8110,7 +8110,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14817,7 +14817,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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.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' + 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' + '[' 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=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-redhat-linux-gnu-cc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib64 checking if compiler supports -R... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-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... 8.0 checking for pkg-config... (cached) /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.8.0 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 for zip_compression_method_supported 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 gcc... /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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8116: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 -j6 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/php8/php_zip.c -o php8/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/php8/zip_stream.c -o php8/zip_stream.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/php8/zip_stream.c -fPIC -DPIC -o php8/.libs/zip_stream.o libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/php8/php_zip.c -fPIC -DPIC -o php8/.libs/php_zip.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/libtool --mode=link gcc -shared -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/php8 -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/modules php8/php_zip.lo php8/zip_stream.lo -lzip libtool: link: gcc -shared -fPIC -DPIC php8/.libs/php_zip.o php8/.libs/zip_stream.o -lzip -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.20.0/ZTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.20.0/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.20.0/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.20.0/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.KHzj7a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 + cd php-pecl-zip-1.20.0 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/etc/php.d/40-zip.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/var/lib/php/peclxml/php-pecl-zip.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/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.20.0-1.fc36.x86_64/usr/share/doc/pecl/zip/CREDITS + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 1.20.0-1.fc36 --unique-debug-suffix -1.20.0-1.fc36.x86_64 --unique-debug-src-base php-pecl-zip-1.20.0-1.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/php-pecl-zip-1.20.0 extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php/modules/zip.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php-zts/modules/zip.so original debug info size: 500kB, size after compression: 444kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 447 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7qjuza + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.20.0 + cd NTS + : minimal load test of NTS extension + grep zip + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php/modules/zip.so --modules zip + : upstream test suite for NTS extension + TEST_PHP_ARGS='-n -d extension_dir=/builddir/build/BUILD/php-pecl-zip-1.20.0/NTS/modules -d extension=zip.so' + TEST_PHP_EXECUTABLE=/usr/bin/php + /usr/bin/php -n run-tests.php -q --show-diff -j6 ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 8.0.12RC1 ZEND_VERSION: 4.0.12RC1 PHP_OS : Linux - Linux buildvm-x86-07.iad2.fedoraproject.org 5.12.13-300.fc34.x86_64 #1 SMP Wed Jun 23 16:18:11 UTC 2021 x86_64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.20.0/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2021-10-12 13:53:48 ===================================================================== ===================================================================== ========= WELCOME TO THE FUTURE: run-tests PARALLEL EDITION ========= ===================================================================== Spawning 6 workers... Done in 0.05s ===================================================================== PASS ziparchive::count() [tests/oo_count.phpt] TEST 1/94 [6/6 concurrent test workers running] PASS Check for zip presence [tests/001.phpt] TEST 2/94 [6/6 concurrent test workers running] PASS Rename entries [tests/oo_rename.phpt] TEST 3/94 [6/6 concurrent test workers running] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 4/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 5/94 [6/6 concurrent test workers running] PASS Delete entries [tests/oo_delete.phpt] TEST 6/94 [6/6 concurrent test workers running] PASS Bug #80863 (ZipArchive::extractTo() ignores references) [tests/bug80863.phpt] TEST 7/94 [6/6 concurrent test workers running] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 8/94 [6/6 concurrent test workers running] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 9/94 [6/6 concurrent test workers running] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 10/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 11/94 [6/6 concurrent test workers running] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 12/94 [6/6 concurrent test workers running] PASS Bug #81420 (ZipArchive::extractTo extracts outside of destination) [tests/bug81420.phpt] TEST 13/94 [6/6 concurrent test workers running] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 14/94 [6/6 concurrent test workers running] PASS setComment [tests/oo_setcomment.phpt] TEST 15/94 [6/6 concurrent test workers running] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 16/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 17/94 [6/6 concurrent test workers running] SKIP setComment error behavior [tests/oo_setcomment_error.phpt] reason: PHP < 8 only TEST 18/94 [6/6 concurrent test workers running] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 19/94 [6/6 concurrent test workers running] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 20/94 [6/6 concurrent test workers running] PASS #38943, properties in extended class cannot be set (<8.1) [tests/bug38943.phpt] TEST 21/94 [6/6 concurrent test workers running] PASS Bug #81490 (ZipArchive::extractTo() may leak memory) [tests/bug81490.phpt] TEST 22/94 [6/6 concurrent test workers running] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 23/94 [6/6 concurrent test workers running] SKIP #38943, properties in extended class cannot be set (>8.1) [tests/bug38943_2.phpt] reason: test for 8.1+ only TEST 24/94 [6/6 concurrent test workers running] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 25/94 [6/6 concurrent test workers running] PASS setComment error behavior [tests/oo_setcomment_error2.phpt] TEST 26/94 [6/6 concurrent test workers running] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 27/94 [6/6 concurrent test workers running] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 28/94 [6/6 concurrent test workers running] PASS zip_open() function [tests/zip_open.phpt] TEST 29/94 [6/6 concurrent test workers running] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 30/94 [6/6 concurrent test workers running] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 31/94 [6/6 concurrent test workers running] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 32/94 [6/6 concurrent test workers running] SKIP zip_open() error conditions [tests/zip_open_error.phpt] reason: PHP < 8 only TEST 33/94 [6/6 concurrent test workers running] PASS extractTo [tests/oo_extract.phpt] TEST 34/94 [6/6 concurrent test workers running] SKIP close() called twice [tests/doubleclose.phpt] reason: PHP < 8 only TEST 35/94 [6/6 concurrent test workers running] SKIP getComment [tests/oo_getcomment.phpt] reason: PHP < 8 only TEST 36/94 [6/6 concurrent test workers running] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 37/94 [6/6 concurrent test workers running] PASS close() called twice [tests/doubleclose2.phpt] TEST 38/94 [6/6 concurrent test workers running] PASS zip_open() error conditions [tests/zip_open_error2.phpt] TEST 39/94 [6/6 concurrent test workers running] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 40/94 [6/6 concurrent test workers running] PASS getComment [tests/oo_getcomment2.phpt] TEST 41/94 [6/6 concurrent test workers running] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 42/94 [6/6 concurrent test workers running] PASS setMtime [tests/oo_setmtime.phpt] TEST 43/94 [6/6 concurrent test workers running] PASS zip_read() function [tests/zip_read.phpt] TEST 44/94 [6/6 concurrent test workers running] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 45/94 [5/6 concurrent test workers running] PASS getStream [tests/oo_stream.phpt] TEST 46/94 [5/6 concurrent test workers running] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 47/94 [5/6 concurrent test workers running] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 48/94 [5/6 concurrent test workers running] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 49/94 [5/6 concurrent test workers running] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 50/94 [5/6 concurrent test workers running] PASS ziparchive::properties isset()/empty() checks [tests/oo_supported.phpt] TEST 51/94 [5/6 concurrent test workers running] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 52/94 [5/6 concurrent test workers running] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 53/94 [5/6 concurrent test workers running] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 54/94 [5/6 concurrent test workers running] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 55/94 [5/6 concurrent test workers running] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 56/94 [5/6 concurrent test workers running] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 57/94 [5/6 concurrent test workers running] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 58/94 [5/6 concurrent test workers running] PASS ZipArchive::getStreamIndex / ZipArchive::getName [tests/oo_getstreamindex.phpt] TEST 59/94 [5/6 concurrent test workers running] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 60/94 [5/6 concurrent test workers running] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 61/94 [5/6 concurrent test workers running] SKIP zip::open() function [tests/oo_open.phpt] reason: PHP < 8 only TEST 62/94 [5/6 concurrent test workers running] PASS Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 63/94 [5/6 concurrent test workers running] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 64/94 [5/6 concurrent test workers running] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 65/94 [5/6 concurrent test workers running] SKIP Bug #51353 ZIP64 problem, archive with 100000 items [tests/bug51353.phpt] reason: the test might get very long, activate it manually TEST 66/94 [5/6 concurrent test workers running] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 67/94 [5/6 concurrent test workers running] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 68/94 [5/6 concurrent test workers running] PASS zip::open() function [tests/oo_open2.phpt] TEST 69/94 [5/6 concurrent test workers running] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 70/94 [5/6 concurrent test workers running] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 71/94 [5/6 concurrent test workers running] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 72/94 [5/6 concurrent test workers running] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 73/94 [5/6 concurrent test workers running] SKIP Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] reason: ZTS required TEST 74/94 [5/6 concurrent test workers running] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 75/94 [5/6 concurrent test workers running] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 76/94 [5/6 concurrent test workers running] SKIP ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] reason: PHP < 8 only TEST 77/94 [5/6 concurrent test workers running] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 78/94 [5/6 concurrent test workers running] PASS zip_close() function [tests/zip_close.phpt] TEST 79/94 [5/6 concurrent test workers running] SKIP Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] reason: only for PHP < 8 TEST 80/94 [5/6 concurrent test workers running] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 81/94 [5/6 concurrent test workers running] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 82/94 [5/6 concurrent test workers running] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties2.phpt] TEST 83/94 [5/6 concurrent test workers running] SKIP zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] reason: PHP < 8 only TEST 84/94 [4/6 concurrent test workers running] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 85/94 [4/6 concurrent test workers running] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885_php8.phpt] TEST 86/94 [4/6 concurrent test workers running] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close2.phpt] TEST 87/94 [3/6 concurrent test workers running] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 88/94 [3/6 concurrent test workers running] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 89/94 [3/6 concurrent test workers running] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 90/94 [3/6 concurrent test workers running] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 91/94 [3/6 concurrent test workers running] PASS zip::close() function [tests/oo_close.phpt] TEST 92/94 [2/6 concurrent test workers running] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 93/94 [1/6 concurrent test workers running] PASS Bug #80833 (ZipArchive::getStream doesn't use setPassword) [tests/bug80833.phpt] TEST 94/94 [1/6 concurrent test workers running] ===================================================================== TIME END 2021-10-12 13:53:49 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 94 83 Tests skipped : 11 ( 11.7%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 83 ( 88.3%) (100.0%) --------------------------------------------------------------------- Time taken : 1 seconds ===================================================================== + cd ../ZTS + : minimal load test of ZTS extension + /usr/bin/zts-php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/lib64/php-zts/modules/zip.so --modules + grep zip zip + : upstream test suite for ZTS extension + TEST_PHP_ARGS='-n -d extension_dir=/builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS/modules -d extension=zip.so' + TEST_PHP_EXECUTABLE=/usr/bin/zts-php + /usr/bin/zts-php -n run-tests.php -q --show-diff -j6 ===================================================================== PHP : /usr/bin/zts-php PHP_SAPI : cli PHP_VERSION : 8.0.12RC1 ZEND_VERSION: 4.0.12RC1 PHP_OS : Linux - Linux buildvm-x86-07.iad2.fedoraproject.org 5.12.13-300.fc34.x86_64 #1 SMP Wed Jun 23 16:18:11 UTC 2021 x86_64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.20.0/ZTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2021-10-12 13:53:49 ===================================================================== ===================================================================== ========= WELCOME TO THE FUTURE: run-tests PARALLEL EDITION ========= ===================================================================== Spawning 6 workers... Done in 0.06s ===================================================================== PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 1/94 [6/6 concurrent test workers running] PASS ziparchive::count() [tests/oo_count.phpt] TEST 2/94 [6/6 concurrent test workers running] PASS Rename entries [tests/oo_rename.phpt] TEST 3/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 4/94 [6/6 concurrent test workers running] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 5/94 [6/6 concurrent test workers running] PASS Check for zip presence [tests/001.phpt] TEST 6/94 [6/6 concurrent test workers running] PASS Bug #80863 (ZipArchive::extractTo() ignores references) [tests/bug80863.phpt] TEST 7/94 [6/6 concurrent test workers running] PASS Delete entries [tests/oo_delete.phpt] TEST 8/94 [6/6 concurrent test workers running] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 9/94 [6/6 concurrent test workers running] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 10/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 11/94 [6/6 concurrent test workers running] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 12/94 [6/6 concurrent test workers running] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 13/94 [6/6 concurrent test workers running] PASS Bug #81420 (ZipArchive::extractTo extracts outside of destination) [tests/bug81420.phpt] TEST 14/94 [6/6 concurrent test workers running] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 15/94 [6/6 concurrent test workers running] PASS #38943, properties in extended class cannot be set (<8.1) [tests/bug38943.phpt] TEST 16/94 [6/6 concurrent test workers running] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 17/94 [6/6 concurrent test workers running] PASS setComment [tests/oo_setcomment.phpt] TEST 18/94 [6/6 concurrent test workers running] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 19/94 [6/6 concurrent test workers running] SKIP #38943, properties in extended class cannot be set (>8.1) [tests/bug38943_2.phpt] reason: test for 8.1+ only TEST 20/94 [6/6 concurrent test workers running] SKIP setComment error behavior [tests/oo_setcomment_error.phpt] reason: PHP < 8 only TEST 21/94 [6/6 concurrent test workers running] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 22/94 [6/6 concurrent test workers running] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 23/94 [6/6 concurrent test workers running] PASS Bug #81490 (ZipArchive::extractTo() may leak memory) [tests/bug81490.phpt] TEST 24/94 [6/6 concurrent test workers running] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 25/94 [6/6 concurrent test workers running] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 26/94 [6/6 concurrent test workers running] PASS zip_open() function [tests/zip_open.phpt] TEST 27/94 [6/6 concurrent test workers running] PASS setComment error behavior [tests/oo_setcomment_error2.phpt] TEST 28/94 [6/6 concurrent test workers running] SKIP zip_open() error conditions [tests/zip_open_error.phpt] reason: PHP < 8 only TEST 29/94 [6/6 concurrent test workers running] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 30/94 [6/6 concurrent test workers running] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 31/94 [6/6 concurrent test workers running] PASS zip_open() error conditions [tests/zip_open_error2.phpt] TEST 32/94 [6/6 concurrent test workers running] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 33/94 [6/6 concurrent test workers running] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 34/94 [6/6 concurrent test workers running] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 35/94 [6/6 concurrent test workers running] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 36/94 [6/6 concurrent test workers running] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 37/94 [6/6 concurrent test workers running] PASS zip_read() function [tests/zip_read.phpt] TEST 38/94 [6/6 concurrent test workers running] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 39/94 [5/6 concurrent test workers running] PASS extractTo [tests/oo_extract.phpt] TEST 40/94 [5/6 concurrent test workers running] SKIP close() called twice [tests/doubleclose.phpt] reason: PHP < 8 only TEST 41/94 [5/6 concurrent test workers running] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 42/94 [5/6 concurrent test workers running] PASS setMtime [tests/oo_setmtime.phpt] TEST 43/94 [5/6 concurrent test workers running] SKIP getComment [tests/oo_getcomment.phpt] reason: PHP < 8 only TEST 44/94 [5/6 concurrent test workers running] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 45/94 [5/6 concurrent test workers running] PASS close() called twice [tests/doubleclose2.phpt] TEST 46/94 [5/6 concurrent test workers running] PASS getStream [tests/oo_stream.phpt] TEST 47/94 [5/6 concurrent test workers running] PASS getComment [tests/oo_getcomment2.phpt] TEST 48/94 [5/6 concurrent test workers running] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 49/94 [5/6 concurrent test workers running] PASS Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 50/94 [5/6 concurrent test workers running] PASS ziparchive::properties isset()/empty() checks [tests/oo_supported.phpt] TEST 51/94 [5/6 concurrent test workers running] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 52/94 [5/6 concurrent test workers running] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 53/94 [5/6 concurrent test workers running] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 54/94 [5/6 concurrent test workers running] SKIP Bug #51353 ZIP64 problem, archive with 100000 items [tests/bug51353.phpt] reason: the test might get very long, activate it manually TEST 55/94 [5/6 concurrent test workers running] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 56/94 [5/6 concurrent test workers running] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 57/94 [5/6 concurrent test workers running] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 58/94 [5/6 concurrent test workers running] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 59/94 [5/6 concurrent test workers running] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 60/94 [5/6 concurrent test workers running] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 61/94 [5/6 concurrent test workers running] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 62/94 [5/6 concurrent test workers running] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 63/94 [5/6 concurrent test workers running] PASS ZipArchive::getStreamIndex / ZipArchive::getName [tests/oo_getstreamindex.phpt] TEST 64/94 [5/6 concurrent test workers running] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 65/94 [5/6 concurrent test workers running] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 66/94 [5/6 concurrent test workers running] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 67/94 [5/6 concurrent test workers running] SKIP Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] reason: only for PHP < 8 TEST 68/94 [5/6 concurrent test workers running] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 69/94 [5/6 concurrent test workers running] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 70/94 [5/6 concurrent test workers running] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 71/94 [5/6 concurrent test workers running] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 72/94 [5/6 concurrent test workers running] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885_php8.phpt] TEST 73/94 [5/6 concurrent test workers running] PASS Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] TEST 74/94 [4/6 concurrent test workers running] SKIP zip::open() function [tests/oo_open.phpt] reason: PHP < 8 only TEST 75/94 [4/6 concurrent test workers running] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 76/94 [4/6 concurrent test workers running] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 77/94 [4/6 concurrent test workers running] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 78/94 [4/6 concurrent test workers running] PASS zip::open() function [tests/oo_open2.phpt] TEST 79/94 [4/6 concurrent test workers running] PASS zip_close() function [tests/zip_close.phpt] TEST 80/94 [4/6 concurrent test workers running] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 81/94 [4/6 concurrent test workers running] SKIP zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] reason: PHP < 8 only TEST 82/94 [4/6 concurrent test workers running] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 83/94 [4/6 concurrent test workers running] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 84/94 [4/6 concurrent test workers running] SKIP ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] reason: PHP < 8 only TEST 85/94 [4/6 concurrent test workers running] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 86/94 [4/6 concurrent test workers running] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 87/94 [4/6 concurrent test workers running] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close2.phpt] TEST 88/94 [4/6 concurrent test workers running] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 89/94 [4/6 concurrent test workers running] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 90/94 [3/6 concurrent test workers running] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 91/94 [3/6 concurrent test workers running] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties2.phpt] TEST 92/94 [3/6 concurrent test workers running] PASS zip::close() function [tests/oo_close.phpt] TEST 93/94 [2/6 concurrent test workers running] PASS Bug #80833 (ZipArchive::getStream doesn't use setPassword) [tests/bug80833.phpt] TEST 94/94 [1/6 concurrent test workers running] ===================================================================== TIME END 2021-10-12 13:53:50 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 94 84 Tests skipped : 10 ( 10.6%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 84 ( 89.4%) (100.0%) --------------------------------------------------------------------- Time taken : 1 seconds ===================================================================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: php-pecl-zip-1.20.0-1.fc36.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0IANvf + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.20.0 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/share/licenses/php-pecl-zip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/share/licenses/php-pecl-zip + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64/usr/share/licenses/php-pecl-zip + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(php-pecl-zip) = 1.20.0-1.fc36 php-pecl(zip) = 1.20.0 php-pecl(zip)(x86-64) = 1.20.0 php-pecl-zip = 1.20.0-1.fc36 php-pecl-zip(x86-64) = 1.20.0-1.fc36 php-zip = 1.20.0-1.fc36 php-zip(x86-64) = 1.20.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libzip.so.5()(64bit) rtld(GNU_HASH) Processing files: php-pecl-zip-debugsource-1.20.0-1.fc36.x86_64 Provides: php-pecl-zip-debugsource = 1.20.0-1.fc36 php-pecl-zip-debugsource(x86-64) = 1.20.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-pecl-zip-debuginfo-1.20.0-1.fc36.x86_64 Provides: debuginfo(build-id) = 47944214c2bad5056df31c94627ed07821ee4af7 debuginfo(build-id) = 789dd24446b9d5f681fe499481424c9b4acfbe87 php-pecl-zip-debuginfo = 1.20.0-1.fc36 php-pecl-zip-debuginfo(x86-64) = 1.20.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-pecl-zip-debugsource(x86-64) = 1.20.0-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 Wrote: /builddir/build/RPMS/php-pecl-zip-1.20.0-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debugsource-1.20.0-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debuginfo-1.20.0-1.fc36.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hPJC0f + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.20.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.20.0-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0