Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libvirt-cim.spec'], chrootPath='/var/lib/mock/f41-build-2561343-25498/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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', 'e9e64340c24f4768bb62ff8f0e3c61e3', '-D', '/var/lib/mock/f41-build-2561343-25498/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/libvirt-cim-0.6.3-24.fc41.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/libvirt-cim.spec'], chrootPath='/var/lib/mock/f41-build-2561343-25498/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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', '945802ea4af341f4bcd2a4a1946c8ce8', '-D', '/var/lib/mock/f41-build-2561343-25498/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4dur2ls:/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/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PT2enA + 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 . + echo 'Patch #1 (libvirt-cim-aarch64.patch):' 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.ndXXHX + 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 -fasynchronous-unwind-tables -fno-omit-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 ' + 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 -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 -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 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 -fasynchronous-unwind-tables -fno-omit-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 ' + 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 -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 -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 2013-07-25 03:35:02.000000000 -0400 +++ ./configure 2024-09-02 03:42:32.272328479 -0400 @@ -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-09-02 03:42:32.272328479 -0400 +++ ./configure 2024-09-02 03:42:32.792328500 -0400 @@ -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.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' + 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' + '[' 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/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 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 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... 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... 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 riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for 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 -j32 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 CC acl_parsing.lo CC xml_parse_test.o CC list_util.lo xml_parse_test.c: In function ‘read_from_file’: xml_parse_test.c:173:23: error: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 173 | xml = realloc(xml, size + strlen(buf) + 1); | ^~~~~~~ xml_parse_test.c:10:1: note: include ‘’ or provide a declaration of ‘realloc’ 9 | #include "xmlgen.h" +++ |+#include 10 | xml_parse_test.c:173:23: warning: incompatible implicit declaration of built-in function ‘realloc’ [-Wbuiltin-declaration-mismatch] 173 | xml = realloc(xml, size + strlen(buf) + 1); | ^~~~~~~ xml_parse_test.c:173:23: note: include ‘’ or provide a declaration of ‘realloc’ xml_parse_test.c: In function ‘dominfo_from_file’: xml_parse_test.c:240:9: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 240 | free(xml); | ^~~~ xml_parse_test.c:240:9: note: include ‘’ or provide a declaration of ‘free’ xml_parse_test.c:240:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] xml_parse_test.c:240:9: note: include ‘’ or provide a declaration of ‘free’ In file included from acl_parsing.h:29, from xmlgen.h:26, from xml_parse_test.c:9: 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:480: xml_parse_test.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/Pegasus/Provider/CMPI/cmpift.h:4059, from cs_util_instance.c:30: cs_util_instance.c: In function 'set_instance_class_name': cs_util_instance.c:146:23: warning: cast increases required alignment of target type [-Wcast-align] 146 | (CMPIValue *)name, CMPI_chars); | ^ /usr/include/Pegasus/Provider/CMPI/cmpimacs.h:866:50: note: in definition of macro 'CMSetProperty' 866 | ((i)->ft->setProperty((i),(n),(CMPIValue*)(v),(t))) | ^ acl_parsing.c: In function 'parse_rule_id': acl_parsing.c:669:33: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] 669 | ret = sscanf(rule_id, "%as[^:]:%u", filter, index); | ~^ ~~~~~~ | | | | float * char ** In file included from acl_parsing.h:29, from acl_parsing.c:30: 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); | ^~~~~~~~~~ In file included from /usr/include/Pegasus/Provider/CMPI/cmpift.h:4059, from misc_util.c:38: misc_util.c: In function 'get_typed_instance': misc_util.c:487:31: warning: cast increases required alignment of target type [-Wcast-align] 487 | (CMPIValue *)new_cn, CMPI_chars); | ^ /usr/include/Pegasus/Provider/CMPI/cmpimacs.h:866:50: note: in definition of macro 'CMSetProperty' 866 | ((i)->ft->setProperty((i),(n),(CMPIValue*)(v),(t))) | ^ 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' 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 '_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' device_parsing.c: In function 'parse_fq_devid': 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' 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_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' 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: 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': 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' 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': 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 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]: Leaving directory '/builddir/build/BUILD/libvirt-cim-0.6.3' make[1]: *** [Makefile:681: all-recursive] Error 1 make: *** [Makefile:554: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ndXXHX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ndXXHX (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 945802ea4af341f4bcd2a4a1946c8ce8 -D /var/lib/mock/f41-build-2561343-25498/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.m4dur2ls:/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/libvirt-cim.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, 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 945802ea4af341f4bcd2a4a1946c8ce8 -D /var/lib/mock/f41-build-2561343-25498/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.m4dur2ls:/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/libvirt-cim.spec'