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 x86_64 --nodeps /builddir/build/SPECS/libvirt.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-385749-71957/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=86400uid=990gid=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 281: %{with_libssh2} sh: hostname: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libvirt-9.10.0-5.an8.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-an8.9-build-385749-71957/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=86400uid=990gid=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 281: %{with_libssh2} sh: hostname: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1MlXRf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libvirt-9.10.0 + /usr/bin/xz -dc /builddir/build/SOURCES/libvirt-9.10.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libvirt-9.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/Add-loongarch-cpu-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/Support-for-loongarch64-in-the-QEMU-driver.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/Implement-the-method-of-getting-host-info-for-loonga.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/Add-test-script-for-loongarch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/conf-qemu-add-libvirt-support-reuse-id-for-hygon-CSV.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/cpu-Add-new-Dharma-CPU-model.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libvirt-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9MNtfA + umask 022 + cd /builddir/build/BUILD + cd libvirt-9.10.0 ++ stat --printf=%Y /builddir/build/SPECS/libvirt.spec + export SOURCE_DATE_EPOCH=1719904353 + SOURCE_DATE_EPOCH=1719904353 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/meson --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-redhat-linux-gnu -Drunstatedir=/run -Ddriver_qemu=enabled -Ddriver_openvz=disabled -Ddriver_lxc=disabled -Ddriver_vbox=disabled -Ddriver_libxl=disabled -Dsasl=enabled -Dpolkit=enabled -Ddriver_libvirtd=enabled -Ddriver_remote=enabled -Ddriver_test=enabled -Dnbdkit=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=enabled -Dlibiscsi=enabled -Dstorage_scsi=enabled -Dstorage_disk=enabled -Dstorage_mpath=enabled -Dstorage_rbd=disabled -Dstorage_gluster=enabled -Dglusterfs=enabled -Dstorage_zfs=disabled -Dstorage_vstorage=disabled -Dnumactl=enabled -Dnumad=enabled -Dcapng=enabled -Dfuse=disabled -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=enabled -Dlibssh=enabled -Dlibssh2=enabled -Dpm_utils=disabled -Dnss=enabled '-Dpackager=OpenAnolis Community, 2024-07-02-15:14:22, ' -Dpackager_version=5.an8 -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=disabled The Meson build system Version: 0.63.3 Source dir: /builddir/build/BUILD/libvirt-9.10.0 Build dir: /builddir/build/BUILD/libvirt-9.10.0/x86_64-redhat-linux-gnu Build type: native build Project name: libvirt Project version: 9.10.0 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-20.0.3)") C linker for the host machine: cc ld.bfd 2.30-123 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: NO Compiler for C supports arguments -Waddress: YES Compiler for C supports arguments -Waddress-of-packed-member: NO 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: NO Compiler for C supports arguments -Wattribute-warning: NO 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: NO 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: NO 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