Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kcov.spec'], chrootPath='/var/lib/mock/f33-build-615173-67407/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kcov.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/kcov-38-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kcov.spec'], chrootPath='/var/lib/mock/f33-build-615173-67407/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kcov.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XONPRa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kcov-38 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/kcov-38.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kcov-38 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -frv external/ removed 'external/lldb/include/lldb/Utility/SharingPtr.h' removed directory 'external/lldb/include/lldb/Utility' removed 'external/lldb/include/lldb/lldb-forward.h' removed 'external/lldb/include/lldb/API/SBTarget.h' removed 'external/lldb/include/lldb/API/SBAddress.h' removed 'external/lldb/include/lldb/API/SBQueueItem.h' removed 'external/lldb/include/lldb/API/SBSourceManager.h' removed 'external/lldb/include/lldb/API/SBTypeSummary.h' removed 'external/lldb/include/lldb/API/SBQueue.h' removed 'external/lldb/include/lldb/API/SBValue.h' removed 'external/lldb/include/lldb/API/SBHostOS.h' removed 'external/lldb/include/lldb/API/SystemInitializerFull.h' removed 'external/lldb/include/lldb/API/SBWatchpoint.h' removed 'external/lldb/include/lldb/API/SBDefines.h' removed 'external/lldb/include/lldb/API/SBCommunication.h' removed 'external/lldb/include/lldb/API/SBTypeNameSpecifier.h' removed 'external/lldb/include/lldb/API/SBSymbolContextList.h' removed 'external/lldb/include/lldb/API/SBThreadCollection.h' removed 'external/lldb/include/lldb/API/SBError.h' removed 'external/lldb/include/lldb/API/SBEvent.h' removed 'external/lldb/include/lldb/API/SBAttachInfo.h' removed 'external/lldb/include/lldb/API/SBCommandInterpreter.h' removed 'external/lldb/include/lldb/API/SBFileSpecList.h' removed 'external/lldb/include/lldb/API/SBThread.h' removed 'external/lldb/include/lldb/API/SBVariablesOptions.h' removed 'external/lldb/include/lldb/API/SBProcess.h' removed 'external/lldb/include/lldb/API/SBPlatform.h' removed 'external/lldb/include/lldb/API/SBLanguageRuntime.h' removed 'external/lldb/include/lldb/API/SBSymbolContext.h' removed 'external/lldb/include/lldb/API/SBModule.h' removed 'external/lldb/include/lldb/API/SBBreakpointLocation.h' removed 'external/lldb/include/lldb/API/SBLaunchInfo.h' removed 'external/lldb/include/lldb/API/SBInstructionList.h' removed 'external/lldb/include/lldb/API/SBCommandReturnObject.h' removed 'external/lldb/include/lldb/API/SBDeclaration.h' removed 'external/lldb/include/lldb/API/SBExecutionContext.h' removed 'external/lldb/include/lldb/API/SBInstruction.h' removed 'external/lldb/include/lldb/API/LLDB.h' removed 'external/lldb/include/lldb/API/SBSymbol.h' removed 'external/lldb/include/lldb/API/SBStringList.h' removed 'external/lldb/include/lldb/API/SBExpressionOptions.h' removed 'external/lldb/include/lldb/API/SBUnixSignals.h' removed 'external/lldb/include/lldb/API/SBTypeFormat.h' removed 'external/lldb/include/lldb/API/SBFrame.h' removed 'external/lldb/include/lldb/API/SBType.h' removed 'external/lldb/include/lldb/API/SBBroadcaster.h' removed 'external/lldb/include/lldb/API/SBFileSpec.h' removed 'external/lldb/include/lldb/API/SBThreadPlan.h' removed 'external/lldb/include/lldb/API/SBTypeCategory.h' removed 'external/lldb/include/lldb/API/SBDebugger.h' removed 'external/lldb/include/lldb/API/SBModuleSpec.h' removed 'external/lldb/include/lldb/API/SBStream.h' removed 'external/lldb/include/lldb/API/SBCompileUnit.h' removed 'external/lldb/include/lldb/API/SBTypeEnumMember.h' removed 'external/lldb/include/lldb/API/SBFunction.h' removed 'external/lldb/include/lldb/API/SBData.h' removed 'external/lldb/include/lldb/API/SBSection.h' removed 'external/lldb/include/lldb/API/SBValueList.h' removed 'external/lldb/include/lldb/API/SBBlock.h' removed 'external/lldb/include/lldb/API/SBLineEntry.h' removed 'external/lldb/include/lldb/API/SBTypeSynthetic.h' removed 'external/lldb/include/lldb/API/SBBreakpoint.h' removed 'external/lldb/include/lldb/API/SBListener.h' removed 'external/lldb/include/lldb/API/SBTypeFilter.h' removed directory 'external/lldb/include/lldb/API' removed 'external/lldb/include/lldb/lldb-versioning.h' removed 'external/lldb/include/lldb/lldb-types.h' removed 'external/lldb/include/lldb/lldb-enumerations.h' removed 'external/lldb/include/lldb/lldb-defines.h' removed directory 'external/lldb/include/lldb' removed directory 'external/lldb/include' removed directory 'external/lldb' removed directory 'external/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CX1eXa + umask 022 + cd /builddir/build/BUILD + cd kcov-38 + cmake -S tools -B build-tools -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LibElf: /usr/lib64/libelf.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (ElfUtils) does not match the name of the calling package (Elfutils). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /builddir/build/BUILD/kcov-38/cmake/FindElfutils.cmake:70 (find_package_handle_standard_args) CMakeLists.txt:14 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ElfUtils: /usr/lib64/libdw.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found DL: /usr/lib64/libdl.so -- Found M: /usr/lib64/libm.so -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/kcov-38/build-tools + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C build-tools make: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' /usr/bin/cmake -S/builddir/build/BUILD/kcov-38/tools -B/builddir/build/BUILD/kcov-38/build-tools --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kcov-38/build-tools/CMakeFiles /builddir/build/BUILD/kcov-38/build-tools//CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/line2addr.dir/build.make CMakeFiles/line2addr.dir/depend make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' cd /builddir/build/BUILD/kcov-38/build-tools && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-38/tools /builddir/build/BUILD/kcov-38/tools /builddir/build/BUILD/kcov-38/build-tools /builddir/build/BUILD/kcov-38/build-tools /builddir/build/BUILD/kcov-38/build-tools/CMakeFiles/line2addr.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kcov-38/build-tools/CMakeFiles/line2addr.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build-tools/CMakeFiles/line2addr.dir/depend.internal". Dependee "/builddir/build/BUILD/kcov-38/build-tools/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build-tools/CMakeFiles/line2addr.dir/depend.internal". Scanning dependencies of target line2addr make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' /usr/bin/make -f CMakeFiles/line2addr.dir/build.make CMakeFiles/line2addr.dir/build make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 25%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/filter.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/filter.cc.o -c /builddir/build/BUILD/kcov-38/src/filter.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 16%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/capabilities.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/capabilities.cc.o -c /builddir/build/BUILD/kcov-38/src/capabilities.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 41%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dwarf.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dwarf.cc.o -c /builddir/build/BUILD/kcov-38/src/parsers/dwarf.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 16%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/gcov.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/gcov.cc.o -c /builddir/build/BUILD/kcov-38/src/gcov.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 66%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dummy-disassembler.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dummy-disassembler.cc.o -c /builddir/build/BUILD/kcov-38/src/parsers/dummy-disassembler.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 33%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/configuration.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/configuration.cc.o -c /builddir/build/BUILD/kcov-38/src/configuration.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 58%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf.cc.o -c /builddir/build/BUILD/kcov-38/src/parsers/elf.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 75%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parser-manager.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parser-manager.cc.o -c /builddir/build/BUILD/kcov-38/src/parser-manager.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 50%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf-parser.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf-parser.cc.o -c /builddir/build/BUILD/kcov-38/src/parsers/elf-parser.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 91%] Building CXX object CMakeFiles/line2addr.dir/line2addr.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/line2addr.cc.o -c /builddir/build/BUILD/kcov-38/tools/line2addr.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [ 83%] Building CXX object CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/utils.cc.o /usr/bin/c++ -I/builddir/build/BUILD/kcov-38/tools/../src/include -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/utils.cc.o -c /builddir/build/BUILD/kcov-38/src/utils.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [100%] Linking CXX executable line2addr /usr/bin/cmake -E cmake_link_script CMakeFiles/line2addr.dir/link.txt --verbose=1 /usr/bin/c++ -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX= -rdynamic CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/capabilities.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/configuration.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/filter.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/gcov.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dwarf.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf-parser.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/elf.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parsers/dummy-disassembler.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/parser-manager.cc.o CMakeFiles/line2addr.dir/builddir/build/BUILD/kcov-38/src/utils.cc.o CMakeFiles/line2addr.dir/line2addr.cc.o -o line2addr -ldl -ldw -lelf -lm -lstdc++ -lpthread -lz make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make[1]: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' [100%] Built target line2addr make[1]: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' make: Entering directory '/builddir/build/BUILD/kcov-38/build-tools' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kcov-38/build-tools/CMakeFiles 0 make: Leaving directory '/builddir/build/BUILD/kcov-38/build-tools' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -S . -B build -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (LIBBFD) does not match the name of the calling package (Bfd). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindBfd.cmake:79 (find_package_handle_standard_args) src/CMakeLists.txt:2 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBBFD: /usr/lib64/libbfd.so -- Target architectures: unknown -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found CURL: /usr/lib64/libcurl.so (found version "7.67.0") -- Found DL: /usr/lib64/libdl.so -- Found M: /usr/lib64/libm.so -- Found LibElf: /usr/lib64/libelf.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (ElfUtils) does not match the name of the calling package (Elfutils). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindElfutils.cmake:70 (find_package_handle_standard_args) src/CMakeLists.txt:134 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ElfUtils: /usr/lib64/libdw.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/kcov-38/build + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C build make: Entering directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/cmake -S/builddir/build/BUILD/kcov-38 -B/builddir/build/BUILD/kcov-38/build --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/kcov-38/build' make: Entering directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kcov-38/build/CMakeFiles /builddir/build/BUILD/kcov-38/build//CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/kcov_system_lib.dir/build.make src/CMakeFiles/kcov_system_lib.dir/depend /usr/bin/make -f src/CMakeFiles/kcov-system-daemon.dir/build.make src/CMakeFiles/kcov-system-daemon.dir/depend /usr/bin/make -f src/CMakeFiles/bash_execve_redirector.dir/build.make src/CMakeFiles/bash_execve_redirector.dir/depend /usr/bin/make -f src/CMakeFiles/kcov_sowrapper.dir/build.make src/CMakeFiles/kcov_sowrapper.dir/depend make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' cd /builddir/build/BUILD/kcov-38/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-38 /builddir/build/BUILD/kcov-38/src /builddir/build/BUILD/kcov-38/build /builddir/build/BUILD/kcov-38/build/src /builddir/build/BUILD/kcov-38/build/src/CMakeFiles/bash_execve_redirector.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/bash_execve_redirector.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/bash_execve_redirector.dir/depend.internal". Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/bash_execve_redirector.dir/depend.internal". Scanning dependencies of target bash_execve_redirector make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/make -f src/CMakeFiles/bash_execve_redirector.dir/build.make src/CMakeFiles/bash_execve_redirector.dir/build make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' cd /builddir/build/BUILD/kcov-38/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-38 /builddir/build/BUILD/kcov-38/src /builddir/build/BUILD/kcov-38/build /builddir/build/BUILD/kcov-38/build/src /builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_sowrapper.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_sowrapper.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_sowrapper.dir/depend.internal". Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_sowrapper.dir/depend.internal". Scanning dependencies of target kcov_sowrapper make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/make -f src/CMakeFiles/kcov_sowrapper.dir/build.make src/CMakeFiles/kcov_sowrapper.dir/build make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' cd /builddir/build/BUILD/kcov-38/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-38 /builddir/build/BUILD/kcov-38/src /builddir/build/BUILD/kcov-38/build /builddir/build/BUILD/kcov-38/build/src /builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_system_lib.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_system_lib.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_system_lib.dir/depend.internal". Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov_system_lib.dir/depend.internal". Scanning dependencies of target kcov_system_lib make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/make -f src/CMakeFiles/kcov_system_lib.dir/build.make src/CMakeFiles/kcov_system_lib.dir/build make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 1%] Generating version.c cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/cmake -E echo const\ char\ *kcov_version\ =\ \"38\"\; > version.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' cd /builddir/build/BUILD/kcov-38/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-38 /builddir/build/BUILD/kcov-38/src /builddir/build/BUILD/kcov-38/build /builddir/build/BUILD/kcov-38/build/src /builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov-system-daemon.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov-system-daemon.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov-system-daemon.dir/depend.internal". Dependee "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kcov-38/build/src/CMakeFiles/kcov-system-daemon.dir/depend.internal". Scanning dependencies of target kcov-system-daemon make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /usr/bin/make -f src/CMakeFiles/kcov-system-daemon.dir/build.make src/CMakeFiles/kcov-system-daemon.dir/build make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 2%] Building C object src/CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/gcc -DPACKAGE -DPACKAGE_VERSION -Dbash_execve_redirector_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -o CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o -c /builddir/build/BUILD/kcov-38/src/engines/bash-execve-redirector.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 4%] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/phdr_data.c.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/gcc -DPACKAGE -DPACKAGE_VERSION -Dkcov_sowrapper_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -o CMakeFiles/kcov_sowrapper.dir/solib-parser/phdr_data.c.o -c /builddir/build/BUILD/kcov-38/src/solib-parser/phdr_data.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 9%] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/gcc -DPACKAGE -DPACKAGE_VERSION -Dkcov_sowrapper_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -o CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o -c /builddir/build/BUILD/kcov-38/src/solib-parser/lib.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /builddir/build/BUILD/kcov-38/src/solib-parser/lib.c: In function 'force_breakpoint': /builddir/build/BUILD/kcov-38/src/solib-parser/lib.c:99:3: error: #error Unsupported architecture 99 | # error Unsupported architecture | ^~~~~ /builddir/build/BUILD/kcov-38/src/solib-parser/lib.c:101:4: error: expected string literal before ')' token 101 | ); | ^ make[2]: *** [src/CMakeFiles/kcov_sowrapper.dir/build.make:98: src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:254: src/CMakeFiles/kcov_sowrapper.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 8%] Linking C shared library libbash_execve_redirector.so cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/bash_execve_redirector.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libbash_execve_redirector.so -o libbash_execve_redirector.so CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o -ldl make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[1]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 10%] Built target bash_execve_redirector make[1]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 5%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o -c /builddir/build/BUILD/kcov-38/src/engines/system-mode-binary-lib.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 12%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o -c /builddir/build/BUILD/kcov-38/src/system-mode/registration.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 13%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/dummy-solib-handler.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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/dummy-solib-handler.cc.o -c /builddir/build/BUILD/kcov-38/src/dummy-solib-handler.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 14%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engine-factory.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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/engine-factory.cc.o -c /builddir/build/BUILD/kcov-38/src/engine-factory.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 16%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/system-mode-file-format.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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/engines/system-mode-file-format.cc.o -c /builddir/build/BUILD/kcov-38/src/engines/system-mode-file-format.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 10%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/utils.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/utils.cc.o -c /builddir/build/BUILD/kcov-38/src/utils.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 18%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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/engines/ptrace_linux.cc.o -c /builddir/build/BUILD/kcov-38/src/engines/ptrace_linux.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /builddir/build/BUILD/kcov-38/src/engines/ptrace_linux.cc:46:3: error: #error Unsupported architecture 46 | # error Unsupported architecture | ^~~~~ /builddir/build/BUILD/kcov-38/src/engines/ptrace_linux.cc:65:3: error: #error Unsupported architecture 65 | # error Unsupported architecture | ^~~~~ make[2]: *** [src/CMakeFiles/kcov-system-daemon.dir/build.make:154: src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 17%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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/engines/ptrace.cc.o -c /builddir/build/BUILD/kcov-38/src/engines/ptrace.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' /builddir/build/BUILD/kcov-38/src/engines/ptrace.cc:53:3: error: #error Unsupported architecture 53 | # error Unsupported architecture | ^~~~~ make[2]: *** [src/CMakeFiles/kcov-system-daemon.dir/build.make:141: src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 20%] Linking CXX shared library libkcov_system_lib.so cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcov_system_lib.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -ldl make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[1]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 20%] Built target kcov_system_lib make[1]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[2]: Entering directory '/builddir/build/BUILD/kcov-38/build' [ 6%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/configuration.cc.o cd /builddir/build/BUILD/kcov-38/build/src && /usr/bin/g++ -DPACKAGE -DPACKAGE_VERSION -I/builddir/build/BUILD/kcov-38/src/include -I/builddir/build/BUILD/kcov-38/src/../external/lldb/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-38/src/configuration.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-38/build' make[1]: *** [CMakeFiles/Makefile2:173: src/CMakeFiles/kcov-system-daemon.dir/all] Error 2 make: *** [Makefile:174: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.CX1eXa (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CX1eXa (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/kcov.spec