Re: aarch64 native context, devel/llvm14 build via poudriere-devel: build fails during "Building package for llvm14-14.0.0.r2" (armv7 too)

From: Simon Wright <simon.wright_at_gmx.net>
Date: Thu, 17 Mar 2022 00:49:44 UTC
On 17/03/2022 08:01, Mark Millard wrote:

<snipped>

>
> The armv7 style build failed with:
>
> ===>  Building package for llvm14-14.0.0.r2
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/clang/14.0.0/include/riscv_vector.h:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/libLLVMVEAsmParser.a:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/libLLVMVECodeGen.a:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/libLLVMVEDesc.a:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/libLLVMVEDisassembler.a:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/lib/libLLVMVEInfo.a:No such file or directory
> *** Error code 1
>

Mark:

Please forgive me if I'm missing your point but I used to get very
similar errors at the later stages of the build process for large
packages and my issue was actually running out of swap space. For
building rust I had to add a 20GB swap partition then the build would
(eventually) complete. Are you seeing swap issues during the build?

Cheers,

Simon.