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/module-php-7.2-8060020220513153705-0a326c83-build-55934-18896/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=86400uid=993gid=135user='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 33: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 34: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.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/module-php-7.2-8060020220513153705-0a326c83-build-55934-18896/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=86400uid=993gid=135user='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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A0otMl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-zip-1.15.3 + /usr/bin/mkdir -p php-pecl-zip-1.15.3 + cd php-pecl-zip-1.15.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip-1.15.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd zip-1.15.3 ++ sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php5/php_zip.h + extver=1.15.3 + test x1.15.3 '!=' x1.15.3 + cd .. + : Create the configuration file + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C0aifn + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.15.3 + cd zip-1.15.3 + /usr/bin/phpize Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './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"~' ./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-cc... no checking for x86_64-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... 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 re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for zip archive read/writesupport... yes, shared checking libzip... yes checking PHP version... PHP 7.0 - 7.2 checking for pkg-config... /usr/bin/pkg-config checking for libzip... from pkgconfig: version 1.5.1 found in /usr/lib64 checking for zip_open in -lzip... yes checking for zip_file_set_encryption in -lzip... yes checking for zip_libzip_version in -lzip... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert 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 cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -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: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j16 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/include -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/main -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -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.15.3/zip-1.15.3/php7 -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/php7/php_zip.c -o php7/php_zip.lo /bin/sh /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/include -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/main -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -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.15.3/zip-1.15.3/php7 -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/php7/zip_stream.c -o php7/zip_stream.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/include -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/main -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -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.15.3/zip-1.15.3/php7 -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/php7/php_zip.c -fPIC -DPIC -o php7/.libs/php_zip.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/include -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/main -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -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.15.3/zip-1.15.3/php7 -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/php7/zip_stream.c -fPIC -DPIC -o php7/.libs/zip_stream.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/include -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/main -I/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 -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.15.3/zip-1.15.3/php7 -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -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.15.3/zip-1.15.3/modules php7/php_zip.lo php7/zip_stream.lo -lzip libtool: link: cc -shared -fPIC -DPIC php7/.libs/php_zip.o php7/.libs/zip_stream.o -lzip -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -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.15.3/zip-1.15.3/libtool --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/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.15.3/zip-1.15.3/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/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'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8XeKgl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 ++ dirname /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 + cd php-pecl-zip-1.15.3 + make -C zip-1.15.3 install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/etc/php.d/40-zip.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/var/lib/php/peclxml/php-pecl-zip.xml + cd zip-1.15.3 ++ 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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.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 CREDITS /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/share/doc/pecl/zip/CREDITS + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.15.3-1.module+el8.6.0+366+01193c0a --unique-debug-suffix -1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 --unique-debug-src-base php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.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.15.3 extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/lib64/php/modules/zip.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 189 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LZPOHo + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.15.3 + cd zip-1.15.3 + : minimal load test of NTS extension + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/lib64/php/modules/zip.so --modules + grep zip zip + : upstream test suite for NTS extension + TEST_PHP_ARGS='-n -d extension_dir=/builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3/modules -d extension=zip.so' + REPORT_EXIT_STATUS=1 + NO_INTERACTION=1 + TEST_PHP_EXECUTABLE=/usr/bin/php + /usr/bin/php -n run-tests.php ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.2.24 ZEND_VERSION: 3.2.0 PHP_OS : Linux - Linux x86build001.cclinux.org 4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15 15:39:39 UTC 2021 x86_64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 More .INIs : CWD : /builddir/build/BUILD/php-pecl-zip-1.15.3/zip-1.15.3 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2022-05-13 16:59:35 ===================================================================== TEST 1/62 [tests/001.phpt] PASS Check for zip presence [tests/001.phpt] TEST 2/62 [tests/bug11216.phpt] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 3/62 [tests/bug14962.phpt] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 4/62 [tests/bug38943.phpt] PASS #38943, properties in extended class cannot be set (5.3+) [tests/bug38943.phpt] TEST 5/62 [tests/bug38943_2.phpt] PASS #38943, properties in extended class cannot be set (5.3) [tests/bug38943_2.phpt] TEST 6/62 [tests/bug38944.phpt] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 7/62 [tests/bug40228.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 8/62 [tests/bug47667.phpt] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 9/62 [tests/bug49072.phpt] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 10/62 [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 11/62 [tests/bug53579.phpt] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 12/62 [tests/bug53603.phpt] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 13/62 [tests/bug53854.phpt] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 14/62 [tests/bug53885.phpt] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] TEST 15/62 [tests/bug64342_0.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 16/62 [tests/bug64342_1.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 17/62 [tests/bug70322.phpt] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 18/62 [tests/bug70350.phpt] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 19/62 [tests/bug70752.phpt] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 20/62 [tests/bug7214.phpt] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 21/62 [tests/bug72258.phpt] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 22/62 [tests/bug72434.phpt] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 23/62 [tests/bug72660.phpt] SKIP Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] reason: ZTS required TEST 24/62 [tests/bug7658.phpt] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 25/62 [tests/bug8009.phpt] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 26/62 [tests/bug8700.phpt] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 27/62 [tests/compression_methods.phpt] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 28/62 [tests/doubleclose.phpt] PASS close() called twice [tests/doubleclose.phpt] TEST 29/62 [tests/oo_addemptydir.phpt] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 30/62 [tests/oo_addfile.phpt] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 31/62 [tests/oo_addglob.phpt] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 32/62 [tests/oo_addpattern.phpt] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 33/62 [tests/oo_close.phpt] PASS zip::close() function [tests/oo_close.phpt] TEST 34/62 [tests/oo_count.phpt] PASS ziparchive::count() [tests/oo_count.phpt] TEST 35/62 [tests/oo_delete.phpt] PASS Delete entries [tests/oo_delete.phpt] TEST 36/62 [tests/oo_encryption.phpt] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 37/62 [tests/oo_ext_zip.phpt] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 38/62 [tests/oo_externalattributes.phpt] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 39/62 [tests/oo_extract.phpt] PASS extractTo [tests/oo_extract.phpt] TEST 40/62 [tests/oo_getcomment.phpt] PASS getComment [tests/oo_getcomment.phpt] TEST 41/62 [tests/oo_getnameindex.phpt] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 42/62 [tests/oo_getstatusstring.phpt] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 43/62 [tests/oo_namelocate.phpt] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 44/62 [tests/oo_open.phpt] PASS zip::open() function [tests/oo_open.phpt] TEST 45/62 [tests/oo_properties.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] TEST 46/62 [tests/oo_rename.phpt] PASS Rename entries [tests/oo_rename.phpt] TEST 47/62 [tests/oo_setcomment.phpt] PASS setComment [tests/oo_setcomment.phpt] TEST 48/62 [tests/oo_setcompression.phpt] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 49/62 [tests/oo_stream.phpt] PASS getStream [tests/oo_stream.phpt] TEST 50/62 [tests/pecl12414.phpt] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 51/62 [tests/stream_meta_data.phpt] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 52/62 [tests/zip_close.phpt] PASS zip_close() function [tests/zip_close.phpt] TEST 53/62 [tests/zip_entry_close.phpt] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] TEST 54/62 [tests/zip_entry_compressedsize.phpt] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 55/62 [tests/zip_entry_compressionmethod.phpt] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 56/62 [tests/zip_entry_filesize.phpt] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 57/62 [tests/zip_entry_name.phpt] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 58/62 [tests/zip_entry_open.phpt] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 59/62 [tests/zip_entry_read.phpt] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 60/62 [tests/zip_open.phpt] PASS zip_open() function [tests/zip_open.phpt] TEST 61/62 [tests/zip_open_error.phpt] PASS zip_open() error conditions [tests/zip_open_error.phpt] TEST 62/62 [tests/zip_read.phpt] PASS zip_read() function [tests/zip_read.phpt] ===================================================================== TIME END 2022-05-13 16:59:36 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 62 60 Tests skipped : 2 ( 3.2%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 60 ( 96.8%) (100.0%) --------------------------------------------------------------------- Time taken : 1 seconds ===================================================================== + exit 0 Processing files: php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.D5A2no + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.15.3 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.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.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/share/licenses/php-pecl-zip + cp -pr zip-1.15.3/LICENSE /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64/usr/share/licenses/php-pecl-zip + exit 0 Provides: config(php-pecl-zip) = 1.15.3-1.module+el8.6.0+366+01193c0a php-pecl(zip) = 1.15.3 php-pecl(zip)(x86-64) = 1.15.3 php-pecl-zip = 1.15.3-1.module+el8.6.0+366+01193c0a php-pecl-zip(x86-64) = 1.15.3-1.module+el8.6.0+366+01193c0a php-zip = 1.15.3-1.module+el8.6.0+366+01193c0a php-zip(x86-64) = 1.15.3-1.module+el8.6.0+366+01193c0a 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.4)(64bit) libzip.so.5()(64bit) rtld(GNU_HASH) Processing files: php-pecl-zip-debugsource-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 Provides: php-pecl-zip-debugsource = 1.15.3-1.module+el8.6.0+366+01193c0a php-pecl-zip-debugsource(x86-64) = 1.15.3-1.module+el8.6.0+366+01193c0a 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.15.3-1.module+el8.6.0+366+01193c0a.x86_64 Provides: debuginfo(build-id) = 5ce7db24583cd9d78b81d5aa9ea3ac6c3ad0a1a7 php-pecl-zip-debuginfo = 1.15.3-1.module+el8.6.0+366+01193c0a php-pecl-zip-debuginfo(x86-64) = 1.15.3-1.module+el8.6.0+366+01193c0a 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.15.3-1.module+el8.6.0+366+01193c0a Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 Wrote: /builddir/build/RPMS/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debugsource-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debuginfo-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Zpi3Um + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.15.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.15.3-1.module+el8.6.0+366+01193c0a.x86_64 + exit 0 Child return code was: 0