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 x86_64 --nodeps /builddir/build/SPECS/libvirt-cim.spec'], chrootPath='/var/lib/mock/f40-build-55466958-6535816/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.d28vuq5u:/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.d28vuq5u:/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', '726a41a5092f42e89d94d47c8051f775', '-D', '/var/lib/mock/f40-build-55466958-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d28vuq5u:/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/libvirt-cim.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/libvirt-cim-0.6.3-21.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt-cim.spec'], chrootPath='/var/lib/mock/f40-build-55466958-6535816/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.d28vuq5u:/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.d28vuq5u:/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', '1283d5df418e487598534f0a276d8e55', '-D', '/var/lib/mock/f40-build-55466958-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d28vuq5u:/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/libvirt-cim.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2e7ZEn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libvirt-cim-0.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libvirt-cim-0.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libvirt-cim-0.6.3 + rm -rf /builddir/build/BUILD/libvirt-cim-0.6.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libvirt-cim-0.6.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (libvirt-cim-aarch64.patch): + echo 'Patch #1 (libvirt-cim-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.guess patching file config.sub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qEsFH2 + umask 022 + cd /builddir/build/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 -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 -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 -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 -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 libvirt-cim-0.6.3 + 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 -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 -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 -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 -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 --- ./configure.backup 2013-07-25 07:35:02.000000000 +0000 +++ ./configure 2024-12-08 16:10:40.030339638 +0000 @@ -1821,7 +1821,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-12-08 16:10:40.030339638 +0000 +++ ./configure 2024-12-08 16:10:40.057342084 +0000 @@ -13907,7 +13907,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=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-werror checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/libvirt-cim-0.6.3/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/libvirt-cim-0.6.3/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 make supports nested variables... (cached) yes checking for x86_64-redhat-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 style of include used by make... GNU checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-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 -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... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for ANSI C header files... (cached) yes checking for popen... yes checking for pclose... yes checking for fgets... yes checking for asprintf... yes checking for vfprintf... yes checking for fprintf... yes checking for snprintf... yes checking for sscanf... yes checking for xsltproc... /usr/bin/xsltproc configure: checking for CMPI headers... checking standard... no checking /usr/include/cmpi... no checking /usr/local/include/cmpi... no checking /src/Pegasus/Provider/CMPI... no checking /opt/tog-pegasus/include/Pegasus/Provider/CMPI... no checking /usr/include/Pegasus/Provider/CMPI... yes checking return type for indications... CMPIStatus configure: checking for CMPI provider directory checking for /usr/lib64/cmpi... implied: /usr/lib64/cmpi configure: checking for CIM servers checking sfcbd ... no checking cimserver ... yes 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 LIBVIRT... yes checking for LIBXML... yes checking for LIBCU... yes checking for LIBUUID... yes checking for LIBCONFIG... yes ---------------------------------------------------------- Configuration for libvirt-cim complete. The following configuration options have been selected: CIMSERVER: pegasus PROVIDERDIR: /usr/lib64/cmpi CPPFLAGS: -DCMPI_VERSION=100 -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/libcmpiutil -I/usr/include/uuid You can override these values by setting the corresponding configure command-line option(s); e.g. ./configure PROVIDERDIR=/home/me/lib/sblim/ ---------------------------------------------------------- checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating base_schema/install_base_schema.sh config.status: creating base_schema/Makefile config.status: creating libxkutil/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating Makefile config.status: creating libvirt-cim.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands You may now run make + 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 + make -j6 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libvirt-cim-0.6.3' Making all in libxkutil make[2]: Entering directory '/builddir/build/BUILD/libvirt-cim-0.6.3/libxkutil' CC cs_util_instance.lo CC misc_util.lo CC device_parsing.lo CC xmlgen.lo CC infostore.lo CC pool_parsing.lo misc_util.c: In function 'parse_id': misc_util.c:674:28: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] 674 | ret = sscanf(id, "%a[^:]:%a[^\n]", &tmp_pfx, &tmp_name); | ~^ ~~~~~~~~ | | | | float * char ** misc_util.c:674:35: warning: format '%a' expects argument of type 'float *', but argument 4 has type 'char **' [-Wformat=] 674 | ret = sscanf(id, "%a[^:]:%a[^\n]", &tmp_pfx, &tmp_name); | ~^ ~~~~~~~~~ | | | | float * char ** infostore.c: In function 'infostore_cleanup_ctx': infostore.c:57:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 57 | free(ctx); | ^~~~ infostore.c:41:1: note: include '' or provide a declaration of 'free' 40 | #include "infostore.h" +++ |+#include 41 | infostore.c:57:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 57 | free(ctx); | ^~~~ infostore.c:57:9: note: include '' or provide a declaration of 'free' infostore.c: In function '_generic_infostore_open': infostore.c:179:15: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 179 | isc = calloc(1, sizeof(*isc)); | ^~~~~~ infostore.c:179:15: note: include '' or provide a declaration of 'calloc' infostore.c:179:15: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] infostore.c:179:15: note: include '' or provide a declaration of 'calloc' infostore.c: In function '_infostore_open': infostore.c:248:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 248 | free(filename); | ^~~~ infostore.c:248:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'delete_and_open': infostore.c:275:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 275 | free(filename); | ^~~~ infostore.c:275:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'infostore_open': infostore.c:306:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 306 | free(_uuid); | ^~~~ infostore.c:306:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'infostore_delete': infostore.c:335:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 335 | free(path); | ^~~~ infostore.c:335:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'xpath_query': device_parsing.c: In function 'parse_fq_devid': infostore.c:355:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 355 | free(path); | ^~~~ infostore.c:355:9: note: include '' or provide a declaration of 'free' device_parsing.c:1065:31: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] 1065 | ret = sscanf(devid, "%a[^/]/%a[^\n]", host, device); | ~^ ~~~~ | | | | float * char ** infostore.c: In function 'infostore_get_u64': infostore.c:416:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 416 | free(sval); | ^~~~ infostore.c:416:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'infostore_set_u64': infostore.c:433:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 433 | free(sval); | ^~~~ infostore.c:433:9: note: include '' or provide a declaration of 'free' infostore.c: In function 'infostore_get_bool': device_parsing.c:1065:38: warning: format '%a' expects argument of type 'float *', but argument 4 has type 'char **' [-Wformat=] 1065 | ret = sscanf(devid, "%a[^/]/%a[^\n]", host, device); | ~^ ~~~~~~ | | | | float * char ** infostore.c:462:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 462 | free(sval); | ^~~~ infostore.c:462:9: note: include '' or provide a declaration of 'free' In file included from acl_parsing.h:29, from xmlgen.h:26, from device_parsing.c:34: list_util.h: At top level: list_util.h:67:21: warning: inline function 'list_node_prev_node' declared but never defined 67 | inline list_node_t *list_node_prev_node(list_node_t *node); | ^~~~~~~~~~~~~~~~~~~ list_util.h:66:21: warning: inline function 'list_node_prev' declared but never defined 66 | inline void *list_node_prev(list_node_t *node); | ^~~~~~~~~~~~~~ list_util.h:64:21: warning: inline function 'list_node_next_node' declared but never defined 64 | inline list_node_t *list_node_next_node(list_node_t *node); | ^~~~~~~~~~~~~~~~~~~ list_util.h:63:21: warning: inline function 'list_node_next' declared but never defined 63 | inline void *list_node_next(list_node_t *node); | ^~~~~~~~~~~~~~ list_util.h:61:21: warning: inline function 'list_last_node' declared but never defined 61 | inline list_node_t *list_last_node(list_t *list); | ^~~~~~~~~~~~~~ list_util.h:60:21: warning: inline function 'list_last' declared but never defined 60 | inline void *list_last(list_t *list); | ^~~~~~~~~ list_util.h:58:21: warning: inline function 'list_first_node' declared but never defined 58 | inline list_node_t *list_first_node(list_t *list); | ^~~~~~~~~~~~~~~ list_util.h:57:21: warning: inline function 'list_first' declared but never defined 57 | inline void *list_first(list_t *list); | ^~~~~~~~~~ list_util.h:55:14: warning: inline function 'list_node_data_set' declared but never defined 55 | inline void list_node_data_set(list_node_t *node, void *data); | ^~~~~~~~~~~~~~~~~~ list_util.h:54:14: warning: inline function 'list_node_data_get' declared but never defined 54 | inline void *list_node_data_get(list_node_t *node); | ^~~~~~~~~~~~~~~~~~ list_util.h:52:21: warning: inline function 'list_count' declared but never defined 52 | inline unsigned int list_count(list_t *list); | ^~~~~~~~~~ make[2]: *** [Makefile:486: infostore.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from acl_parsing.h:29, from xmlgen.h:26, from xmlgen.c:30: list_util.h:67:21: warning: inline function 'list_node_prev_node' declared but never defined 67 | inline list_node_t *list_node_prev_node(list_node_t *node); | ^~~~~~~~~~~~~~~~~~~ list_util.h:66:21: warning: inline function 'list_node_prev' declared but never defined 66 | inline void *list_node_prev(list_node_t *node); | ^~~~~~~~~~~~~~ list_util.h:64:21: warning: inline function 'list_node_next_node' declared but never defined 64 | inline list_node_t *list_node_next_node(list_node_t *node); | ^~~~~~~~~~~~~~~~~~~ list_util.h:63:21: warning: inline function 'list_node_next' declared but never defined 63 | inline void *list_node_next(list_node_t *node); | ^~~~~~~~~~~~~~ list_util.h:61:21: warning: inline function 'list_last_node' declared but never defined 61 | inline list_node_t *list_last_node(list_t *list); | ^~~~~~~~~~~~~~ list_util.h:60:21: warning: inline function 'list_last' declared but never defined 60 | inline void *list_last(list_t *list); | ^~~~~~~~~ list_util.h:58:21: warning: inline function 'list_first_node' declared but never defined 58 | inline list_node_t *list_first_node(list_t *list); | ^~~~~~~~~~~~~~~ list_util.h:57:21: warning: inline function 'list_first' declared but never defined 57 | inline void *list_first(list_t *list); | ^~~~~~~~~~ list_util.h:55:14: warning: inline function 'list_node_data_set' declared but never defined 55 | inline void list_node_data_set(list_node_t *node, void *data); | ^~~~~~~~~~~~~~~~~~ list_util.h:54:14: warning: inline function 'list_node_data_get' declared but never defined 54 | inline void *list_node_data_get(list_node_t *node); | ^~~~~~~~~~~~~~~~~~ list_util.h:52:21: warning: inline function 'list_count' declared but never defined 52 | inline unsigned int list_count(list_t *list); | ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/libvirt-cim-0.6.3/libxkutil' make[1]: *** [Makefile:681: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libvirt-cim-0.6.3' make: *** [Makefile:554: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.qEsFH2 (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.qEsFH2 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1283d5df418e487598534f0a276d8e55 -D /var/lib/mock/f40-build-55466958-6535816/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.d28vuq5u:/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/libvirt-cim.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 1283d5df418e487598534f0a276d8e55 -D /var/lib/mock/f40-build-55466958-6535816/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.d28vuq5u:/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/libvirt-cim.spec'