Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kcov.spec'], chrootPath='/var/lib/mock/f29-build-27808-14682/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/kcov-35-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kcov.spec'], chrootPath='/var/lib/mock/f29-build-27808-14682/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.npdcRA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kcov-35 + /usr/bin/gzip -dc /builddir/build/SOURCES/kcov-35.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kcov-35 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch (fa51b645.patch):' Patch (fa51b645.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/engines/ptrace.cc + rm -frv external/ removed 'external/lldb/include/lldb/lldb-types.h' removed 'external/lldb/include/lldb/API/SBThreadPlan.h' removed 'external/lldb/include/lldb/API/SystemInitializerFull.h' removed 'external/lldb/include/lldb/API/SBBlock.h' removed 'external/lldb/include/lldb/API/SBFileSpec.h' removed 'external/lldb/include/lldb/API/SBSymbol.h' removed 'external/lldb/include/lldb/API/SBDeclaration.h' removed 'external/lldb/include/lldb/API/SBStream.h' removed 'external/lldb/include/lldb/API/SBListener.h' removed 'external/lldb/include/lldb/API/SBSourceManager.h' removed 'external/lldb/include/lldb/API/SBExecutionContext.h' removed 'external/lldb/include/lldb/API/SBCommandReturnObject.h' removed 'external/lldb/include/lldb/API/SBLaunchInfo.h' removed 'external/lldb/include/lldb/API/SBThreadCollection.h' removed 'external/lldb/include/lldb/API/SBInstructionList.h' removed 'external/lldb/include/lldb/API/SBWatchpoint.h' removed 'external/lldb/include/lldb/API/SBHostOS.h' removed 'external/lldb/include/lldb/API/SBDebugger.h' removed 'external/lldb/include/lldb/API/SBCommandInterpreter.h' removed 'external/lldb/include/lldb/API/SBDefines.h' removed 'external/lldb/include/lldb/API/LLDB.h' removed 'external/lldb/include/lldb/API/SBFrame.h' removed 'external/lldb/include/lldb/API/SBType.h' removed 'external/lldb/include/lldb/API/SBValue.h' removed 'external/lldb/include/lldb/API/SBTypeSummary.h' removed 'external/lldb/include/lldb/API/SBBroadcaster.h' removed 'external/lldb/include/lldb/API/SBStringList.h' removed 'external/lldb/include/lldb/API/SBVariablesOptions.h' removed 'external/lldb/include/lldb/API/SBThread.h' removed 'external/lldb/include/lldb/API/SBSymbolContextList.h' removed 'external/lldb/include/lldb/API/SBCommunication.h' removed 'external/lldb/include/lldb/API/SBAttachInfo.h' removed 'external/lldb/include/lldb/API/SBLanguageRuntime.h' removed 'external/lldb/include/lldb/API/SBEvent.h' removed 'external/lldb/include/lldb/API/SBExpressionOptions.h' removed 'external/lldb/include/lldb/API/SBError.h' removed 'external/lldb/include/lldb/API/SBTypeSynthetic.h' removed 'external/lldb/include/lldb/API/SBTypeEnumMember.h' removed 'external/lldb/include/lldb/API/SBModule.h' removed 'external/lldb/include/lldb/API/SBSection.h' removed 'external/lldb/include/lldb/API/SBSymbolContext.h' removed 'external/lldb/include/lldb/API/SBData.h' removed 'external/lldb/include/lldb/API/SBProcess.h' removed 'external/lldb/include/lldb/API/SBTypeNameSpecifier.h' removed 'external/lldb/include/lldb/API/SBTypeFormat.h' removed 'external/lldb/include/lldb/API/SBLineEntry.h' removed 'external/lldb/include/lldb/API/SBQueue.h' removed 'external/lldb/include/lldb/API/SBInstruction.h' removed 'external/lldb/include/lldb/API/SBBreakpointLocation.h' removed 'external/lldb/include/lldb/API/SBFunction.h' removed 'external/lldb/include/lldb/API/SBBreakpoint.h' removed 'external/lldb/include/lldb/API/SBTypeCategory.h' removed 'external/lldb/include/lldb/API/SBTypeFilter.h' removed 'external/lldb/include/lldb/API/SBPlatform.h' removed 'external/lldb/include/lldb/API/SBModuleSpec.h' removed 'external/lldb/include/lldb/API/SBValueList.h' removed 'external/lldb/include/lldb/API/SBQueueItem.h' removed 'external/lldb/include/lldb/API/SBUnixSignals.h' removed 'external/lldb/include/lldb/API/SBTarget.h' removed 'external/lldb/include/lldb/API/SBFileSpecList.h' removed 'external/lldb/include/lldb/API/SBCompileUnit.h' removed 'external/lldb/include/lldb/API/SBAddress.h' removed directory 'external/lldb/include/lldb/API' removed 'external/lldb/include/lldb/lldb-forward.h' removed 'external/lldb/include/lldb/lldb-versioning.h' removed 'external/lldb/include/lldb/lldb-enumerations.h' removed 'external/lldb/include/lldb/Utility/SharingPtr.h' removed directory 'external/lldb/include/lldb/Utility' 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/' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28lAcO + exit 0 + umask 022 + cd /builddir/build/BUILD + cd kcov-35 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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/cmake -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 . -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- 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 LIBBFD: /usr/lib64/libbfd.so -- Target architectures: unknown -- Checking for module 'zlib' -- Found zlib, version 1.2.11 -- Checking for module 'libcurl' -- Found libcurl, version 7.61.0 -- Found LibElf: /usr/lib64/libelf.so -- Found ElfUtils: /usr/lib64/libdw.so -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/kcov-35 + /usr/bin/make -O -j4 /usr/bin/cmake -H/builddir/build/BUILD/kcov-35 -B/builddir/build/BUILD/kcov-35 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kcov-35/CMakeFiles /builddir/build/BUILD/kcov-35/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /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 /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 make[2]: Entering directory '/builddir/build/BUILD/kcov-35' cd /builddir/build/BUILD/kcov-35 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35/src/CMakeFiles/bash_execve_redirector.dir/DependInfo.cmake --color= Scanning dependencies of target bash_execve_redirector make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' /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-35' cd /builddir/build/BUILD/kcov-35 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35/src/CMakeFiles/kcov_sowrapper.dir/DependInfo.cmake --color= Scanning dependencies of target kcov_sowrapper make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' /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-35' cd /builddir/build/BUILD/kcov-35 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35/src/CMakeFiles/kcov_system_lib.dir/DependInfo.cmake --color= Scanning dependencies of target kcov_system_lib make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' /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-35' [ 1%] Generating version.c cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cmake -E echo const\ char\ *kcov_version\ =\ \"35\"\; > version.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' cd /builddir/build/BUILD/kcov-35 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35 /builddir/build/BUILD/kcov-35/src /builddir/build/BUILD/kcov-35/src/CMakeFiles/kcov-system-daemon.dir/DependInfo.cmake --color= Scanning dependencies of target kcov-system-daemon make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' /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-35' [ 4%] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/phdr_data.c.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cc -DPACKAGE -DPACKAGE_VERSION -Dkcov_sowrapper_EXPORTS -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 -DNDEBUG -fPIC -o CMakeFiles/kcov_sowrapper.dir/solib-parser/phdr_data.c.o -c /builddir/build/BUILD/kcov-35/src/solib-parser/phdr_data.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 2%] Building C object src/CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cc -DPACKAGE -DPACKAGE_VERSION -Dbash_execve_redirector_EXPORTS -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 -DNDEBUG -fPIC -o CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o -c /builddir/build/BUILD/kcov-35/src/engines/bash-execve-redirector.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 8%] Linking C shared library libbash_execve_redirector.so cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/bash_execve_redirector.dir/link.txt --verbose=1 /usr/bin/cc -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 -DNDEBUG -Wl,-z,relro -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 -L/home/ska/local/lib -Wl,-rpath,/home/ska/local/lib -ldl make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[1]: Entering directory '/builddir/build/BUILD/kcov-35' [ 9%] Built target bash_execve_redirector make[1]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 9%] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/cc -DPACKAGE -DPACKAGE_VERSION -Dkcov_sowrapper_EXPORTS -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 -DNDEBUG -fPIC -o CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o -c /builddir/build/BUILD/kcov-35/src/solib-parser/lib.c make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/solib-parser/lib.c: In function 'force_breakpoint': BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/solib-parser/lib.c:96:3: error: #error Unsupported architecture BUILDSTDERR: # error Unsupported architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/solib-parser/lib.c:98:4: error: expected string literal before ')' token BUILDSTDERR: ); BUILDSTDERR: ^ BUILDSTDERR: make[2]: *** [src/CMakeFiles/kcov_sowrapper.dir/build.make:79: src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:139: src/CMakeFiles/kcov_sowrapper.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 5%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o -c /builddir/build/BUILD/kcov-35/src/engines/system-mode-binary-lib.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 11%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/dummy-solib-handler.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/dummy-solib-handler.cc.o -c /builddir/build/BUILD/kcov-35/src/dummy-solib-handler.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 13%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o -c /builddir/build/BUILD/kcov-35/src/system-mode/registration.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 15%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engine-factory.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/engine-factory.cc.o -c /builddir/build/BUILD/kcov-35/src/engine-factory.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 16%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/system-mode-file-format.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/engines/system-mode-file-format.cc.o -c /builddir/build/BUILD/kcov-35/src/engines/system-mode-file-format.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' make[2]: Entering directory '/builddir/build/BUILD/kcov-35' [ 12%] Building CXX object src/CMakeFiles/kcov_system_lib.dir/utils.cc.o cd /builddir/build/BUILD/kcov-35/src && /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -Dkcov_system_lib_EXPORTS -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 -fPIC -o CMakeFiles/kcov_system_lib.dir/utils.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,-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' [ 18%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.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/engines/ptrace.cc.o -c /builddir/build/BUILD/kcov-35/src/engines/ptrace.cc make[2]: Leaving directory '/builddir/build/BUILD/kcov-35' BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/engines/ptrace.cc:67:3: error: #error Unsupported architecture BUILDSTDERR: # error Unsupported architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/engines/ptrace.cc:82:3: error: #error Unsupported architecture BUILDSTDERR: # error Unsupported architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/kcov-35/src/engines/ptrace.cc:105:3: error: #error Unsupported architecture BUILDSTDERR: # error Unsupported architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/kcov-system-daemon.dir/build.make:122: src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... 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' [ 22%] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/gcov.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/gcov.cc.o -c /builddir/build/BUILD/kcov-35/src/gcov.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' 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.28lAcO (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.28lAcO (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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