.cc.o -c /builddir/build/BUILD/kcov-35/src/utils.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 20%] Linking CXX shared library libkcov_system_lib.so cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcov_system_lib.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=0 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libkcov_system_lib.so -o libkcov_system_lib.so CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o CMakeFiles/kcov_system_lib.dir/utils.cc.o CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o -L/home/ska/local/lib -Wl,-rpath,/home/ska/local/lib -ldl -lz make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[1]: Entering directory '/builddir/build/BUILD/kcov-35' [ 20%] Built target kcov_system_lib make[1]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 19%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/filter.cc.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-35/src/include -I/builddir/build/BUILD/kcov-35/src/../external/lldb/include -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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=0 -DNDEBUG -o CMakeFiles/kcov-system-daemon.dir/filter.cc.o -c /builddir/build/BUILD/kcov-35/src/filter.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 6%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/configuration.cc.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-35/src/include -I/builddir/build/BUILD/kcov-35/src/../external/lldb/include -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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=0 -DNDEBUG -o CMakeFiles/kcov-system-daemon.dir/configuration.cc.o -c /builddir/build/BUILD/kcov-35/src/configuration.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' RPM build errors: BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:252: src/CMakeFiles/kcov-system-daemon.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.s9CDlw (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.s9CDlw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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/kcov.spec