==> Building on d ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/pocl ./ PKGBUILD 1,164 100% 0.00kB/s 0:00:00 1,164 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) pocl-3.0-1.log 278 100% 271.48kB/s 0:00:00 278 100% 271.48kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,049 bytes received 93 bytes 761.33 bytes/sec total size is 1,352 speedup is 1.18 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix5 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] -> [felix5]...done ==> Making package: pocl 3.0-1 (Sun Jun 12 20:35:27 2022) ==> Retrieving sources...  -> Downloading pocl-3.0.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 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 6362 0 6362 0 0 1649 0 --:--:-- 0:00:03 --:--:-- 5328 100 98k 0 98k 0 0 21873 0 --:--:-- 0:00:04 --:--:-- 51615 100 459k 0 459k 0 0 83278 0 --:--:-- 0:00:05 --:--:-- 153k 100 1682k 0 1682k 0 0 276k 0 --:--:-- 0:00:06 --:--:-- 492k ==> Validating source files with sha512sums... pocl-3.0.tar.gz ... Passed ==> Making package: pocl 3.0-1 (Sun Jun 12 20:35:51 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change Download Size extra/compiler-rt 13.0.1-1 28.02 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libpciaccess 0.16-3 0.05 MiB extra/llvm-libs 13.0.1-2.2 85.80 MiB extra/clang 13.0.1-2 156.82 MiB extra/hwloc 2.7.1-1 1.29 MiB extra/ocl-icd 2.3.1-1 0.24 MiB 0.07 MiB Total Download Size: 0.07 MiB Total Installed Size: 272.46 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... ocl-icd-2.3.1-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format llvm: referenced by some clang headers installing libpciaccess... installing hwloc... Optional dependencies for hwloc cairo libxml2 [installed] pciutils libx11 installing ocl-icd... Optional dependencies for ocl-icd opencl-driver: packaged opencl driver [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (9) New Version Net Change Download Size extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.43.0-1 0.51 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.23.2-1 55.12 MiB extra/llvm 13.0.1-2.2 462.48 MiB community/ninja 1.11.0-1 0.27 MiB extra/opencl-headers 2:2022.01.04-1 0.30 MiB 0.04 MiB Total Download Size: 0.04 MiB Total Installed Size: 520.35 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... opencl-headers-2:2022.01.04-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm... 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 opencl-headers... Optional dependencies for opencl-headers opencl-clhpp: C++ support installing ninja... [?25h==> Retrieving sources...  -> Found pocl-3.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pocl-3.0.tar.gz with bsdtar ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:27 (cmake_policy): The OLD behavior for policy CMP0067 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.1.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 -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- No git and/or not a prerelease -> not adding git commit to version. -- Host CPU cores: 16 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'hwloc' -- Found hwloc, version 2.7.1 -- Found Hwloc: hwloc -- Found hwloc 2.7.1 in :hwloc -- Hwloc_VERSION 2.7.1 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS CMake Warning at CMakeLists.txt:429 (message): Unable to detect cacheline size - assuming 64byte cacheline, override with -DHOST_CPU_CACHELINE_SIZE= (Note: this is merely used for optimization, at worst pocl will be slightly slower) -- Using llvm-config: /usr/bin/llvm-config -- LLVM binaries suffix : -- llvm-config's LLVM_PREFIX is: /usr -- llvm-config's LLVM_VERSION_FULL is: 13.0.1 -- LLVM_VERSION: 13.0 -- llvm-config's LLVM_CFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/lib -- llvm-config's LLVM_BINDIR is: /usr/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib -- llvm-config's LLVM_INCLUDEDIR is: /usr/include -- llvm-config's LLVM_SRC_ROOT is: /build/llvm/src/llvm-13.0.1.src -- llvm-config's LLVM_OBJ_ROOT is: /usr -- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore -- llvm-config's LLVM_HOST_TARGET is: riscv64-unknown-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: Release -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_SYSLIBS is: -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-13 -- llvm-config's LLVM_SYSLIBS is: -- Found clang: /usr/bin/clang -- Found clang++: /usr/bin/clang++ -- Found opt: /usr/bin/opt -- Found llc: /usr/bin/llc -- Found llvm-as: /usr/bin/llvm-as -- Found llvm-link: /usr/bin/llvm-link -- Found lli: /usr/bin/lli -- udivmodti4 compiles without extra flags -- Checking if LLVM is a DEBUG build -- DEBUG build -- Find out LLC target triple (for host riscv64-unknown-linux-gnu) -- Find out LLC host CPU with /usr/bin/llc -- Checking clang -march vs. -mcpu flag -- Using -mcpu= -- LLVM link test OK -- Checking fp16 support -- FP16 is disabled: 1 -- Looking for fork -- Looking for fork - found -- Looking for fsync -- Looking for fsync - found -- Looking for sleep -- Looking for sleep - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for utime -- Looking for utime - found -- Looking for ANNOTATE_HAPPENS_BEFORE -- Looking for ANNOTATE_HAPPENS_BEFORE - not found -- Looking for futimens -- Looking for futimens - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for mkstemps -- Looking for mkstemps - found -- Looking for vfork -- Looking for vfork - found -- Looking for mkostemps -- Looking for mkostemps - found -- Looking for dladdr -- Looking for dladdr - found -- Private Datadir Relative path: ../share/pocl -- Compiler supports IPO: YES -- Enable Link-Time Optimization (IPO) while building pocl runtime : 1 -- libdl found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'lttng-ust>=2.7' -- Package 'lttng-ust', required by 'virtual:world', not found -- Checking for module 'ocl-icd>=1.3' -- Found ocl-icd, version 2.3.1 -- Using an ICD loader : 1 -- Run tests with ICD: 1 -- OpenCL.h found (/usr/include/CL/opencl.h) and ICD enabled, NOT installing our headers -- Looking for CL_VERSION_3_0 -- Looking for CL_VERSION_3_0 - found -- Looking for CL_VERSION_2_2 -- Looking for CL_VERSION_2_2 - found -- Looking for CL_VERSION_2_1 -- Looking for CL_VERSION_2_1 - found -- Looking for CL_VERSION_2_0 -- Looking for CL_VERSION_2_0 - found -- Looking for CL_VERSION_1_2 -- Looking for CL_VERSION_1_2 - found CMake Error at CMakeLists.txt:1184 (message): Don't know what CPU variants to use for kernel library on this platform. -- Configuring incomplete, errors occurred! See also "/build/pocl/src/pocl-3.0/build/CMakeFiles/CMakeOutput.log". See also "/build/pocl/src/pocl-3.0/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix5/build receiving incremental file list pocl-3.0-1-riscv64-build.log sent 43 bytes received 2,193 bytes 4,472.00 bytes/sec total size is 5,803 speedup is 2.60