D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/php-yaml-2.2.3-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.10pJCx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf yaml-2.2.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/yaml-2.2.3.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd yaml-2.2.3 + rm -rf /home/pterjan/rpmbuild/BUILD/yaml-2.2.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yaml-2.2.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' '../package*.xml' '!=' / ']' + mv ../package.xml . + cp /home/pterjan/rpmbuild/SOURCES/B13_yaml.ini B13_yaml.ini + perl -pi -e 's|/lib\b|/lib64|g' config.m4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rhIuut + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd yaml-2.2.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + phpize Configuring for: PHP Api Version: 20230831 Zend Module Api No: 20230831 Zend Extension Api No: 420230831 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying build/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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-libdir=lib64 --with-yaml=shared,/usr 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-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-mageia-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 egrep -e... (cached) /usr/bin/grep -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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib checking for PHP extension directory... /usr/lib64/php/8.3/extensions checking for PHP installed headers prefix... /usr/include/php8.3 checking if debug is enabled... no checking if zts is enabled... yes checking for gawk... gawk checking whether to enable LibYAML suppot... yes, shared checking for yaml headers... found in /usr 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 yaml.h... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for dlfcn.h... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... checking if g++ static flag works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 /bin/sh /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/libtool --tag=CC --mode=compile gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/parse.c -o parse.lo -MMD -MF parse.dep -MT parse.lo mkdir .libs mkdir: cannot create directory '.libs': File exists gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/parse.c -MMD -MF parse.dep -MT parse.lo -fPIC -DPIC -o .libs/parse.o /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/parse.c: In function 'handle_sequence': /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/parse.c:534:39: error: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 534 | zval_ptr_dtor(&retval); | ^~~~~~~ | | | zval ** {aka struct _zval_struct **} In file included from /usr/include/php8.3/Zend/zend.h:36, from /usr/include/php8.3/main/php.h:31, from /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/php_yaml.h:46, from /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/parse.c:36: /usr/include/php8.3/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'} 79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr); | ~~~~~~^~~~~~~~ make: *** [Makefile:214: parse.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/libtool --tag=CC --mode=compile gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/yaml.c -o yaml.lo -MMD -MF yaml.dep -MT yaml.lo mkdir .libs gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/yaml.c -MMD -MF yaml.dep -MT yaml.lo -fPIC -DPIC -o .libs/yaml.o /bin/sh /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/libtool --tag=CC --mode=compile gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/emit.c -o emit.lo -MMD -MF emit.dep -MT emit.lo mkdir .libs mkdir: cannot create directory '.libs': File exists gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/emit.c -MMD -MF emit.dep -MT emit.lo -fPIC -DPIC -o .libs/emit.o /bin/sh /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/libtool --tag=CC --mode=compile gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/detect.c -o detect.lo -MMD -MF detect.dep -MT detect.lo mkdir .libs mkdir: cannot create directory '.libs': File exists gcc -I. -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/include -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3/main -I/home/pterjan/rpmbuild/BUILD/yaml-2.2.3 -I/usr/include/php8.3 -I/usr/include/php8.3/main -I/usr/include/php8.3/TSRM -I/usr/include/php8.3/Zend -I/usr/include/php8.3/ext -I/usr/include/php8.3/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /home/pterjan/rpmbuild/BUILD/yaml-2.2.3/detect.c -MMD -MF detect.dep -MT detect.lo -fPIC -DPIC -o .libs/detect.o error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rhIuut (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rhIuut (%build) I: [iurt_root_command] ERROR: chroot