pkg attempts to add the non-native libraries (that were not built) to the package. These are directly listed in the port's pkg-plist. I have not tested this with BE_FREEBSD=on. Poudriere log: =======================<phase: package >============================ ===> Building package for llvm13-13.0.0.r4 pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/lib/libLLVMExegesisAArch64.a:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/lib/libLLVMExegesisMips.a:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/lib/libLLVMExegesisPowerPC.a:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/devel/llvm13 pkg-plist: % grep libLLVMExegesis pkg-plist llvm%%LLVM_SUFFIX%%/lib/libLLVMExegesis.a llvm%%LLVM_SUFFIX%%/lib/libLLVMExegesisAArch64.a llvm%%LLVM_SUFFIX%%/lib/libLLVMExegesisMips.a llvm%%LLVM_SUFFIX%%/lib/libLLVMExegesisPowerPC.a llvm%%LLVM_SUFFIX%%/lib/libLLVMExegesisX86.a
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fca16446ff2ff675ee3cfd6284fa46016a7d498 commit 1fca16446ff2ff675ee3cfd6284fa46016a7d498 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-10-05 18:53:10 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-10-05 18:53:10 +0000 devel/llvm13: fix BE_NATIVE build Handle new per-backend Exegesis libraries. Awkwardly, they use the opposite convention of all other per-arch binaries so add (hopefuly temporary) machinery to support libLLVM<Foo><Arch>.a libraries. PR: 258897 MFH: 2021Q4 Sponsored by: DARPA devel/llvm13/Makefile | 7 ++++++- devel/llvm13/pkg-plist | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=31aaf91a386e85ec001ea334e80ce1dc32961142 commit 31aaf91a386e85ec001ea334e80ce1dc32961142 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-10-05 18:53:10 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-10-05 18:55:05 +0000 devel/llvm13: fix BE_NATIVE build Handle new per-backend Exegesis libraries. Awkwardly, they use the opposite convention of all other per-arch binaries so add (hopefuly temporary) machinery to support libLLVM<Foo><Arch>.a libraries. PR: 258897 Sponsored by: DARPA (cherry picked from commit 1fca16446ff2ff675ee3cfd6284fa46016a7d498) devel/llvm13/Makefile | 7 ++++++- devel/llvm13/pkg-plist | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-)
Should be fixed now. Thanks for the report.