Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-300871-29845/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa7add06dd0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
sh: line 1: hostname: command not found
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/libvirt-9.10.0-1.ocs23.src.rpm
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.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-300871-29845/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa7add06dd0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
sh: line 1: hostname: command not found
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g3C0H4
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libvirt-9.10.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libvirt-9.10.0.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libvirt-9.10.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'libvirt-9.10.0 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-1441.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/interface/interface_backend_udev.c...
Applied patch src/interface/interface_backend_udev.c cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-2494.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/remote/remote_daemon_dispatch.c...
Hunk #13 succeeded at 5136 (offset -2 lines).
Hunk #14 succeeded at 5360 (offset -2 lines).
Checking patch src/rpc/gendispatch.pl...
Applied patch src/remote/remote_daemon_dispatch.c cleanly.
Applied patch src/rpc/gendispatch.pl cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-conf-qemu-add-libvirt-support-reuse-id-for-hygon-CSV.patch
+ /usr/bin/git am --reject -q -p1
Checking patch include/libvirt/libvirt-host.h...
Checking patch src/conf/domain_capabilities.c...
Checking patch src/conf/domain_capabilities.h...
Checking patch src/conf/domain_conf.c...
Hunk #1 succeeded at 13486 (offset 39 lines).
Hunk #2 succeeded at 26529 (offset 199 lines).
Checking patch src/conf/domain_conf.h...
Hunk #1 succeeded at 2860 (offset 3 lines).
Checking patch src/qemu/qemu_capabilities.c...
Hunk #1 succeeded at 4854 (offset -55 lines).
Checking patch src/qemu/qemu_command.c...
Hunk #1 succeeded at 9671 (offset 49 lines).
Hunk #2 succeeded at 9685 (offset 49 lines).
Checking patch src/qemu/qemu_driver.c...
Hunk #1 succeeded at 18968 (offset 22 lines).
Applied patch include/libvirt/libvirt-host.h cleanly.
Applied patch src/conf/domain_capabilities.c cleanly.
Applied patch src/conf/domain_capabilities.h cleanly.
Applied patch src/conf/domain_conf.c cleanly.
Applied patch src/conf/domain_conf.h cleanly.
Applied patch src/qemu/qemu_capabilities.c cleanly.
Applied patch src/qemu/qemu_command.c cleanly.
Applied patch src/qemu/qemu_driver.c cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Add-loongarch-cpu-support.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/conf/schemas/basictypes.rng...
Checking patch src/cpu/cpu.c...
Checking patch src/cpu/cpu_loongarch.c...
Checking patch src/cpu/cpu_loongarch.h...
Checking patch src/cpu/meson.build...
Checking patch src/qemu/qemu_capabilities.c...
Hunk #1 succeeded at 2665 (offset -2 lines).
Checking patch src/qemu/qemu_domain.c...
Hunk #1 succeeded at 4226 (offset -7 lines).
Checking patch src/util/virarch.c...
Checking patch src/util/virarch.h...
Applied patch src/conf/schemas/basictypes.rng cleanly.
Applied patch src/cpu/cpu.c cleanly.
Applied patch src/cpu/cpu_loongarch.c cleanly.
Applied patch src/cpu/cpu_loongarch.h cleanly.
Applied patch src/cpu/meson.build cleanly.
Applied patch src/qemu/qemu_capabilities.c cleanly.
Applied patch src/qemu/qemu_domain.c cleanly.
Applied patch src/util/virarch.c cleanly.
Applied patch src/util/virarch.h cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Implement-the-method-of-getting-host-info-for-loonga.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/util/virarch.c...
Checking patch src/util/virhostcpu.c...
Hunk #1 succeeded at 553 (offset -22 lines).
Hunk #2 succeeded at 581 (offset -22 lines).
Hunk #3 succeeded at 1652 (offset -22 lines).
Checking patch src/util/virsysinfo.c...
Applied patch src/util/virarch.c cleanly.
Applied patch src/util/virhostcpu.c cleanly.
Applied patch src/util/virsysinfo.c cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Support-for-loongarch64-in-the-QEMU-driver.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/qemu/qemu_capabilities.c...
Hunk #1 succeeded at 1138 (offset -1 lines).
Hunk #2 succeeded at 2074 (offset -2 lines).
Hunk #3 succeeded at 2667 (offset -2 lines).
Hunk #4 succeeded at 3743 (offset -2 lines).
Checking patch src/qemu/qemu_command.c...
Hunk #1 succeeded at 9169 (offset -40 lines).
Checking patch src/qemu/qemu_domain.c...
Hunk #1 succeeded at 4222 (offset -7 lines).
Hunk #2 succeeded at 5396 (offset -7 lines).
Hunk #3 succeeded at 5636 (offset -7 lines).
Hunk #4 succeeded at 5738 (offset -7 lines).
Hunk #5 succeeded at 5766 (offset -7 lines).
Hunk #6 succeeded at 5939 (offset -7 lines).
Hunk #7 succeeded at 8932 (offset -9 lines).
Hunk #8 succeeded at 9041 (offset -9 lines).
Checking patch src/qemu/qemu_domain.h...
Hunk #1 succeeded at 825 (offset -4 lines).
Checking patch src/qemu/qemu_validate.c...
Applied patch src/qemu/qemu_capabilities.c cleanly.
Applied patch src/qemu/qemu_command.c cleanly.
Applied patch src/qemu/qemu_domain.c cleanly.
Applied patch src/qemu/qemu_domain.h cleanly.
Applied patch src/qemu/qemu_validate.c cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Add-Hygon-Dharma-CPU-model.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/cpu_map/index.xml...
Hunk #1 succeeded at 74 (offset 1 line).
Checking patch src/cpu_map/meson.build...
Checking patch src/cpu_map/x86_Dharma.xml...
Applied patch src/cpu_map/index.xml cleanly.
Applied patch src/cpu_map/meson.build cleanly.
Applied patch src/cpu_map/x86_Dharma.xml cleanly.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-4418.patch
+ /usr/bin/git am --reject -q -p1
Checking patch src/rpc/virnetclient.c...
Applied patch src/rpc/virnetclient.c cleanly.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SPupHo
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libvirt-9.10.0
++ stat --printf=%Y /builddir/build/SPECS/libvirt.spec
+ export SOURCE_DATE_EPOCH=1733909884
+ SOURCE_DATE_EPOCH=1733909884
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-OpenCloudOS-linux-gnu -Drunstatedir=/run -Ddriver_qemu=enabled -Ddriver_openvz=disabled -Ddriver_lxc=enabled -Ddriver_vbox=disabled -Ddriver_libxl=disabled -Dsasl=enabled -Dpolkit=enabled -Ddriver_libvirtd=enabled -Ddriver_remote=enabled -Ddriver_test=enabled -Ddriver_esx=enabled -Dcurl=enabled -Ddriver_hyperv=disabled -Dopenwsman=disabled -Ddriver_vmware=disabled -Ddriver_vz=disabled -Ddriver_bhyve=disabled -Ddriver_ch=disabled -Dremote_default_mode=direct -Ddriver_interface=enabled -Ddriver_network=enabled -Dstorage_fs=enabled -Dstorage_lvm=enabled -Dstorage_iscsi=enabled -Dstorage_iscsi_direct=disabled -Dlibiscsi=disabled -Dstorage_scsi=enabled -Dstorage_disk=enabled -Dstorage_mpath=enabled -Dstorage_rbd=disabled -Dstorage_gluster=disabled -Dglusterfs=disabled -Dstorage_zfs=disabled -Dstorage_vstorage=disabled -Dnumactl=enabled -Dnumad=enabled -Dcapng=enabled -Dfuse=enabled -Dnetcf=disabled -Dselinux=enabled -Dselinux_mount=/sys/fs/selinux -Dapparmor=disabled -Dapparmor_profiles=disabled -Dsecdriver_apparmor=disabled -Dudev=enabled -Dyajl=enabled -Dsanlock=enabled -Dlibpcap=enabled -Dlibnl=enabled -Daudit=enabled -Ddtrace=enabled -Dfirewalld=enabled -Dfirewalld_zone=enabled -Dwireshark_dissector=disabled -Dlibssh=enabled -Dlibssh2=enabled -Dpm_utils=disabled -Dnss=enabled '-Dpackager=infrastructure@opencloudos.org, 2024-12-11-17:43:16, ' -Dpackager_version=1.ocs23 -Dqemu_user=qemu -Dqemu_group=qemu -Dqemu_moddir=/usr/lib64/qemu -Dqemu_datadir=/usr/share/qemu -Dtls_priority=@LIBVIRT,SYSTEM -Dwerror=true -Dexpensive_tests=enabled -Dinit_script=systemd -Ddocs=enabled -Dtests=enabled -Drpath=disabled -Dlogin_shell=enabled
The Meson build system
Version: 1.2.0
Source dir: /builddir/build/BUILD/libvirt-9.10.0
Build dir: /builddir/build/BUILD/libvirt-9.10.0/x86_64-OpenCloudOS-linux-gnu
Build type: native build
Project name: libvirt
Project version: 9.10.0
C compiler for the host machine: gcc (gcc 12.3.1 "gcc (Tencent Compiler 12.3.1.3) 12.3.1 20230912 (OpenCloudOS 12.3.1.3-2)")
C linker for the host machine: gcc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring configmake.h using configuration
Checking for size of "ptrdiff_t" : 8 
Checking for size of "size_t" : 8 
Compiler for C supports arguments -fasynchronous-unwind-tables: YES 
Compiler for C supports arguments -fexceptions: YES 
Compiler for C supports arguments -fipa-pure-const: YES 
Compiler for C supports arguments -fno-common: YES 
Compiler for C supports arguments -Wabsolute-value: YES 
Compiler for C supports arguments -Waddress: YES 
Compiler for C supports arguments -Waddress-of-packed-member: YES 
Compiler for C supports arguments -Waggressive-loop-optimizations: YES 
Compiler for C supports arguments -Walloc-size-larger-than=9223372036854775807: YES 
Compiler for C supports arguments -Walloca: YES 
Compiler for C supports arguments -Warray-bounds=2: YES 
Compiler for C supports arguments -Wattribute-alias=2: YES 
Compiler for C supports arguments -Wattribute-warning: YES 
Compiler for C supports arguments -Wattributes: YES 
Compiler for C supports arguments -Wbool-compare: YES 
Compiler for C supports arguments -Wbool-operation: YES 
Compiler for C supports arguments -Wbuiltin-declaration-mismatch: YES 
Compiler for C supports arguments -Wbuiltin-macro-redefined: YES 
Compiler for C supports arguments -Wcannot-profile: YES 
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports arguments -Wcast-align=strict: YES 
Compiler for C supports arguments -Wno-cast-function-type: YES 
Compiler for C supports arguments -Wchar-subscripts: YES 
Compiler for C supports arguments -Wclobbered: YES 
Compiler for C supports arguments -Wcomment: YES 
Compiler for C supports arguments -Wcomments: YES 
Compiler for C supports arguments -Wcoverage-mismatch: YES 
Compiler for C supports arguments -Wcpp: YES 
Compiler for C supports arguments -Wdangling-else: YES 
Compiler for C supports arguments -Wdate-time: YES 
Compiler for C supports arguments -Wdeclaration-after-statement: YES 
Compiler for C supports arguments -Wdeprecated-declarations: YES 
Compiler for C supports arguments -Wdesignated-init: YES 
Compiler for C supports arguments -Wdiscarded-array-qualifiers: YES 
Compiler for C supports arguments -Wdiscarded-qualifiers: YES 
Compiler for C supports arguments -Wdiv-by-zero: YES 
Compiler for C supports arguments -Wduplicated-cond: YES 
Compiler for C supports arguments -Wduplicate-decl-specifier: YES 
Compiler for C supports arguments -Wempty-body: YES 
Compiler for C supports arguments -Wendif-labels: YES 
Compiler for C supports arguments -Wexpansion-to-defined: YES 
Compiler for C supports arguments -Wformat-contains-nul: YES 
Compiler for C supports arguments -Wformat-extra-args: YES 
Compiler for C supports arguments -Wno-format-nonliteral: YES 
Compiler for C supports arguments -Wformat-overflow=2: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wno-format-truncation: YES 
Compiler for C supports arguments -Wformat-y2k: YES 
Compiler for C supports arguments -Wformat-zero-length: YES 
Compiler for C supports arguments -Wframe-address: YES 
Compiler for C supports arguments -Wframe-larger-than=2048: YES 
Compiler for C supports arguments -Wfree-nonheap-object: YES 
Compiler for C supports arguments -Whsa: YES 
Compiler for C supports arguments -Wif-not-aligned: YES 
Compiler for C supports arguments -Wignored-attributes: YES 
Compiler for C supports arguments -Wignored-qualifiers: YES 
Compiler for C supports arguments -Wimplicit: YES 
Compiler for C supports arguments -Wimplicit-fallthrough=5: YES 
Compiler for C supports arguments -Wimplicit-function-declaration: YES 
Compiler for C supports arguments -Wimplicit-int: YES 
Compiler for C supports arguments -Wincompatible-pointer-types: YES 
Compiler for C supports arguments -Winit-self: YES 
Compiler for C supports arguments -Winline: YES 
Compiler for C supports arguments -Wint-conversion: YES 
Compiler for C supports arguments -Wint-in-bool-context: YES 
Compiler for C supports arguments -Wint-to-pointer-cast: YES 
Compiler for C supports arguments -Winvalid-memory-model: YES 
Compiler for C supports arguments -Winvalid-pch: YES 
Compiler for C supports arguments -Wjump-misses-init: YES 
Compiler for C supports arguments -Wlogical-not-parentheses: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wmain: YES 
Compiler for C supports arguments -Wmaybe-uninitialized: YES 
Compiler for C supports arguments -Wmemset-elt-size: YES 
Compiler for C supports arguments -Wmemset-transposed-args: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wmissing-attributes: YES 
Compiler for C supports arguments -Wmissing-braces: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wmissing-parameter-type: YES 
Compiler for C supports arguments -Wmissing-profile: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wmultichar: YES 
Compiler for C supports arguments -Wmultistatement-macros: YES 
Compiler for C supports arguments -Wnarrowing: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wnonnull: YES 
Compiler for C supports arguments -Wnonnull-compare: YES 
Compiler for C supports arguments -Wnormalized=nfc: YES 
Compiler for C supports arguments -Wnull-dereference: YES 
Compiler for C supports arguments -Wodr: YES 
Compiler for C supports arguments -Wold-style-declaration: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wopenmp-simd: YES 
Compiler for C supports arguments -Woverflow: YES 
Compiler for C supports arguments -Woverride-init: YES 
Compiler for C supports arguments -Wpacked-bitfield-compat: YES 
Compiler for C supports arguments -Wpacked-not-aligned: YES 
Compiler for C supports arguments -Wparentheses: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wpointer-compare: YES 
Compiler for C supports arguments -Wpointer-sign: YES 
Compiler for C supports arguments -Wpointer-to-int-cast: YES 
Compiler for C supports arguments -Wpragmas: YES 
Compiler for C supports arguments -Wpsabi: YES 
Compiler for C supports arguments -Wrestrict: YES 
Compiler for C supports arguments -Wreturn-local-addr: YES 
Compiler for C supports arguments -Wreturn-type: YES 
Compiler for C supports arguments -Wscalar-storage-order: YES 
Compiler for C supports arguments -Wsequence-point: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wshift-count-negative: YES 
Compiler for C supports arguments -Wshift-count-overflow: YES 
Compiler for C supports arguments -Wshift-negative-value: YES 
Compiler for C supports arguments -Wshift-overflow=2: YES 
Compiler for C supports arguments -Wno-sign-compare: YES 
Compiler for C supports arguments -Wsizeof-array-argument: YES 
Compiler for C supports arguments -Wsizeof-pointer-div: YES 
Compiler for C supports arguments -Wsizeof-pointer-memaccess: YES 
Compiler for C supports arguments -Wstrict-aliasing: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wstringop-overflow=2: YES 
Compiler for C supports arguments -Wstringop-truncation: YES 
Compiler for C supports arguments -Wsuggest-attribute=cold: YES 
Compiler for C supports arguments -Wno-suggest-attribute=const: YES 
Compiler for C supports arguments -Wsuggest-attribute=format: YES 
Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES 
Compiler for C supports arguments -Wno-suggest-attribute=pure: YES 
Compiler for C supports arguments -Wsuggest-final-methods: YES 
Compiler for C supports arguments -Wsuggest-final-types: YES 
Compiler for C supports arguments -Wswitch: YES 
Compiler for C supports arguments -Wswitch-bool: YES 
Compiler for C supports arguments -Wswitch-enum: YES 
Compiler for C supports arguments -Wswitch-unreachable: YES 
Compiler for C supports arguments -Wsync-nand: YES 
Compiler for C supports arguments -Wtautological-compare: YES 
Compiler for C supports arguments -Wtrampolines: YES 
Compiler for C supports arguments -Wtrigraphs: YES 
Compiler for C supports arguments -Wtype-limits: YES 
Compiler for C supports arguments -Wno-typedef-redefinition: NO 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wunknown-pragmas: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wunused-but-set-parameter: YES 
Compiler for C supports arguments -Wunused-but-set-variable: YES 
Compiler for C supports arguments -Wunused-const-variable=2: YES 
Compiler for C supports arguments -Wunused-function: YES 
Compiler for C supports arguments -Wunused-label: YES 
Compiler for C supports arguments -Wunused-local-typedefs: YES 
Compiler for C supports arguments -Wunused-parameter: YES 
Compiler for C supports arguments -Wunused-result: YES 
Compiler for C supports arguments -Wunused-value: YES 
Compiler for C supports arguments -Wunused-variable: YES 
Compiler for C supports arguments -Wvarargs: YES 
Compiler for C supports arguments -Wvariadic-macros: YES 
Compiler for C supports arguments -Wvector-operation-performance: YES 
Compiler for C supports arguments -Wvla: YES 
Compiler for C supports arguments -Wvolatile-register-var: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -fstack-protector-strong: YES 
First supported argument: -fstack-protector-strong
Checking if "-Wdouble-promotion" compiles: YES 
Compiler for C supports arguments -Wsuggest-attribute=format: YES (cached)
Compiler for C supports arguments -Wframe-larger-than=262144: YES 
Compiler for C supports link arguments -Wl,-z,relro: YES 
Compiler for C supports link arguments -Wl,-z,now: YES 
Compiler for C supports link arguments -Wl,-z,nodelete: YES 
Compiler for C supports link arguments -Wl,-z,defs: YES 
Compiler for C supports link arguments -Wl,--no-copy-dt-needed-entries: YES 
Compiler for C supports link arguments -Wl,-no_warn_duplicate_libraries: NO 
Compiler for C supports link arguments -Wl,-export-dynamic: YES 
First supported link argument: -Wl,-export-dynamic
Checking for function "elf_aux_info" : NO 
Checking for function "explicit_bzero" : YES 
Checking for function "fallocate" : YES 
Checking for function "getauxval" : YES 
Checking for function "getegid" : YES 
Checking for function "geteuid" : YES 
Checking for function "getgid" : YES 
Checking for function "getifaddrs" : YES 
Checking for function "getmntent_r" : YES 
Checking for function "getpwuid_r" : YES 
Checking for function "getrlimit" : YES 
Checking for function "getuid" : YES 
Checking for function "getutxid" : YES 
Checking for function "if_indextoname" : YES 
Checking for function "mmap" : YES 
Checking for function "newlocale" : YES 
Checking for function "pipe2" : YES 
Checking for function "posix_fallocate" : YES 
Checking for function "posix_memalign" : YES 
Checking for function "prlimit" : YES 
Checking for function "sched_setscheduler" : YES 
Checking for function "setgroups" : YES 
Checking for function "setrlimit" : YES 
Checking for function "symlink" : YES 
Checking for function "sysctlbyname" : NO 
Checking for function "__lxstat" : YES 
Checking for function "__lxstat64" : YES 
Checking for function "__xstat" : YES 
Checking for function "__xstat64" : YES 
Checking for function "lstat" : YES 
Checking for function "lstat64" : YES 
Checking for function "stat" : YES 
Checking for function "stat64" : YES 
Header "sys/stat.h" has symbol "__lxstat" : NO 
Header "sys/stat.h" has symbol "__lxstat64" : NO 
Header "sys/stat.h" has symbol "__xstat" : NO 
Header "sys/stat.h" has symbol "__xstat64" : NO 
Header "sys/stat.h" has symbol "lstat" : YES 
Header "sys/stat.h" has symbol "lstat64" : NO 
Header "sys/stat.h" has symbol "stat" : YES 
Header "sys/stat.h" has symbol "stat64" : NO 
Check usable header "asm/hwcap.h" : NO 
Check usable header "ifaddrs.h" : YES 
Check usable header "libtasn1.h" : YES 
Check usable header "linux/kvm.h" : YES 
Check usable header "mntent.h" : YES 
Check usable header "net/ethernet.h" : YES 
Check usable header "net/if.h" : YES 
Check usable header "pty.h" : YES 
Check usable header "pwd.h" : YES 
Check usable header "sched.h" : YES 
Check usable header "sys/auxv.h" : YES 
Check usable header "sys/ioctl.h" : YES 
Check usable header "sys/mount.h" : YES 
Check usable header "sys/syscall.h" : YES 
Check usable header "sys/ucred.h" : NO 
Check usable header "syslog.h" : YES 
Check usable header "util.h" : NO 
Check usable header "xlocale.h" : NO 
Check usable header "linux/sockios.h" : YES 
Header "endian.h" has symbol "htole64" : YES 
Header "unistd.h" has symbol "SEEK_HOLE" : YES 
Header "net/if_dl.h" has symbol "link_addr" : NO 
Header "sched.h" has symbol "cpu_set_t" : YES 
Header "sys/syscall.h" has symbol "SYS_pidfd_open" : YES 
Header "net/if_bridgevar.h" has symbol "BRDGSFD" : NO 
Header "sys/cpuset.h" has symbol "cpuset_getaffinity" : NO 
Header "mach/clock.h" has symbol "clock_serv_t" : NO 
Checking for type "struct ifreq" : YES 
Checking for type "struct sockpeercred" : NO 
Checking whether type "struct ifreq" has member "ifr_newname" : YES 
Checking whether type "struct ifreq" has member "ifr_ifindex" : YES 
Checking whether type "struct ifreq" has member "ifr_index" : NO 
Checking whether type "struct ifreq" has member "ifr_hwaddr" : YES 
Checking for size of "long" : 8 
Program perl found: YES (/usr/bin/perl)
Program python3 found: YES (/usr/bin/python3)
Program xmllint found: YES (/usr/bin/xmllint)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program augparse found: YES (/usr/bin/augparse)
Program black found: NO
Program dmidecode found: NO
Program ebtables found: YES (/usr/sbin/ebtables)
Program flake8 found: NO
Program ip found: NO
Program ip6tables found: YES (/usr/sbin/ip6tables)
Program iptables found: YES (/usr/sbin/iptables)
Program iscsiadm found: YES (/usr/sbin/iscsiadm)
Program mdevctl found: NO
Program mm-ctl found: NO
Program modprobe found: YES (/usr/sbin/modprobe)
Program ovs-vsctl found: NO
Program passt found: NO
Program pdwtags found: NO
Program pytest found: NO
Program rmmod found: YES (/usr/sbin/rmmod)
Program scrub found: YES (/usr/bin/scrub)
Program tc found: NO
Program udevadm found: NO
Found pkg-config: /usr/bin/pkg-config (1.9.5)
Run-time dependency libtirpc found: YES 1.3.4
Run-time dependency libacl found: YES 2.3.1
Dependency libapparmor skipped: feature apparmor disabled
Library attr found: YES
Run-time dependency audit found: YES 3.1.2
Run-time dependency bash-completion found: YES 2.11
Run-time dependency blkid found: YES 2.39.1
Run-time dependency libcap-ng found: YES 0.8.3
Run-time dependency libcurl found: YES 8.4.0
Run-time dependency devmapper found: YES 1.02.195
Library dl found: YES
Check usable header "dlfcn.h" : YES 
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency fuse3 found: NO (tried pkgconfig and cmake)
Run-time dependency fuse found: YES 2.9.9
Run-time dependency glib-2.0 found: YES 2.78.3
Run-time dependency gobject-2.0 found: YES 2.78.3
Run-time dependency gio-unix-2.0 found: YES 2.78.3
Dependency glusterfs-api skipped: feature glusterfs disabled
Run-time dependency gnutls found: YES 3.8.2
Dependency libiscsi skipped: feature libiscsi disabled
Run-time dependency libnbd found: NO (tried pkgconfig and cmake)
meson.build:1004:4: ERROR: Problem encountered: nbdkit support requires libnbd
A full log can be found at /builddir/build/BUILD/libvirt-9.10.0/x86_64-OpenCloudOS-linux-gnu/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.SPupHo (%build)
    Bad exit status from /var/tmp/rpm-tmp.SPupHo (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libvirt.spec