Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sysprof.spec'], chrootPath='/var/lib/mock/f40-build-741894-110282/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1698105600 Wrote: /builddir/build/SRPMS/sysprof-45.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sysprof.spec'], chrootPath='/var/lib/mock/f40-build-741894-110282/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1698105600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SPtUVG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sysprof-45.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sysprof-45.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd sysprof-45.1 + rm -rf /builddir/build/BUILD/sysprof-45.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sysprof-45.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xHGIxe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 sysprof-45.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 + /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 . redhat-linux-build The Meson build system Version: 1.2.3 Source dir: /builddir/build/BUILD/sysprof-45.1 Build dir: /builddir/build/BUILD/sysprof-45.1/redhat-linux-build Build type: native build Project name: sysprof Project version: 45.1 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C linker for the host machine: gcc ld.bfd 2.41-5 C++ compiler for the host machine: g++ (gcc 13.2.1 "g++ (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C++ linker for the host machine: g++ ld.bfd 2.41-5 Host machine cpu family: riscv64 Host machine cpu: riscv64 Found pkg-config: /usr/bin/pkg-config (1.9.5) Run-time dependency glib-2.0 found: YES 2.78.1 Run-time dependency gio-2.0 found: YES 2.78.1 Run-time dependency gio-unix-2.0 found: YES 2.78.1 Run-time dependency gtk4 found: YES 4.13.2 Run-time dependency libsystemd found: YES 254 Compiler for C supports arguments -fvisibility=hidden: YES Checking for function "reallocarray" : YES Checking for function "strlcpy" : YES Run-time dependency polkit-agent-1 found: YES 122 Run-time dependency polkit-gobject-1 found: YES 122 Run-time dependency libunwind-generic found: YES 1.6.2 Header "libunwind.h" has symbol "unw_set_cache_size" with dependency libunwind-generic: YES 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 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) Dependency glib-2.0 found: YES 2.78.1 (cached) Configuring sysprof-version.h using configuration Run-time dependency threads found: YES Dependency glib-2.0 found: YES 2.78.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency glib-2.0 found: YES 2.78.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Found pkg-config: /usr/bin/pkg-config (1.9.5) Dependency gio-2.0 found: YES 2.78.1 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Run-time dependency libdex-1 found: YES 0.4.1 Run-time dependency json-glib-1.0 found: YES 1.6.6 Run-time dependency dl found: YES Dependency glib-2.0 found: YES 2.78.1 (cached) Dependency gio-2.0 found: YES 2.78.1 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.78.1 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Run-time dependency systemd found: YES 254 Configuring org.gnome.Sysprof3.service using configuration Configuring org.gnome.Sysprof3.conf using configuration Configuring sysprof3.service using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Dependency gio-2.0 found: YES 2.78.1 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Library m found: YES Dependency gtk4 found: YES 4.13.2 (cached) Dependency libadwaita-1 found: NO found 1.3.3 but need: '>= 1.4.alpha' Did not find CMake 'cmake' Found CMake: NO Run-time dependency libadwaita-1 found: NO src/sysprof/meson.build:88:2: ERROR: Dependency lookup for libadwaita-1 with method 'pkgconfig' failed: Invalid version, need 'libadwaita-1' ['>= 1.4.alpha'] found '1.3.3'. A full log can be found at /builddir/build/BUILD/sysprof-45.1/redhat-linux-build/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.xHGIxe (%build) Bad exit status from /var/tmp/rpm-tmp.xHGIxe (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/sysprof.spec