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/sysprof.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-168141-58831/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/sysprof.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 Wrote: /builddir/build/SRPMS/sysprof-3.40.1-3.0.0.1.an8.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/sysprof.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-168141-58831/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/sysprof.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NBl1p4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sysprof-3.40.1 + /usr/bin/xz -dc /builddir/build/SOURCES/sysprof-3.40.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sysprof-3.40.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4Lr7tm + umask 022 + cd /builddir/build/BUILD + cd sysprof-3.40.1 + 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 The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/sysprof-3.40.1 Build dir: /builddir/build/BUILD/sysprof-3.40.1/x86_64-redhat-linux-gnu Build type: native build Project name: sysprof Project version: 3.40.1 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.2)") C linker for the host machine: cc ld.bfd 2.30-113 Host machine cpu family: x86_64 Host machine cpu: x86_64 C++ compiler for the host machine: c++ (gcc 8.5.0 "c++ (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.2)") C++ linker for the host machine: c++ ld.bfd 2.30-113 Compiler for C supports arguments -fvisibility=hidden: YES Has header "execinfo.h" : YES Checking for function "strlcpy" : NO Checking for function "reallocarray" : YES Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency polkit-agent-1 found: YES 0.115 Run-time dependency polkit-gobject-1 found: YES 0.115 Did not find CMake 'cmake' Found CMake: NO Run-time dependency libunwind-generic found: NO (tried pkgconfig and cmake) Checking whether type "struct perf_event_attr" has member "use_clockid" : YES Checking whether type "struct perf_event_attr" has member "clockid" : YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-cast-function-type: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Werror=format-security -Werror=format=2: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Werror=misleading-indentation: YES Compiler for C supports arguments -Werror=missing-include-dirs: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -Werror=parenthesis: NO Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=shadow: YES Compiler for C supports arguments -Werror=strict-prototypes: YES Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: 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,-Bsymbolic: YES Compiler for C supports link arguments -fno-plt: YES Compiler for C supports link arguments -Wl,-z,relro: YES (cached) Compiler for C supports link arguments -Wl,-z,defs: YES Compiler for C supports link arguments -Wl,-z,now: YES (cached) Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Found pkg-config: /usr/bin/pkg-config (1.4.2) Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring sysprof-version.h using configuration Run-time dependency threads found: YES Run-time dependency glib-2.0 found: YES 2.68.4 Run-time dependency gio-2.0 found: YES 2.68.4 Run-time dependency gio-unix-2.0 found: YES 2.68.4 Dependency polkit-gobject-1 found: YES 0.115 (cached) Run-time dependency systemd found: YES 239 Configuring org.gnome.Sysprof3.service using configuration Configuring org.gnome.Sysprof3.conf using configuration Configuring sysprof3.service using configuration Configuring org.gnome.Sysprof2.service using configuration Configuring org.gnome.Sysprof2.conf using configuration Configuring sysprof2.service using configuration Dependency polkit-gobject-1 found: YES 0.115 (cached) Dependency polkit-gobject-1 found: YES 0.115 (cached) Dependency gio-2.0 found: YES 2.68.4 (cached) Dependency gio-unix-2.0 found: YES 2.68.4 (cached) Run-time dependency json-glib-1.0 found: YES 1.4.4 Library stdc++ found: YES Library dl found: YES Dependency glib-2.0 found: YES 2.68.4 (cached) Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Dependency gio-2.0 found: YES 2.68.4 (cached) Run-time dependency gtk+-3.0 found: YES 3.22.30 Dependency libdazzle-1.0 found: NO found 3.28.5 but need: '>= 3.30.0' Run-time dependency libdazzle-1.0 found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency libdazzle-1.0 src/libsysprof-ui/meson.build:101:0: ERROR: Automatic wrap-based subproject downloading is disabled A full log can be found at /builddir/build/BUILD/sysprof-3.40.1/x86_64-redhat-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.4Lr7tm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4Lr7tm (%build) 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/sysprof.spec