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/libtracecmd.spec'], chrootPath='/var/lib/mock/f40-build-741470-110156/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtracecmd.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=1689811200 Wrote: /builddir/build/SRPMS/libtracecmd-1.3.1-3.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/libtracecmd.spec'], chrootPath='/var/lib/mock/f40-build-741470-110156/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtracecmd.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=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2z1bEE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trace-cmd-libtracecmd-1.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/trace-cmd-libtracecmd-1.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd trace-cmd-libtracecmd-1.3.1 + rm -rf /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.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.7kwFgT + 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 trace-cmd-libtracecmd-1.3.1 ++ rpm -ql docbook-style-xsl ++ grep manpages/docbook.xsl + MANPAGE_DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -D_GNU_SOURCE' + 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 ' + BUILD_TYPE=Release + make V=9999999999 MANPAGE_DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl prefix=/usr libdir=/usr/lib64 -j4 PYTHON_VERS=python3 libs doc Have zlib compression support Have ZSTD compression support In file included from /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/include/private/trace-cmd-private.h:12, from trace-hash.c:12: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/include/trace-cmd/trace-cmd.h:10:10: fatal error: tracefs.h: No such file or directory 10 | #include "tracefs.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:75: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/.trace-hash.d] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/include/private/trace-cmd-private.h:12, from trace-hooks.c:11: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/include/trace-cmd/trace-cmd.h:10:10: fatal error: tracefs.h: No such file or directory 10 | #include "tracefs.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:75: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/.trace-hooks.d] Error 1 In file included from /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/include/private/trace-cmd-private.h:12, from /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/include/trace-cmd-local.h:10, from trace-input.c:18: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/include/trace-cmd/trace-cmd.h:10:10: fatal error: tracefs.h: No such file or directory 10 | #include "tracefs.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:75: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/.trace-input.d] Error 1 make: *** [Makefile:414: /builddir/build/BUILD/trace-cmd-libtracecmd-1.3.1/lib/trace-cmd/libtracecmd.so.1.3.1] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7kwFgT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7kwFgT (%build) 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/libtracecmd.spec