==> Building on C ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/kcov ./ PKGBUILD 843 100% 0.00kB/s 0:00:00 843 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) kcov-40-1.log 343 100% 334.96kB/s 0:00:00 343 100% 334.96kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 954 bytes received 93 bytes 2,094.00 bytes/sec total size is 1,031 speedup is 0.98 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix13 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix13]...done ==> Making package: kcov 40-1 (Sun Feb 20 14:39:44 2022) ==> Retrieving sources...  -> Downloading v40.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 133 100 133 0 0 250 0 --:--:-- --:--:-- --:--:-- 250 100 3622 0 3622 0 0 2576 0 --:--:-- 0:00:01 --:--:-- 2576 100 205k 0 205k 0 0 91271 0 --:--:-- 0:00:02 --:--:-- 224k 100 303k 0 303k 0 0 131k 0 --:--:-- 0:00:02 --:--:-- 330k ==> Validating source files with sha512sums... v40.tar.gz ... Passed ==> Making package: kcov 40-1 (Sun 20 Feb 2022 02:39:56 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-1 0.25 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.42.0-1 0.48 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.22.2-1 54.35 MiB community/ninja 1.10.2-1 0.21 MiB core/python 3.10.1-2 79.11 MiB Total Installed Size: 134.82 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing ninja... [?25h==> Retrieving sources...  -> Found v40.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting v40.tar.gz with bsdtar ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- 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 -- 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:438 (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:3 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find LIBBFD (missing: LIBBFD_IBERTY_LIBRARY) -- Target architectures: unknown -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found CURL: /usr/lib/libcurl.so (found version "7.81.0") -- Found DL: /usr/lib/libdl.so -- Found M: /usr/lib/libm.so -- kcov version: 40 (from changelog) -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1m") -- Found LibElf: /usr/lib/libelf.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (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:143 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ElfUtils: /usr/lib/libdw.so -- Configuring done -- Generating done -- Build files have been written to: /build/kcov/src/kcov-40/build ninja: Entering directory `build' [1/77] Generating version.c [2/77] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o FAILED: src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o /usr/bin/cc -DPACKAGE -DPACKAGE_VERSION -Dkcov_sowrapper_EXPORTS -I/build/kcov/src/kcov-40/src/include -I/build/kcov/src/kcov-40/src/../external/lldb/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -O3 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o -MF src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o.d -o src/CMakeFiles/kcov_sowrapper.dir/solib-parser/lib.c.o -c /build/kcov/src/kcov-40/src/solib-parser/lib.c /build/kcov/src/kcov-40/src/solib-parser/lib.c: In function ‘force_breakpoint’: /build/kcov/src/kcov-40/src/solib-parser/lib.c:99:3: error: #error Unsupported architecture 99 | # error Unsupported architecture | ^~~~~ /build/kcov/src/kcov-40/src/solib-parser/lib.c:101:25: error: expected string literal before ‘)’ token 101 | ); | ^ [3/77] Building C object src/CMakeFiles/bash_tracefd_cloexec.dir/engines/bash-tracefd-cloexec.c.o [4/77] Building C object src/CMakeFiles/kcov_sowrapper.dir/solib-parser/phdr_data.c.o [5/77] Building C object src/CMakeFiles/bash_execve_redirector.dir/engines/bash-execve-redirector.c.o [6/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/dummy-solib-handler.cc.o [7/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engine-factory.cc.o [8/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/system-mode-file-format.cc.o [9/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/parser-manager.cc.o [10/77] Building CXX object src/CMakeFiles/kcov_system_lib.dir/system-mode/registration.cc.o [11/77] Building CXX object src/CMakeFiles/kcov_system_lib.dir/engines/system-mode-binary-lib.cc.o [12/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o FAILED: src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -I/build/kcov/src/kcov-40/src/include -I/build/kcov/src/kcov-40/src/../external/lldb/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=0 -O3 -DNDEBUG -MD -MT src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o -MF src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o.d -o src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace_linux.cc.o -c /build/kcov/src/kcov-40/src/engines/ptrace_linux.cc /build/kcov/src/kcov-40/src/engines/ptrace_linux.cc:46:3: error: #error Unsupported architecture 46 | # error Unsupported architecture | ^~~~~ /build/kcov/src/kcov-40/src/engines/ptrace_linux.cc:65:3: error: #error Unsupported architecture 65 | # error Unsupported architecture | ^~~~~ [13/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/system-mode/file-data.cc.o [14/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o FAILED: src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -I/build/kcov/src/kcov-40/src/include -I/build/kcov/src/kcov-40/src/../external/lldb/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=0 -O3 -DNDEBUG -MD -MT src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o -MF src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o.d -o src/CMakeFiles/kcov-system-daemon.dir/engines/ptrace.cc.o -c /build/kcov/src/kcov-40/src/engines/ptrace.cc /build/kcov/src/kcov-40/src/engines/ptrace.cc:54:3: error: #error Unsupported architecture 54 | # error Unsupported architecture | ^~~~~ [15/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/gcov.cc.o [16/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/main-system-daemon.cc.o [17/77] Building CXX object src/CMakeFiles/kcov_system_lib.dir/utils.cc.o [18/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/configuration.cc.o [19/77] Building CXX object src/CMakeFiles/kcov-system-daemon.dir/filter.cc.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix13/build receiving incremental file list kcov-40-1-riscv64-build.log sent 43 bytes received 2,109 bytes 4,304.00 bytes/sec total size is 7,655 speedup is 3.56