==> Building on p ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 2,852 87% 0.00kB/s 0:00:00 3,264 100% 402.34kB/s 0:00:00 (xfr#1, to-chk=2/4) keep-default-alignment-for-atomic-instructions.patch 700 50% 683.59kB/s 0:00:00 1,377 100% 1.31MB/s 0:00:00 (xfr#2, to-chk=1/4) ldc-3:1.29.0-4.1.log 200 100% 195.31kB/s 0:00:00 200 100% 195.31kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,489 bytes received 124 bytes 1,075.33 bytes/sec total size is 4,829 speedup is 2.99 ==> Applying RISC-V patches... sending incremental file list ./ disable-static-NaN-tests.patch 700 32% 0.00kB/s 0:00:00 2,131 100% 1.36MB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 1,062 49% 1.01MB/s 0:00:00 2,163 100% 2.06MB/s 0:00:00 (xfr#2, to-chk=0/3) sent 878 bytes received 105 bytes 655.33 bytes/sec total size is 4,294 speedup is 4.37 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix19 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] -> [felix19]...done ==> Making package: ldc 3:1.29.0-4.1 (Wed Jul 13 18:59:05 2022) ==> Retrieving sources...  -> Updating ldc git repo... Fetching origin  -> Updating ldc-druntime git repo... Fetching origin  -> Updating ldc-phobos git repo... Fetching origin  -> Updating ldc-testsuite git repo... Fetching origin  -> Found ldc.patch  -> Found rt.patch  -> Found ph.patch  -> Found disable-static-NaN-tests.patch ==> Validating source files with sha256sums... ldc ... Skipped ldc-druntime ... Skipped ldc-phobos ... Skipped ldc-testsuite ... Skipped ldc.patch ... Passed rt.patch ... Passed ph.patch ... Passed disable-static-NaN-tests.patch ... Passed ==> Making package: ldc 3:1.29.0-4.1 (Wed Jul 13 18:59:22 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (17) New Version Net Change Download Size extra/compiler-rt 14.0.6-1 31.84 MiB extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20210910_3.1-1 0.23 MiB community/liblphobos 3:1.29.0-4 126.63 MiB 15.48 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.43.0-1 0.51 MiB extra/llvm-libs 14.0.6-1 92.62 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.23.2-2 55.63 MiB extra/git 2.37.1-1 30.56 MiB community/ldc 3:1.29.0-4 13.07 MiB 3.24 MiB extra/llvm 14.0.6-1 494.90 MiB community/ninja 1.11.0-1 0.27 MiB Total Download Size: 18.72 MiB Total Installed Size: 848.16 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... liblphobos-3:1.29.0-4-riscv64 downloading... ldc-3:1.29.0-4-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] 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 libedit... installing llvm-libs... installing llvm... installing liblphobos... installing compiler-rt... installing ldc... installing ninja... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found ldc.patch  -> Found rt.patch  -> Found ph.patch  -> Found disable-static-NaN-tests.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of ldc git repo... Cloning into 'ldc'... done. Switched to a new branch 'makepkg'  -> Creating working copy of ldc-druntime git repo... Cloning into 'ldc-druntime'... done.  -> Creating working copy of ldc-phobos git repo... Cloning into 'ldc-phobos'... done.  -> Creating working copy of ldc-testsuite git repo... Cloning into 'ldc-testsuite'... done. ==> Starting prepare()... patching file driver/targetmachine.cpp Hunk #1 succeeded at 104 (offset 2 lines). Hunk #2 succeeded at 429 with fuzz 2 (offset 9 lines). patching file driver/tool.cpp patching file gen/abi-riscv64.cpp patching file gen/abi-riscv64.h patching file gen/abi.cpp patching file runtime/CMakeLists.txt Hunk #1 succeeded at 345 (offset 4 lines). patching file gen/abi-riscv64.cpp patching file driver/targetmachine.cpp Hunk #1 succeeded at 430 with fuzz 1 (offset 9 lines). Submodule 'druntime' (https://github.com/ldc-developers/druntime.git) registered for path 'runtime/druntime' Submodule 'phobos' (https://github.com/ldc-developers/phobos.git) registered for path 'runtime/phobos' Submodule 'tests/d2/dmd-testsuite' (https://github.com/ldc-developers/dmd-testsuite.git) registered for path 'tests/d2/dmd-testsuite' Cloning into '/build/ldc/src/ldc/runtime/druntime'... done. Cloning into '/build/ldc/src/ldc/runtime/phobos'... done. Cloning into '/build/ldc/src/ldc/tests/d2/dmd-testsuite'... done. Submodule path 'runtime/druntime': checked out '74f939efa014b14b3264445dd45e0f4aa1f87b5e' Submodule path 'runtime/phobos': checked out '91ee6ff69248e94908a4ad5acaa56219f1a31867' Submodule path 'tests/d2/dmd-testsuite': checked out 'c62fded73185365b416d52b6fb7fd1646f5c6017' patching file src/core/stdc/stdarg.d patching file src/core/sys/linux/elf.d patching file src/core/sys/posix/fcntl.d patching file src/core/vararg.d patching file src/rt/dwarfeh.d patching file src/core/thread/osthread.d patching file std/complex.d patching file std/math/algebraic.d patching file std/math/hardware.d patching file std/math/trigonometry.d patching file std/numeric.d ==> Starting build()... -- 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 CMake Error at cmake/Modules/FindDCompiler.cmake:68 (math): math cannot parse the expression: "*1000+": syntax error, unexpected exp_TIMES (1). Call Stack (most recent call first): CMakeLists.txt:10 (include) -- Found host D compiler /usr/bin/ldmd2, with default flags '-link-defaultlib-shared=false' -- Host D compiler ID: LDMD -- Host D compiler version: /usr/bin/ldmd2 -- Host D compiler front-end version: ERROR -- LLVM_NATIVE_ARCH: RISCV -- Found LLVM: /usr (found suitable version "14.0.6", minimum required is "6.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'LLVMSPIRVLib' -- Package 'LLVMSPIRVLib', required by 'virtual:world', not found -- -- Building LDC without SPIR-V support: not found -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- LDC version identifier: 1.29.0 -- -- Building LDC with dynamic compilation support (LDC_DYNAMIC_COMPILE): OFF -- -- Building LDC with integrated LLD linker (LDC_WITH_LLD): OFF -- -- Building LDC with enabled assertions (LDC_ENABLE_ASSERTIONS): OFF -- -- Building LDC with plugin support (LDC_ENABLE_PLUGINS): ON CMake Error at cmake/Modules/ExtractDMDSystemLinker.cmake:42 (message): Failed to link empty D program using '/usr/bin/ldmd2 -link-defaultlib-shared=false -wi': /usr/bin/ldmd2: error while loading shared libraries: libgphobos.so.2: cannot open shared object file: No such file or directory Call Stack (most recent call first): CMakeLists.txt:679 (include) -- Configuring incomplete, errors occurred! See also "/build/ldc/src/ldc/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix19/build receiving incremental file list ldc-3:1.29.0-4.1-riscv64-build.log ldc-3:1.29.0-4.1-riscv64-prepare.log sent 62 bytes received 1,742 bytes 1,202.67 bytes/sec total size is 3,926 speedup is 2.18