Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.spec'], chrootPath='/var/lib/mock/f42-build-3457818-45510/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o9tt3akm:/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.o9tt3akm:/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', 'b8dba1530006490ea429a39bb1be4c0b', '-D', '/var/lib/mock/f42-build-3457818-45510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o9tt3akm:/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 riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1738368000 Wrote: /builddir/build/SRPMS/postgresql-pgpool-II-4.5.1-5.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.spec'], chrootPath='/var/lib/mock/f42-build-3457818-45510/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o9tt3akm:/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.o9tt3akm:/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', '3ca2406d6982405bb1e68dbc413ae069', '-D', '/var/lib/mock/f42-build-3457818-45510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o9tt3akm:/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 riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1738368000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5fDo3F + umask 022 + cd /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + test -d /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + /usr/bin/rm -rf /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Lt6dFP + umask 022 + cd /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + cd /builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build + rm -rf pgpool-II-4.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pgpool-II-4.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pgpool-II-4.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FBhbWT + umask 022 + cd /builddir/build/BUILD/postgresql-pgpool-II-4.5.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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,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 pgpool-II-4.5.1 + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,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 --- ./configure.backup 2024-02-27 08:29:56.000000000 +0000 +++ ./configure 2025-03-29 06:46:23.510000000 +0000 @@ -1799,7 +1799,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 2025-03-29 06:46:23.510000000 +0000 +++ ./configure 2025-03-29 06:46:24.376000000 +0000 @@ -16381,7 +16381,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_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"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $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 ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pgsql-includedir=/usr/include/pgsql --with-pgsql=/usr/lib64/pgsql --disable-static --with-pam --with-openssl --with-memcached=/usr/include/libmemcached --sysconfdir=/etc/pgpool-II/ configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for flex... no checking for lex... no checking for bison... no checking for byacc... no checking whether gcc and cc understand -c and -o together... yes checking for onsgmls... no checking for nsgmls... no checking for openjade... no checking for jade... no checking for DocBook V4.2... no checking for DocBook stylesheets... no checking for collateindex.pl... no checking for xsltproc... no checking for xmllint... xmllint checking for osx... no checking for sgml2xml... no checking for sx... no checking for perl... no checking for lynx... no checking for sunifdef... no checking for -Wall option... yes checking for -Wmissing-prototypes option... yes checking for -Wmissing-declarations option... yes checking for main in -lm... yes checking for main in -lnsl... no checking for main in -lsocket... no checking for main in -lipc... no checking for main in -lIPC... no checking for main in -llc... no checking for main in -lBSD... no checking for main in -lgen... no checking for main in -lPW... no checking for main in -lresolv... yes checking for main in -lcrypt... yes checking for strlcat,... no checking for strlcpy... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking for snprintf... yes checking for vsnprintf... yes checking whether long int is 64 bits... yes checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes checking size of unsigned long... 8 checking size of void *... 8 checking size of size_t... 8 checking whether to build with float4 passed by value... yes checking whether to build with float8 passed by value... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... no checking for union semun... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking for setsid... yes checking for select... yes checking for socket... yes checking for sigprocmask... yes checking for strdup... yes checking for strerror... yes checking for strftime... yes checking for strtok... yes checking for asprintf... yes checking for vasprintf... yes checking for gai_strerror... yes checking for hstrerror... yes checking for pstat... no checking for setproctitle... no checking for syslog... yes checking for __builtin_types_compatible_p... yes checking for pg_config... pg_config checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_new in -lssl... yes checking for pam_start in -lpam... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking libmemcached/memcached.h usability... yes checking libmemcached/memcached.h presence... yes checking for libmemcached/memcached.h... yes checking for memcached_create in -lmemcached... yes checking for PQexecPrepared in -lpq... yes checking for PQprepare... yes checking for PQpingParams... yes checking whether to use row lock against the sequence table for insert_lock... no checking whether to use table lock against the target table for insert_lock... no enable cassert = no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/src/Makefile config.status: creating doc/src/sgml/Makefile config.status: creating doc.ja/Makefile config.status: creating doc.ja/src/Makefile config.status: creating doc.ja/src/sgml/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/parser/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/pcp/Makefile config.status: creating src/tools/Makefile config.status: creating src/tools/pgmd5/Makefile config.status: creating src/tools/pgenc/Makefile config.status: creating src/tools/pcp/Makefile config.status: creating src/tools/pgproto/Makefile config.status: creating src/tools/watchdog/Makefile config.status: creating src/watchdog/Makefile config.status: creating src/include/config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + /usr/bin/make -O -j32 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon' Making all in src Making all in parser make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o nodes.o nodes.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o kwlookup.o kwlookup.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from nodes.c:21: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: nodes.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ../../src/include/parser/kwlookup.h:18, from kwlookup.c:19: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: kwlookup.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o keywords.o keywords.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/kwlookup.h:18, from ../../src/include/parser/keywords.h:18, from keywords.c:18: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: keywords.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o scansup.o scansup.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from scansup.c:16: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: scansup.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o stringinfo.o stringinfo.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from stringinfo.c:20: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: stringinfo.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o value.o value.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/parsenodes.h:26, from value.c:19: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: value.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o ../../src/utils/mmgr/mcxt.o ../../src/utils/mmgr/mcxt.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/utils/mmgr/mcxt.c:24: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: ../../src/utils/mmgr/mcxt.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o ../../src/utils/mmgr/aset.o ../../src/utils/mmgr/aset.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/utils/mmgr/aset.c:47: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: ../../src/utils/mmgr/aset.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o list.o list.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from ../../src/include/parser/stringinfo.h:25, from ../../src/include/utils/elog.h:20, from list.c:20: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: list.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o makefuncs.o makefuncs.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from makefuncs.c:17: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: makefuncs.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o parser.o parser.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from parser.c:25: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: parser.o] Error 1 In file included from ../../src/include/parser/pool_parser.h:22, from wchar.c:8: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: wchar.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o wchar.o wchar.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o scan.o scan.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from scan.l:34: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: scan.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o outfuncs.o outfuncs.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from outfuncs.c:19: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: outfuncs.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o ../../src/utils/error/elog.o ../../src/utils/error/elog.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/pool.h:28, from ../../src/utils/error/elog.c:56: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: ../../src/utils/error/elog.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o copyfuncs.o copyfuncs.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/pool.h:28, from copyfuncs.c:24: ../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: copyfuncs.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o gram.o gram.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' make[2]: Entering directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/pgsql -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c -o gram_minimal.o gram_minimal.c make[2]: Leaving directory '/builddir/build/BUILD/postgresql-pgpool-II-4.5.1-build/pgpool-II-4.5.1/src/parser' In file included from ../../src/include/parser/pool_parser.h:22, from gram.y:48: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: gram.o] Error 1 In file included from ../../src/include/parser/pool_parser.h:22, from gram_minimal.y:48: ../../src/include/parser/../pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’ 44 | typedef char bool; | ^~~~ ../../src/include/parser/../pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../../src/include/parser/../pool_type.h:44:1: warning: useless type name in empty declaration 44 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:422: gram_minimal.o] Error 1 make[1]: *** [Makefile:930: all-recursive] Error 1 make: *** [Makefile:401: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.FBhbWT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.FBhbWT (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3ca2406d6982405bb1e68dbc413ae069 -D /var/lib/mock/f42-build-3457818-45510/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o9tt3akm:/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 riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.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 3ca2406d6982405bb1e68dbc413ae069 -D /var/lib/mock/f42-build-3457818-45510/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o9tt3akm:/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 riscv64 --nodeps /builddir/build/SPECS/postgresql-pgpool-II.spec'