Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/virt-viewer.spec'], chrootPath='/var/lib/mock/dist-an23-build-243660-63144/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/virt-viewer.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1680566400 Wrote: /builddir/build/SRPMS/virt-viewer-11.0-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/virt-viewer.spec'], chrootPath='/var/lib/mock/dist-an23-build-243660-63144/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/virt-viewer.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1680566400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zBK3gj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf virt-viewer-11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/virt-viewer-11.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd virt-viewer-11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-fix-meson-build-failure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s3TexB + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 virt-viewer-11.0 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 . anolis-linux-build -Dbuild-id=2.an23 -Dovirt=disabled The Meson build system Version: 1.0.1 Source dir: /builddir/build/BUILD/virt-viewer-11.0 Build dir: /builddir/build/BUILD/virt-viewer-11.0/anolis-linux-build Build type: native build Project name: virt-viewer Project version: 11.0 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20221121 (Anolis OS 12.2.1-1)") C linker for the host machine: gcc ld.bfd 2.39-1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program pod2man found: YES (/usr/bin/pod2man) Program python3 found: YES (/usr/bin/python3) WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Checking for size of "ptrdiff_t" : 8 Checking for size of "size_t" : 8 Compiler for C supports arguments -fstack-protector-strong: YES First supported argument: -fstack-protector-strong Compiler for C supports arguments -Werror: YES Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -W: 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 -Wall: 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 -Wcast-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 -Wdeprecated-declarations: YES Compiler for C supports arguments -Wdesignated-init: YES Compiler for C supports arguments -Wdouble-promotion: 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 -Wextra: YES Compiler for C supports arguments -Wformat-contains-nul: YES Compiler for C supports arguments -Wformat-extra-args: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: 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 -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-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 -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 -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 -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-truncation: YES Compiler for C supports arguments -Wsuggest-attribute=cold: YES Compiler for C supports arguments -Wsuggest-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 -Wsuggest-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-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 -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-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 -Walloc-size-larger-than=9223372036854775807: YES Compiler for C supports arguments -Warray-bounds=2: YES Compiler for C supports arguments -Wattribute-alias=2: YES Compiler for C supports arguments -Wformat-overflow=2: YES Compiler for C supports arguments -Wformat-truncation=2: YES Compiler for C supports arguments -Wimplicit-fallthrough=5: YES Compiler for C supports arguments -Wnormalized=nfc: YES Compiler for C supports arguments -Wshift-overflow=2: YES Compiler for C supports arguments -Wstringop-overflow=2: YES Compiler for C supports arguments -Wunused-const-variable=2: YES Compiler for C supports arguments -Wvla-larger-then=4031: NO Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-cast-function-type: YES Compiler for C supports arguments -Wno-typedef-redefinition: NO Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wno-format-nonliteral: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -Wframe-larger-than=4096: YES Compiler for C supports arguments -fexceptions: YES Compiler for C supports arguments -fasynchronous-unwind-tables: YES Compiler for C supports arguments -fipa-pure-const: YES Compiler for C supports arguments -Wno-suggest-attribute=pure: YES Compiler for C supports arguments -Wno-suggest-attribute=const: YES Compiler for C supports arguments -fstack-protector-strong: YES (cached) meson.build:387: WARNING: Consider using the built-in werror option instead of using "-Werror". meson.build:387: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:387: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Library m found: YES Found pkg-config: /usr/bin/pkg-config (1.8.1) Run-time dependency glib-2.0 found: YES 2.76.1 Run-time dependency gmodule-2.0 found: YES 2.76.1 Run-time dependency gtk+-3.0 found: YES 3.24.37 Run-time dependency libxml-2.0 found: YES 2.10.3 Run-time dependency libvirt found: YES 9.1.0 Run-time dependency libvirt-glib-1.0 found: YES 4.0.0 Run-time dependency gtk-vnc-2.0 found: YES 1.3.1 Run-time dependency spice-client-glib-2.0 found: YES 0.42 Run-time dependency spice-client-gtk-3.0 found: YES 0.42 Run-time dependency spice-protocol found: YES 0.14.4 Dependency govirt-1.0 skipped: feature ovirt disabled Dependency rest-0.7 skipped: feature ovirt disabled Did not find CMake 'cmake' Found CMake: NO Run-time dependency vte-2.91 found: NO (tried pkgconfig) meson.build:455:0: ERROR: Dependency "vte-2.91" not found, tried pkgconfig A full log can be found at /builddir/build/BUILD/virt-viewer-11.0/anolis-linux-build/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.s3TexB (%build) Bad exit status from /var/tmp/rpm-tmp.s3TexB (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/virt-viewer.spec