Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.spec'], chrootPath='/var/lib/mock/f43-build-57342332-6551577/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '8c4498a332a7495a8d8e5cde6a479ec7', '-D', '/var/lib/mock/f43-build-57342332-6551577/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.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: x86_64 Building for target x86_64 warning: line 48: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 49: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/php-pecl-mongodb-1.20.1-2.fc43.src.rpm RPM build warnings: line 48: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} line 49: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.spec'], chrootPath='/var/lib/mock/f43-build-57342332-6551577/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a518f8501d3145878fac82dc834548c2', '-D', '/var/lib/mock/f43-build-57342332-6551577/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.yclHJw + umask 022 + cd /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + test -d /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + /usr/bin/rm -rf /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Rj3yxJ + umask 022 + cd /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + cd /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + rm -rf php-pecl-mongodb-1.20.1 + /usr/bin/mkdir -p php-pecl-mongodb-1.20.1 + cd php-pecl-mongodb-1.20.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mongodb-1.20.1.tgz + 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 + pushd mongodb-1.20.1 ~/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 ~/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1 + grep CHECK_MODULES config.m4 PKG_CHECK_MODULES([PHP_MONGODB_BSON], [libbson-1.0 >= 1.28.1], [ PKG_CHECK_MODULES([PHP_MONGODB_MONGOC], [libmongoc-1.0 >= 1.28.1], [ PKG_CHECK_MODULES([PHP_MONGODB_MONGOCRYPT], [libmongocrypt >= 1.11.0], [ + grep -q 1.28.1 config.m4 + grep -q 1.11.0 config.m4 + sed -e 's/1.28.1/1.28.1/;s/1.11.0/1.11.0/' -i config.m4 ++ sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' phongo_version.h + extver=1.20.1 ~/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1 + test x1.20.1 '!=' x1.20.1 + popd + cat + tee 50-mongodb.ini ; Enable MongoDB driver for PHP extension module extension=mongodb.so ; Configuration ;mongodb.debug='' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RSfzHR + umask 022 + cd /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd php-pecl-mongodb-1.20.1 + cd mongodb-1.20.1 + /usr/bin/phpize Configuring for: PHP Version: 8.4 PHP Api Version: 20240924 Zend Module Api No: 20240924 Zend Extension Api No: 420240924 configure.ac:150: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:150: You should run autoupdate. build/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:150: the top level + sed -e s/INSTALL_ROOT/DESTDIR/ -i build/Makefile.global + rm -r src/libmongoc src/libmongocrypt src/libmongocrypt-compat + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /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 2025-02-18 09:39:07.759251900 +0000 +++ ./configure 2025-02-18 09:39:08.468315756 +0000 @@ -25381,7 +25381,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'" @@ -36705,7 +36705,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-php-config=/usr/bin/php-config --with-mongodb-system-libs --with-mongodb-client-side-encryption --enable-mongodb 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 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 ./build/shtool: line 509: warning: command substitution: ignored null byte in input ./build/shtool: line 510: warning: command substitution: ignored null byte in input ./build/shtool: line 509: warning: command substitution: ignored null byte in input ./build/shtool: line 510: warning: command substitution: ignored null byte in input checking for gawk... gawk checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-redhat-linux-gnu-cc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes 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 debugging is enabled... no checking if PHP is built with thread safety (ZTS)... no Configuring extension checking whether to enable MongoDB support... yes, shared checking for x86_64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking PHP version... 8.4.4 checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to compile against system libraries instead of bundled... yes checking whether to use system libbson... no checking whether to use system libmongoc... no checking whether to enable client-side encryption... yes checking for libbson-1.0 >= 1.28.1... yes checking for libmongoc-1.0 >= 1.28.1... yes checking for libmongocrypt >= 1.11.0... yes Configuring libtool checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file 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-ranlib... no checking for ranlib... ranlib 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 gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 25387: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -DPIC checking if g++ PIC flag -DPIC works... yes checking if g++ static flag works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported Generating files configure: creating build directories configure: creating Makefile configure: patching config.h.in configure: creating ./config.status mongodb was configured with the following options: Build configuration: CC : gcc CFLAGS : -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CPPFLAGS : -DHAVE_CONFIG_H Extra flags : Developer flags (slow) : Code Coverage flags (extra slow) : libmongoc : System (1.30.0) libbson : None libmongocrypt : System (1.12.0) LDFLAGS : -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes EXTRA_LDFLAGS : MONGODB_SHARED_LIBADD : -lbson-1.0 -lrt -lmongoc-1.0 -lbson-1.0 -lrt -lmongocrypt -lbson-1.0 -lrt Please submit bugreports at: https://jira.mongodb.org/browse/PHPC config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j6 V=1 VERBOSE=1 /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_compat.c -o src/phongo_compat.lo -MMD -MF src/phongo_compat.dep -MT src/phongo_compat.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_compat.c -MMD -MF src/phongo_compat.dep -MT src/phongo_compat.lo -fPIC -DPIC -o src/.libs/phongo_compat.o /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c -o php_phongo.lo -MMD -MF php_phongo.dep -MT php_phongo.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c -MMD -MF php_phongo.dep -MT php_phongo.lo -fPIC -DPIC -o .libs/php_phongo.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c: In function 'zm_globals_ctor_mongodb': /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c:133:9: warning: 'bson_atomic_int32_fetch_add' is deprecated [-Wdeprecated-declarations] 133 | bson_atomic_int32_fetch_add(&phongo_num_threads, 1, bson_memory_order_seq_cst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libbson-1.0/bson/bson.h:30: /usr/include/libbson-1.0/bson/bson-atomic.h:193:49: note: declared here 193 | static BSON_INLINE Type BSON_GNUC_DEPRECATED bson_atomic_##NamePart##_fetch_add ( \ | ^~~~~~~~~~~~ /usr/include/libbson-1.0/bson/bson-atomic.h:320:44: note: in expansion of macro 'DECL_ATOMIC_INTEGRAL' 320 | #define DECL_ATOMIC_STDINT(Name, VCSuffix) DECL_ATOMIC_INTEGRAL (Name, Name##_t, VCSuffix) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/libbson-1.0/bson/bson-atomic.h:347:1: note: in expansion of macro 'DECL_ATOMIC_STDINT' 347 | DECL_ATOMIC_STDINT (int32, ) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c: In function 'zm_globals_dtor_mongodb': /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/php_phongo.c:378:9: warning: 'bson_atomic_int32_fetch_sub' is deprecated [-Wdeprecated-declarations] 378 | if (bson_atomic_int32_fetch_sub(&phongo_num_threads, 1, bson_memory_order_seq_cst) - 1 == 0) { | ^~ /usr/include/libbson-1.0/bson/bson-atomic.h:204:49: note: declared here 204 | static BSON_INLINE Type BSON_GNUC_DEPRECATED bson_atomic_##NamePart##_fetch_sub ( \ | ^~~~~~~~~~~~ /usr/include/libbson-1.0/bson/bson-atomic.h:320:44: note: in expansion of macro 'DECL_ATOMIC_INTEGRAL' 320 | #define DECL_ATOMIC_STDINT(Name, VCSuffix) DECL_ATOMIC_INTEGRAL (Name, Name##_t, VCSuffix) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/libbson-1.0/bson/bson-atomic.h:347:1: note: in expansion of macro 'DECL_ATOMIC_STDINT' 347 | DECL_ATOMIC_STDINT (int32, ) | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:320: php_phongo.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson_encode.c -o src/phongo_bson_encode.lo -MMD -MF src/phongo_bson_encode.dep -MT src/phongo_bson_encode.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson_encode.c -MMD -MF src/phongo_bson_encode.dep -MT src/phongo_bson_encode.lo -fPIC -DPIC -o src/.libs/phongo_bson_encode.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson_encode.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ make: *** [Makefile:329: src/phongo_bson_encode.lo] Error 1 /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_apm.c -o src/phongo_apm.lo -MMD -MF src/phongo_apm.dep -MT src/phongo_apm.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_apm.c -MMD -MF src/phongo_apm.dep -MT src/phongo_apm.lo -fPIC -DPIC -o src/.libs/phongo_apm.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_apm.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ make: *** [Makefile:323: src/phongo_apm.lo] Error 1 /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c -o src/phongo_bson.lo -MMD -MF src/phongo_bson.dep -MT src/phongo_bson.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c -MMD -MF src/phongo_bson.dep -MT src/phongo_bson.lo -fPIC -DPIC -o src/.libs/phongo_bson.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c: In function 'php_phongo_bson_state_parse_fieldpaths': /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c:1397:30: warning: variable 'property' set but not used [-Wunused-but-set-variable] 1397 | zval* property; | ^~~~~~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c:1396:30: warning: variable 'num_key' set but not used [-Wunused-but-set-variable] 1396 | zend_ulong num_key = 0; | ^~~~~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c: In function 'php_phongo_bson_to_json': /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_bson.c:1453:17: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 1453 | json = bson_as_json(bson, &json_len); | ^~~~ /usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here 535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR (bson_as_legacy_extended_json); | ^~~~~~~~~~~~ make: *** [Makefile:326: src/phongo_bson.lo] Error 1 /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_client.c -o src/phongo_client.lo -MMD -MF src/phongo_client.dep -MT src/phongo_client.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_client.c -MMD -MF src/phongo_client.dep -MT src/phongo_client.lo -fPIC -DPIC -o src/.libs/phongo_client.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_client.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ make: *** [Makefile:332: src/phongo_client.lo] Error 1 /bin/sh /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/libtool --tag=CC --mode=compile gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_error.c -o src/phongo_error.lo -MMD -MF src/phongo_error.dep -MT src/phongo_error.lo libtool: compile: gcc -I. -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1 -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-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/BSON/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Exception/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/MongoDB/Monitoring/ -I/builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/contrib/ -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -I/usr/include/libbson-1.0 -DUTF8PROC_EXPORTS -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I/usr/include/mongocrypt -I/usr/include/libbson-1.0 -DZEND_COMPILE_DL_EXT=1 -c /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_error.c -MMD -MF src/phongo_error.dep -MT src/phongo_error.lo -fPIC -DPIC -o src/.libs/phongo_error.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_error.c:17: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_error.c: In function 'phongo_throw_exception': /builddir/build/BUILD/php-pecl-mongodb-1.20.1-build/php-pecl-mongodb-1.20.1/mongodb-1.20.1/src/phongo_error.c:115:17: warning: variable 'message_len' set but not used [-Wunused-but-set-variable] 115 | int message_len; | ^~~~~~~~~~~ make: *** [Makefile:338: src/phongo_error.lo] Error 1 error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RSfzHR (%build) Bad exit status from /var/tmp/rpm-tmp.RSfzHR (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a518f8501d3145878fac82dc834548c2 -D /var/lib/mock/f43-build-57342332-6551577/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a518f8501d3145878fac82dc834548c2 -D /var/lib/mock/f43-build-57342332-6551577/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qzbaxsz8:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 x86_64 --nodeps /builddir/build/SPECS/php-pecl-mongodb.spec'