Mock Version: 2.4 Mock Version: 2.4 Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f34-build-23109085-2169157/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 i686 --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 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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1601424000 Wrote: /builddir/build/SRPMS/php-pecl-zip-1.19.1-1.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/var/lib/mock/f34-build-23109085-2169157/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1601424000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rqiR77 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-zip-1.19.1 + /usr/bin/mkdir -p php-pecl-zip-1.19.1 + cd php-pecl-zip-1.19.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip-1.19.1.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.19.1 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.19.1 + test x1.19.1 '!=' x1.19.1 + 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.9UzGea + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.19.1 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 2020-09-30 13:00:13.892672152 +0000 +++ ./configure 2020-09-30 13:00:14.115673026 +0000 @@ -1708,7 +1708,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 2020-09-30 13:00:14.115673026 +0000 +++ ./configure 2020-09-30 13:00:14.137673112 +0000 @@ -7485,7 +7485,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'" @@ -14198,7 +14198,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=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libzip --with-libdir=lib --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 i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for i686-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-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/lib/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/i686-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.7.3 found in /usr/lib 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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-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 i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-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 7441: -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 i686-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 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) 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 -j48 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/php74/php_zip.c -o php74/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/php74/zip_stream.c -o php74/zip_stream.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/php74/php_zip.c -fPIC -DPIC -o php74/.libs/php_zip.o libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/php74/zip_stream.c -fPIC -DPIC -o php74/.libs/zip_stream.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/libtool --mode=link gcc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -o zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/modules php74/php_zip.lo php74/zip_stream.lo -lzip libtool: link: gcc -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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.19.1/NTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.19.1/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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 2020-09-30 13:00:22.229704818 +0000 +++ ./configure 2020-09-30 13:00:22.455705704 +0000 @@ -1708,7 +1708,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 2020-09-30 13:00:22.455705704 +0000 +++ ./configure 2020-09-30 13:00:22.477705790 +0000 @@ -7485,7 +7485,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'" @@ -14198,7 +14198,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=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libzip --with-libdir=lib --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 i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for i686-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-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/lib/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/i686-redhat-linux-gnu-pkg-config checking for libzip... from pkgconfig: version 1.7.3 found in /usr/lib 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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-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 i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-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 7441: -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 i686-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 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) 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 -j48 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/php74/php_zip.c -o php74/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/php74/zip_stream.c -o php74/zip_stream.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/php74/php_zip.c -fPIC -DPIC -o php74/.libs/php_zip.o libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/php74/zip_stream.c -fPIC -DPIC -o php74/.libs/zip_stream.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/libtool --mode=link gcc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/include -I/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/main -I/builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/php74 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -o zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/modules php74/php_zip.lo php74/zip_stream.lo -lzip libtool: link: gcc -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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.19.1/ZTS/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.19.1/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.19.1/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.19.1/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.ymE577 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 ++ dirname /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 + cd php-pecl-zip-1.19.1 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.19.1/NTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/etc/php.d/40-zip.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/var/lib/php/peclxml/php-pecl-zip.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/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.19.1-1.fc34.i386/usr/share/doc/pecl/zip/CREDITS + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 1.19.1-1.fc34 --unique-debug-suffix -1.19.1-1.fc34.i386 --unique-debug-src-base php-pecl-zip-1.19.1-1.fc34.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-pecl-zip-1.19.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php/modules/zip.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php-zts/modules/zip.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php/modules/zip.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/php-zts/modules/zip.so original debug info size: 472kB, size after compression: 416kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 432 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.30J2a8 + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.19.1 + cd NTS + : minimal load test of NTS extension + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/lib/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.19.1/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 --show-diff ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.4.11 ZEND_VERSION: 3.4.0 PHP_OS : Linux - Linux buildhw-x86-02.iad2.fedoraproject.org 5.7.11-200.fc32.x86_64 #1 SMP Wed Jul 29 17:15:52 UTC 2020 i686 INI actual : /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.19.1/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2020-09-30 13:00:30 ===================================================================== TEST 1/89 [tests/001.phpt] PASS Check for zip presence [tests/001.phpt] TEST 2/89 [tests/bug11216.phpt] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 3/89 [tests/bug14962.phpt] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 4/89 [tests/bug38943.phpt] PASS #38943, properties in extended class cannot be set (5.3+) [tests/bug38943.phpt] TEST 5/89 [tests/bug38943_2.phpt] PASS #38943, properties in extended class cannot be set (5.3) [tests/bug38943_2.phpt] TEST 6/89 [tests/bug38944.phpt] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 7/89 [tests/bug40228-mb.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 8/89 [tests/bug40228.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 9/89 [tests/bug47667.phpt] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 10/89 [tests/bug49072.phpt] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 11/89 [tests/bug50678.phpt] PASS Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 12/89 [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/89 [tests/bug53579.phpt] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 14/89 [tests/bug53603.phpt] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 15/89 [tests/bug53854.phpt] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 16/89 [tests/bug53885.phpt] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] TEST 17/89 [tests/bug53885_php8.phpt] SKIP Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885_php8.phpt] reason: only for PHP 8 TEST 18/89 [tests/bug64342_0.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 19/89 [tests/bug64342_1-mb.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 20/89 [tests/bug64342_1.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 21/89 [tests/bug70103.phpt] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 22/89 [tests/bug70322.phpt] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 23/89 [tests/bug70350.phpt] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 24/89 [tests/bug70752.phpt] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 25/89 [tests/bug7214.phpt] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 26/89 [tests/bug72258.phpt] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 27/89 [tests/bug72374.phpt] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 28/89 [tests/bug72434.phpt] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 29/89 [tests/bug72660.phpt] SKIP Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] reason: ZTS required TEST 30/89 [tests/bug76524.phpt] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 31/89 [tests/bug7658.phpt] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 32/89 [tests/bug78641.phpt] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 33/89 [tests/bug8009.phpt] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 34/89 [tests/bug8700.phpt] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 35/89 [tests/compression_methods.phpt] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 36/89 [tests/doubleclose.phpt] PASS close() called twice [tests/doubleclose.phpt] TEST 37/89 [tests/doubleclose2.phpt] SKIP close() called twice [tests/doubleclose2.phpt] reason: PHP 8 only TEST 38/89 [tests/oo_add_encoding.phpt] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 39/89 [tests/oo_add_from_string.phpt] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 40/89 [tests/oo_addemptydir.phpt] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 41/89 [tests/oo_addemptydir_error.phpt] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 42/89 [tests/oo_addfile.phpt] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 43/89 [tests/oo_addglob.phpt] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 44/89 [tests/oo_addglob2.phpt] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 45/89 [tests/oo_addpattern.phpt] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 46/89 [tests/oo_cancel.phpt] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 47/89 [tests/oo_close.phpt] PASS zip::close() function [tests/oo_close.phpt] TEST 48/89 [tests/oo_count.phpt] PASS ziparchive::count() [tests/oo_count.phpt] TEST 49/89 [tests/oo_delete.phpt] PASS Delete entries [tests/oo_delete.phpt] TEST 50/89 [tests/oo_encryption.phpt] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 51/89 [tests/oo_ext_zip.phpt] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 52/89 [tests/oo_externalattributes.phpt] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 53/89 [tests/oo_extract.phpt] PASS extractTo [tests/oo_extract.phpt] TEST 54/89 [tests/oo_getcomment.phpt] PASS getComment [tests/oo_getcomment.phpt] TEST 55/89 [tests/oo_getcomment2.phpt] SKIP getComment [tests/oo_getcomment2.phpt] reason: PHP 8 only TEST 56/89 [tests/oo_getnameindex.phpt] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 57/89 [tests/oo_getstatusstring.phpt] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 58/89 [tests/oo_namelocate.phpt] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 59/89 [tests/oo_open.phpt] PASS zip::open() function [tests/oo_open.phpt] TEST 60/89 [tests/oo_open2.phpt] SKIP zip::open() function [tests/oo_open2.phpt] reason: PHP 8 only TEST 61/89 [tests/oo_progress.phpt] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 62/89 [tests/oo_properties.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] TEST 63/89 [tests/oo_properties2.phpt] SKIP ziparchive::properties isset()/empty() checks [tests/oo_properties2.phpt] reason: PHP 8 only TEST 64/89 [tests/oo_rename.phpt] PASS Rename entries [tests/oo_rename.phpt] TEST 65/89 [tests/oo_replacefile.phpt] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 66/89 [tests/oo_setcomment.phpt] PASS setComment [tests/oo_setcomment.phpt] TEST 67/89 [tests/oo_setcomment_error.phpt] PASS setComment error behavior [tests/oo_setcomment_error.phpt] TEST 68/89 [tests/oo_setcomment_error2.phpt] SKIP setComment error behavior [tests/oo_setcomment_error2.phpt] reason: PHP 8 only TEST 69/89 [tests/oo_setcompression.phpt] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 70/89 [tests/oo_setmtime.phpt] PASS setMtime [tests/oo_setmtime.phpt] TEST 71/89 [tests/oo_stream.phpt] PASS getStream [tests/oo_stream.phpt] TEST 72/89 [tests/oo_supported.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_supported.phpt] TEST 73/89 [tests/oo_unchangeIndex.phpt] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 74/89 [tests/oo_unchangeName.phpt] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 75/89 [tests/pecl12414.phpt] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 76/89 [tests/stream_meta_data.phpt] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 77/89 [tests/zip_close.phpt] PASS zip_close() function [tests/zip_close.phpt] TEST 78/89 [tests/zip_entry_close.phpt] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] TEST 79/89 [tests/zip_entry_close2.phpt] SKIP zip_entry_close() function: simple and double call [tests/zip_entry_close2.phpt] reason: PHP 8 only TEST 80/89 [tests/zip_entry_compressedsize.phpt] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 81/89 [tests/zip_entry_compressionmethod.phpt] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 82/89 [tests/zip_entry_filesize.phpt] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 83/89 [tests/zip_entry_name.phpt] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 84/89 [tests/zip_entry_open.phpt] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 85/89 [tests/zip_entry_read.phpt] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 86/89 [tests/zip_open.phpt] PASS zip_open() function [tests/zip_open.phpt] TEST 87/89 [tests/zip_open_error.phpt] PASS zip_open() error conditions [tests/zip_open_error.phpt] TEST 88/89 [tests/zip_open_error2.phpt] SKIP zip_open() error conditions [tests/zip_open_error2.phpt] reason: PHP 8 only TEST 89/89 [tests/zip_read.phpt] PASS zip_read() function [tests/zip_read.phpt] ===================================================================== TIME END 2020-09-30 13:00:32 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 89 79 Tests skipped : 10 ( 11.2%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 79 ( 88.8%) (100.0%) --------------------------------------------------------------------- Time taken : 2 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.19.1-1.fc34.i386/usr/lib/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.19.1/ZTS/modules -d extension=zip.so' + REPORT_EXIT_STATUS=1 + NO_INTERACTION=1 + TEST_PHP_EXECUTABLE=/usr/bin/zts-php + /usr/bin/zts-php -n run-tests.php --show-diff ===================================================================== PHP : /usr/bin/zts-php PHP_SAPI : cli PHP_VERSION : 7.4.11 ZEND_VERSION: 3.4.0 PHP_OS : Linux - Linux buildhw-x86-02.iad2.fedoraproject.org 5.7.11-200.fc32.x86_64 #1 SMP Wed Jul 29 17:15:52 UTC 2020 i686 INI actual : /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.19.1/ZTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2020-09-30 13:00:32 ===================================================================== TEST 1/89 [tests/001.phpt] PASS Check for zip presence [tests/001.phpt] TEST 2/89 [tests/bug11216.phpt] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 3/89 [tests/bug14962.phpt] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 4/89 [tests/bug38943.phpt] PASS #38943, properties in extended class cannot be set (5.3+) [tests/bug38943.phpt] TEST 5/89 [tests/bug38943_2.phpt] PASS #38943, properties in extended class cannot be set (5.3) [tests/bug38943_2.phpt] TEST 6/89 [tests/bug38944.phpt] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 7/89 [tests/bug40228-mb.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 8/89 [tests/bug40228.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 9/89 [tests/bug47667.phpt] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 10/89 [tests/bug49072.phpt] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 11/89 [tests/bug50678.phpt] PASS Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 12/89 [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/89 [tests/bug53579.phpt] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 14/89 [tests/bug53603.phpt] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 15/89 [tests/bug53854.phpt] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 16/89 [tests/bug53885.phpt] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] TEST 17/89 [tests/bug53885_php8.phpt] SKIP Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885_php8.phpt] reason: only for PHP 8 TEST 18/89 [tests/bug64342_0.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 19/89 [tests/bug64342_1-mb.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 20/89 [tests/bug64342_1.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 21/89 [tests/bug70103.phpt] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 22/89 [tests/bug70322.phpt] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 23/89 [tests/bug70350.phpt] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 24/89 [tests/bug70752.phpt] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 25/89 [tests/bug7214.phpt] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 26/89 [tests/bug72258.phpt] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 27/89 [tests/bug72374.phpt] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 28/89 [tests/bug72434.phpt] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 29/89 [tests/bug72660.phpt] PASS Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] TEST 30/89 [tests/bug76524.phpt] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 31/89 [tests/bug7658.phpt] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 32/89 [tests/bug78641.phpt] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 33/89 [tests/bug8009.phpt] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 34/89 [tests/bug8700.phpt] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 35/89 [tests/compression_methods.phpt] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 36/89 [tests/doubleclose.phpt] PASS close() called twice [tests/doubleclose.phpt] TEST 37/89 [tests/doubleclose2.phpt] SKIP close() called twice [tests/doubleclose2.phpt] reason: PHP 8 only TEST 38/89 [tests/oo_add_encoding.phpt] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 39/89 [tests/oo_add_from_string.phpt] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 40/89 [tests/oo_addemptydir.phpt] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 41/89 [tests/oo_addemptydir_error.phpt] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 42/89 [tests/oo_addfile.phpt] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 43/89 [tests/oo_addglob.phpt] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 44/89 [tests/oo_addglob2.phpt] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 45/89 [tests/oo_addpattern.phpt] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 46/89 [tests/oo_cancel.phpt] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 47/89 [tests/oo_close.phpt] PASS zip::close() function [tests/oo_close.phpt] TEST 48/89 [tests/oo_count.phpt] PASS ziparchive::count() [tests/oo_count.phpt] TEST 49/89 [tests/oo_delete.phpt] PASS Delete entries [tests/oo_delete.phpt] TEST 50/89 [tests/oo_encryption.phpt] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 51/89 [tests/oo_ext_zip.phpt] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 52/89 [tests/oo_externalattributes.phpt] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 53/89 [tests/oo_extract.phpt] PASS extractTo [tests/oo_extract.phpt] TEST 54/89 [tests/oo_getcomment.phpt] PASS getComment [tests/oo_getcomment.phpt] TEST 55/89 [tests/oo_getcomment2.phpt] SKIP getComment [tests/oo_getcomment2.phpt] reason: PHP 8 only TEST 56/89 [tests/oo_getnameindex.phpt] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 57/89 [tests/oo_getstatusstring.phpt] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 58/89 [tests/oo_namelocate.phpt] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 59/89 [tests/oo_open.phpt] PASS zip::open() function [tests/oo_open.phpt] TEST 60/89 [tests/oo_open2.phpt] SKIP zip::open() function [tests/oo_open2.phpt] reason: PHP 8 only TEST 61/89 [tests/oo_progress.phpt] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 62/89 [tests/oo_properties.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] TEST 63/89 [tests/oo_properties2.phpt] SKIP ziparchive::properties isset()/empty() checks [tests/oo_properties2.phpt] reason: PHP 8 only TEST 64/89 [tests/oo_rename.phpt] PASS Rename entries [tests/oo_rename.phpt] TEST 65/89 [tests/oo_replacefile.phpt] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 66/89 [tests/oo_setcomment.phpt] PASS setComment [tests/oo_setcomment.phpt] TEST 67/89 [tests/oo_setcomment_error.phpt] PASS setComment error behavior [tests/oo_setcomment_error.phpt] TEST 68/89 [tests/oo_setcomment_error2.phpt] SKIP setComment error behavior [tests/oo_setcomment_error2.phpt] reason: PHP 8 only TEST 69/89 [tests/oo_setcompression.phpt] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 70/89 [tests/oo_setmtime.phpt] PASS setMtime [tests/oo_setmtime.phpt] TEST 71/89 [tests/oo_stream.phpt] PASS getStream [tests/oo_stream.phpt] TEST 72/89 [tests/oo_supported.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_supported.phpt] TEST 73/89 [tests/oo_unchangeIndex.phpt] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 74/89 [tests/oo_unchangeName.phpt] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 75/89 [tests/pecl12414.phpt] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 76/89 [tests/stream_meta_data.phpt] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 77/89 [tests/zip_close.phpt] PASS zip_close() function [tests/zip_close.phpt] TEST 78/89 [tests/zip_entry_close.phpt] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] TEST 79/89 [tests/zip_entry_close2.phpt] SKIP zip_entry_close() function: simple and double call [tests/zip_entry_close2.phpt] reason: PHP 8 only TEST 80/89 [tests/zip_entry_compressedsize.phpt] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 81/89 [tests/zip_entry_compressionmethod.phpt] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 82/89 [tests/zip_entry_filesize.phpt] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 83/89 [tests/zip_entry_name.phpt] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 84/89 [tests/zip_entry_open.phpt] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 85/89 [tests/zip_entry_read.phpt] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 86/89 [tests/zip_open.phpt] PASS zip_open() function [tests/zip_open.phpt] TEST 87/89 [tests/zip_open_error.phpt] PASS zip_open() error conditions [tests/zip_open_error.phpt] TEST 88/89 [tests/zip_open_error2.phpt] SKIP zip_open() error conditions [tests/zip_open_error2.phpt] reason: PHP 8 only TEST 89/89 [tests/zip_read.phpt] PASS zip_read() function [tests/zip_read.phpt] ===================================================================== TIME END 2020-09-30 13:00:34 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 89 80 Tests skipped : 9 ( 10.1%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 80 ( 89.9%) (100.0%) --------------------------------------------------------------------- Time taken : 2 seconds ===================================================================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: php-pecl-zip-1.19.1-1.fc34.i686 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RplYA9 + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.19.1 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/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.19.1-1.fc34.i386/usr/share/licenses/php-pecl-zip + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386/usr/share/licenses/php-pecl-zip + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(php-pecl-zip) = 1.19.1-1.fc34 php-pecl(zip) = 1.19.1 php-pecl(zip)(x86-32) = 1.19.1 php-pecl-zip = 1.19.1-1.fc34 php-pecl-zip(x86-32) = 1.19.1-1.fc34 php-zip = 1.19.1-1.fc34 php-zip(x86-32) = 1.19.1-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.27) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libzip.so.5 rtld(GNU_HASH) Processing files: php-pecl-zip-debugsource-1.19.1-1.fc34.i686 Provides: php-pecl-zip-debugsource = 1.19.1-1.fc34 php-pecl-zip-debugsource(x86-32) = 1.19.1-1.fc34 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.19.1-1.fc34.i686 Provides: debuginfo(build-id) = a1923b167e3a6380eeb3d06da93497dc61c34bcb debuginfo(build-id) = d6185784e1dc752a4bb45ca937459a3bf08b88c2 php-pecl-zip-debuginfo = 1.19.1-1.fc34 php-pecl-zip-debuginfo(x86-32) = 1.19.1-1.fc34 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-32) = 1.19.1-1.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 Wrote: /builddir/build/RPMS/php-pecl-zip-debugsource-1.19.1-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-1.19.1-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debuginfo-1.19.1-1.fc34.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.12j9z8 + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.19.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.19.1-1.fc34.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0