Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-277516-25873/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bb27ef2061a743f7b97782e113403716', '-D', '/home/lib/mock/dist-ocs23-base-build-277516-25873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/php-pecl-zip-1.22.2-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/php-pecl-zip.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-277516-25873/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9bd239ab8c8b4653a87f6410d2b33e52', '-D', '/home/lib/mock/dist-ocs23-base-build-277516-25873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5wbt0i2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kmfPWP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-zip-1.22.2 + /usr/bin/mkdir -p php-pecl-zip-1.22.2 + cd php-pecl-zip-1.22.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zip-1.22.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv zip-1.22.2 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php8/php_zip.h + extver=1.22.2 + test x1.22.2 '!=' x1.22.2 + cd .. + : Create the configuration file + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eDRPbE + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd php-pecl-zip-1.22.2 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20220829 Zend Module Api No: 20220829 Zend Extension Api No: 420220829 configure.ac:161: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:161: You should run autoupdate. build/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:161: the top level + '[' '-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 2024-09-05 22:08:52.338152205 +0800 +++ ./configure 2024-09-05 22:08:53.074165203 +0800 @@ -1705,7 +1705,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 2024-09-05 22:08:53.074165203 +0800 +++ ./configure 2024-09-05 22:08:53.166166828 +0800 @@ -8241,7 +8241,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'" @@ -15018,7 +15018,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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build/config.guess '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build/ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for loongarch64-opencloudos-linux-gnu-cc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib64 checking if compiler supports -Wl,-rpath,... yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking target system type... loongarch64-opencloudos-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking for zip archive read/writesupport... yes, shared checking libzip... yes checking PHP version... 8.1/8.2/8.3 checking for pkg-config... /usr/bin/pkg-config checking for libzip... from pkgconfig: version 1.10.0 found in /usr/lib64 checking for zip_open in -lzip... yes checking for zip_file_set_mtime in -lzip... yes checking for zip_file_set_encryption in -lzip... yes checking for zip_libzip_version in -lzip... yes checking for zip_register_progress_callback_with_state in -lzip... yes checking for zip_register_cancel_callback_with_state in -lzip... yes checking for zip_compression_method_supported in -lzip... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-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 8247: -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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes 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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /bin/sh /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81/zip_stream.c -o php81/zip_stream.lo -MMD -MF php81/zip_stream.dep -MT php81/zip_stream.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81/zip_stream.c -MMD -MF php81/zip_stream.dep -MT php81/zip_stream.lo -fPIC -DPIC -o php81/.libs/zip_stream.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81/php_zip.c -o php81/php_zip.lo -MMD -MF php81/php_zip.dep -MT php81/php_zip.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81/php_zip.c -MMD -MF php81/php_zip.dep -MT php81/php_zip.lo -fPIC -DPIC -o php81/.libs/php_zip.o /bin/sh /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/libtool --tag=CC --mode=link gcc -shared -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/include -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/main -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/php81 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o zip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules php81/php_zip.lo php81/zip_stream.lo -lzip libtool: link: gcc -shared -fPIC -DPIC php81/.libs/php_zip.o php81/.libs/zip_stream.o -lzip -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.22.2/NTS/libtool --tag=CC --mode=install cp ./zip.la /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules libtool: install: cp ./.libs/zip.so /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules/zip.so libtool: install: cp ./.libs/zip.lai /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules/zip.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ewj79t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 + cd php-pecl-zip-1.22.2 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 make: Entering directory '/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-zip-1.22.2/NTS' + install -D -m 644 40-zip.ini /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/etc/php.d/40-zip.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/var/lib/php/peclxml/php-pecl-zip.xml + 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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/usr/share/doc/pecl/zip/CREDITS + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.22.2-4.ocs23 --unique-debug-suffix -1.22.2-4.ocs23.loongarch64 --unique-debug-src-base php-pecl-zip-1.22.2-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/php-pecl-zip-1.22.2 extracting debug info from /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/usr/lib64/php/modules/zip.so 353 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RhJAUY + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd php-pecl-zip-1.22.2 + cd NTS + : minimal load test of NTS extension + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/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.22.2/NTS/modules -d extension=zip.so' + TEST_PHP_EXECUTABLE=/usr/bin/php + /usr/bin/php -n run-tests.php -q --show-diff ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 8.2.20 ZEND_VERSION: 4.2.20 PHP_OS : Linux - Linux 9bd239ab8c8b4653a87f6410d2b33e52 5.10.134-16.2_rc2.an23.loongarch64 #1 SMP Sat Jan 20 16:25:13 CST 2024 loongarch64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS More .INIs : --------------------------------------------------------------------- PHP : /usr/bin/php-cgi PHP_SAPI : cgi-fcgi PHP_VERSION : 8.2.20 ZEND_VERSION: 4.2.20 PHP_OS : Linux - Linux 9bd239ab8c8b4653a87f6410d2b33e52 5.10.134-16.2_rc2.an23.loongarch64 #1 SMP Sat Jan 20 16:25:13 CST 2024 loongarch64 INI actual : /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS More .INIs : --------------------------------------------------------------------- CWD : /builddir/build/BUILD/php-pecl-zip-1.22.2/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2024-09-05 14:09:29 ===================================================================== TEST 1/100 [tests/001.phpt] PASS Check for zip presence [tests/001.phpt] TEST 2/100 [tests/bug11216.phpt] PASS Bug #11216 (::addEmptyDir() crashes when the directory already exists) [tests/bug11216.phpt] TEST 3/100 [tests/bug14962.phpt] PASS Bug #14962 (::extractTo second argument is not really optional) [tests/bug14962.phpt] TEST 4/100 [tests/bug38943.phpt] SKIP #38943, properties in extended class cannot be set (<8.1) [tests/bug38943.phpt] reason: test for <8.1 only TEST 5/100 [tests/bug38943_2.phpt] PASS #38943, properties in extended class cannot be set (>8.1) [tests/bug38943_2.phpt] TEST 6/100 [tests/bug38944.phpt] PASS Bug #38944 (newly created ZipArchive segfaults when accessing comment property) [tests/bug38944.phpt] TEST 7/100 [tests/bug40228-mb.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228-mb.phpt] TEST 8/100 [tests/bug40228.phpt] PASS Bug #40228 (extractTo does not create recursive empty path) [tests/bug40228.phpt] TEST 9/100 [tests/bug47667.phpt] PASS Bug #47667 (ZipArchive::OVERWRITE seems to have no effect) [tests/bug47667.phpt] TEST 10/100 [tests/bug49072.phpt] PASS Bug #49072 (feof never returns true for damaged file in zip) [tests/bug49072.phpt] TEST 11/100 [tests/bug50678.phpt] PASS Bug #50678 (files extracted by ZipArchive class lost their original modified time) [tests/bug50678.phpt] TEST 12/100 [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/100 [tests/bug53579.phpt] PASS Bug #53579 (stream_get_contents() segfaults on ziparchive streams) [tests/bug53579.phpt] TEST 14/100 [tests/bug53603.phpt] PASS Bug #53603 (ZipArchive should quiet stat errors) [tests/bug53603.phpt] TEST 15/100 [tests/bug53854.phpt] PASS Bug #53854 (Missing constants for compression type) [tests/bug53854.phpt] TEST 16/100 [tests/bug53885.phpt] SKIP Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885.phpt] reason: only for PHP < 8 TEST 17/100 [tests/bug53885_php8.phpt] PASS Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) [tests/bug53885_php8.phpt] TEST 18/100 [tests/bug64342_0.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) [tests/bug64342_0.phpt] TEST 19/100 [tests/bug64342_1-mb.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1-mb.phpt] TEST 20/100 [tests/bug64342_1.phpt] PASS Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) [tests/bug64342_1.phpt] TEST 21/100 [tests/bug70103.phpt] PASS Bug #70103 (ZipArchive::addGlob ignores remove_all_path option) [tests/bug70103.phpt] TEST 22/100 [tests/bug70322.phpt] PASS Bug #70322 (ZipArchive::close() doesn't indicate errors) [tests/bug70322.phpt] TEST 23/100 [tests/bug70350.phpt] PASS Bug #70350 (ZipArchive::extractTo allows for directory traversal when creating directories) [tests/bug70350.phpt] TEST 24/100 [tests/bug70752.phpt] PASS Bug #70752 (Depacking with wrong password leaves 0 length files) [tests/bug70752.phpt] TEST 25/100 [tests/bug7214.phpt] PASS Bug #7214 (zip_entry_read() binary safe) [tests/bug7214.phpt] TEST 26/100 [tests/bug72258.phpt] PASS Bug #72258 ZipArchive converts filenames to unrecoverable form [tests/bug72258.phpt] TEST 27/100 [tests/bug72374.phpt] PASS Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename) [tests/bug72374.phpt] TEST 28/100 [tests/bug72434.phpt] PASS Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize [tests/bug72434.phpt] TEST 29/100 [tests/bug72660.phpt] SKIP Bug #72660 (NULL Pointer dereference in zend_virtual_cwd) [tests/bug72660.phpt] reason: ZTS required TEST 30/100 [tests/bug76524.phpt] PASS ZipArchive Bug #76524 (memory leak with ZipArchive::OVERWRITE flag and empty archive) [tests/bug76524.phpt] TEST 31/100 [tests/bug7658.phpt] PASS Bug #7658 (modify archive with general bit flag 3 set) [tests/bug7658.phpt] TEST 32/100 [tests/bug77978.phpt] PASS Bug #77978 (Dirname ending in colon unzips to wrong dir) [tests/bug77978.phpt] TEST 33/100 [tests/bug78641.phpt] PASS Bug #78641 (addGlob can modify given remove_path value) [tests/bug78641.phpt] TEST 34/100 [tests/bug8009.phpt] PASS Bug #8009 (cannot add again same entry to an archive) [tests/bug8009.phpt] TEST 35/100 [tests/bug80833.phpt] PASS Bug #80833 (ZipArchive::getStream doesn't use setPassword) [tests/bug80833.phpt] TEST 36/100 [tests/bug80863.phpt] PASS Bug #80863 (ZipArchive::extractTo() ignores references) [tests/bug80863.phpt] TEST 37/100 [tests/bug81420.phpt] PASS Bug #81420 (ZipArchive::extractTo extracts outside of destination) [tests/bug81420.phpt] TEST 38/100 [tests/bug81490.phpt] PASS Bug #81490 (ZipArchive::extractTo() may leak memory) [tests/bug81490.phpt] TEST 39/100 [tests/bug8700.phpt] PASS Bug #8700 (getFromIndex(0) fails) [tests/bug8700.phpt] TEST 40/100 [tests/bug_gh8781.phpt] PASS Bug GH-8781 (ZipArchive deletes zip file with no contents) [tests/bug_gh8781.phpt] TEST 41/100 [tests/compression_methods.phpt] PASS Recognition of compression methods [tests/compression_methods.phpt] TEST 42/100 [tests/doubleclose.phpt] SKIP close() called twice [tests/doubleclose.phpt] reason: PHP < 8 only TEST 43/100 [tests/doubleclose2.phpt] PASS close() called twice [tests/doubleclose2.phpt] TEST 44/100 [tests/oo_add_encoding.phpt] PASS ziparchive::addEmptyDir with encoding option [tests/oo_add_encoding.phpt] TEST 45/100 [tests/oo_add_from_string.phpt] PASS ziparchive::addFromString and FL_OVERWRITE [tests/oo_add_from_string.phpt] TEST 46/100 [tests/oo_addemptydir.phpt] PASS ziparchive::addEmptyDir [tests/oo_addemptydir.phpt] TEST 47/100 [tests/oo_addemptydir_error.phpt] PASS ziparchive::addEmptyDir error [tests/oo_addemptydir_error.phpt] TEST 48/100 [tests/oo_addfile.phpt] PASS ziparchive::addFile() function [tests/oo_addfile.phpt] TEST 49/100 [tests/oo_addglob.phpt] PASS ZipArchive::addGlob() method [tests/oo_addglob.phpt] TEST 50/100 [tests/oo_addglob2.phpt] PASS ZipArchive::addGlob() method with more compression and encryption [tests/oo_addglob2.phpt] TEST 51/100 [tests/oo_addpattern.phpt] PASS ZipArchive::addPattern() method [tests/oo_addpattern.phpt] TEST 52/100 [tests/oo_archive_flag.phpt] PASS ZipArchive::getArchiveFlag and setArchiveFlag [tests/oo_archive_flag.phpt] TEST 53/100 [tests/oo_cancel.phpt] PASS registerCancelCallback [tests/oo_cancel.phpt] TEST 54/100 [tests/oo_close.phpt] PASS zip::close() function [tests/oo_close.phpt] TEST 55/100 [tests/oo_close_empty.phpt] PASS Close empty file behavior [tests/oo_close_empty.phpt] TEST 56/100 [tests/oo_count.phpt] PASS ziparchive::count() [tests/oo_count.phpt] TEST 57/100 [tests/oo_delete.phpt] PASS Delete entries [tests/oo_delete.phpt] TEST 58/100 [tests/oo_encryption.phpt] PASS ZipArchive::setEncryption*() functions [tests/oo_encryption.phpt] TEST 59/100 [tests/oo_ext_zip.phpt] PASS Extending Zip class and array property [tests/oo_ext_zip.phpt] TEST 60/100 [tests/oo_externalattributes.phpt] PASS ZipArchive::*ExternalAttributes*() function [tests/oo_externalattributes.phpt] TEST 61/100 [tests/oo_extract.phpt] PASS extractTo [tests/oo_extract.phpt] TEST 62/100 [tests/oo_getcomment.phpt] SKIP getComment [tests/oo_getcomment.phpt] reason: PHP < 8 only TEST 63/100 [tests/oo_getcomment2.phpt] PASS getComment [tests/oo_getcomment2.phpt] TEST 64/100 [tests/oo_getnameindex.phpt] PASS getNameIndex [tests/oo_getnameindex.phpt] TEST 65/100 [tests/oo_getstatusstring.phpt] PASS This test will test getStatusString method in ZipArchive [tests/oo_getstatusstring.phpt] TEST 66/100 [tests/oo_getstreamindex.phpt] PASS ZipArchive::getStreamIndex / ZipArchive::getName [tests/oo_getstreamindex.phpt] TEST 67/100 [tests/oo_namelocate.phpt] PASS Locate entries by name [tests/oo_namelocate.phpt] TEST 68/100 [tests/oo_open.phpt] SKIP zip::open() function [tests/oo_open.phpt] reason: PHP < 8 only TEST 69/100 [tests/oo_open2.phpt] PASS zip::open() function [tests/oo_open2.phpt] TEST 70/100 [tests/oo_progress.phpt] PASS registerProgressCallback [tests/oo_progress.phpt] TEST 71/100 [tests/oo_properties.phpt] SKIP ziparchive::properties isset()/empty() checks [tests/oo_properties.phpt] reason: PHP < 8 only TEST 72/100 [tests/oo_properties2.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_properties2.phpt] TEST 73/100 [tests/oo_rename.phpt] PASS Rename entries [tests/oo_rename.phpt] TEST 74/100 [tests/oo_replacefile.phpt] PASS ziparchive::replaceFile() function [tests/oo_replacefile.phpt] TEST 75/100 [tests/oo_setcomment.phpt] PASS setComment [tests/oo_setcomment.phpt] TEST 76/100 [tests/oo_setcomment_error.phpt] SKIP setComment error behavior [tests/oo_setcomment_error.phpt] reason: PHP < 8 only TEST 77/100 [tests/oo_setcomment_error2.phpt] PASS setComment error behavior [tests/oo_setcomment_error2.phpt] TEST 78/100 [tests/oo_setcompression.phpt] PASS setCompressionName and setCompressionIndex methods [tests/oo_setcompression.phpt] TEST 79/100 [tests/oo_setmtime.phpt] PASS setMtime [tests/oo_setmtime.phpt] TEST 80/100 [tests/oo_stream.phpt] PASS getStream [tests/oo_stream.phpt] TEST 81/100 [tests/oo_stream_seek.phpt] PASS getStream and seek [tests/oo_stream_seek.phpt] TEST 82/100 [tests/oo_supported.phpt] PASS ziparchive::properties isset()/empty() checks [tests/oo_supported.phpt] TEST 83/100 [tests/oo_torrentzip.phpt] PASS torrentzip format support [tests/oo_torrentzip.phpt] TEST 84/100 [tests/oo_unchangeIndex.phpt] PASS Test basic ZipArchive::unchangeIndex() Method [tests/oo_unchangeIndex.phpt] TEST 85/100 [tests/oo_unchangeName.phpt] PASS Test basic ZipArchive::unchangeName() method [tests/oo_unchangeName.phpt] TEST 86/100 [tests/pecl12414.phpt] PASS Bug #12414 ( extracting files from damaged archives) [tests/pecl12414.phpt] TEST 87/100 [tests/stream_meta_data.phpt] PASS stream_get_meta_data() on zip stream [tests/stream_meta_data.phpt] TEST 88/100 [tests/zip_close.phpt] PASS zip_close() function [tests/zip_close.phpt] TEST 89/100 [tests/zip_entry_close.phpt] SKIP zip_entry_close() function: simple and double call [tests/zip_entry_close.phpt] reason: PHP < 8 only TEST 90/100 [tests/zip_entry_close2.phpt] PASS zip_entry_close() function: simple and double call [tests/zip_entry_close2.phpt] TEST 91/100 [tests/zip_entry_compressedsize.phpt] PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt] TEST 92/100 [tests/zip_entry_compressionmethod.phpt] PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt] TEST 93/100 [tests/zip_entry_filesize.phpt] PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt] TEST 94/100 [tests/zip_entry_name.phpt] PASS zip_entry_name() function [tests/zip_entry_name.phpt] TEST 95/100 [tests/zip_entry_open.phpt] PASS zip_entry_open() function [tests/zip_entry_open.phpt] TEST 96/100 [tests/zip_entry_read.phpt] PASS zip_entry_read() function [tests/zip_entry_read.phpt] TEST 97/100 [tests/zip_open.phpt] PASS zip_open() function [tests/zip_open.phpt] TEST 98/100 [tests/zip_open_error.phpt] SKIP zip_open() error conditions [tests/zip_open_error.phpt] reason: PHP < 8 only TEST 99/100 [tests/zip_open_error2.phpt] PASS zip_open() error conditions [tests/zip_open_error2.phpt] TEST 100/100 [tests/zip_read.phpt] PASS zip_read() function [tests/zip_read.phpt] ===================================================================== TIME END 2024-09-05 14:09:38 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 17 --------------------------------------------------------------------- Number of tests : 100 89 Tests skipped : 11 ( 11.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 89 ( 89.0%) (100.0%) --------------------------------------------------------------------- Time taken : 9 seconds ===================================================================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: php-pecl-zip-1.22.2-4.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WJsfzn + umask 022 + cd /builddir/build/BUILD + cd php-pecl-zip-1.22.2 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/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.22.2-4.ocs23.loongarch64/usr/share/licenses/php-pecl-zip + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64/usr/share/licenses/php-pecl-zip + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(php-pecl-zip) = 1.22.2-4.ocs23 php-pecl(zip) = 1.22.2 php-pecl-zip = 1.22.2-4.ocs23 php-pecl-zip(loongarch-64) = 1.22.2-4.ocs23 php-zip = 1.22.2-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libzip.so.5()(64bit) rtld(GNU_HASH) Processing files: php-pecl-zip-debugsource-1.22.2-4.ocs23.loongarch64 Provides: php-pecl-zip-debugsource = 1.22.2-4.ocs23 php-pecl-zip-debugsource(loongarch-64) = 1.22.2-4.ocs23 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.22.2-4.ocs23.loongarch64 Provides: debuginfo(build-id) = f9c0ddf700836ab3d5eed7f63c386a4df1daa6af php-pecl-zip-debuginfo = 1.22.2-4.ocs23 php-pecl-zip-debuginfo(loongarch-64) = 1.22.2-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-pecl-zip-debugsource(loongarch-64) = 1.22.2-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-zip-1.22.2-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/php-pecl-zip-debugsource-1.22.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-1.22.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/php-pecl-zip-debuginfo-1.22.2-4.ocs23.loongarch64.rpm Child return code was: 0