FreeBSD 13.1-STABLE amd64 I wanted to install a minimal clang15 for testing purposes, so I disabled all OPTIONS in devel/llvm15 other than CLANG: $ make showconfig ===> The following configuration options are available for llvm15-15.0.1: BE_AMDGPU=off: AMD GPU backend (required by mesa) BE_WASM=off: WebAssembly backend (required by firefox via wasi) CLANG=on: Build clang COMPILER_RT=off: Sanitizer libraries DOCS=off: Build and/or install documentation EXTRAS=off: Extra clang tools FLANG=off: Flang FORTRAN compiler GOLD=off: Build the LLVM Gold plugin for LTO LIT=off: Install lit and FileCheck test tools LLD=off: Install lld, the LLVM linker LLDB=off: Install lldb, the LLVM debugger MLIR=off: Multi-Level Intermediate Representation OPENMP=off: Install libomp, the LLVM OpenMP runtime library PYCLANG=off: Install python bindings to libclang ====> Options available for the single BACKENDS: you have to select exactly one of them BE_FREEBSD=off: Backends for FreeBSD architectures BE_NATIVE=on: Backend(s) for this architecture (X86) BE_STANDARD=off: All non-experimental backends Unfortunately, make install fails because the packaging list is inconsistent with the files built for these OPTIONS: $ make install ===> Installing for llvm15-15.0.1 ===> Checking if llvm15 is already installed ===> Switching to root credentials for 'install' target ===> Registering installation for llvm15-15.0.1 pkg-static: Unable to access file /usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangIncludeCleaner.a:No such file or directory pkg-static: Unable to access file /usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangPseudo.a:No such file or directory pkg-static: Unable to access file /usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangPseudoCLI.a:No such file or directory pkg-static: Unable to access file /usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangPseudoCXX.a:No such file or directory pkg-static: Unable to access file /usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangPseudoGrammar.a:No such file or directory *** Error code 1
Thanks for the report. Looks like I missed a few things that would be under EXTRAS. Will fix shortly.
Fixed in https://cgit.freebsd.org/ports/commit/?id=549225619e86c7926476b16a7c71a0fe383fb0e8 but I failed to mention the PR number in the commit.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=547397723678cd4d68d95ac24b7e98ccf197f0c2 commit 547397723678cd4d68d95ac24b7e98ccf197f0c2 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2022-09-29 22:48:41 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2022-09-29 22:48:41 +0000 devel/llvm-devel: new snapshot Fix a plist bug with EXTRAS disabled. This update contains a workaround for an issue causing flang not to compile on amd64 due to a lack of __float128 support. Power may need a similar fix, but I'd prefer not to apply it blindly. PR: 266662 devel/llvm-devel/Makefile | 4 +++- devel/llvm-devel/Makefile.snapshot | 4 ++-- devel/llvm-devel/distinfo | 6 +++--- ...atch-flang_include_flang_Runtime_float128.h (new) | 11 +++++++++++ devel/llvm-devel/pkg-plist | 20 +++++++++++++++----- 5 files changed, 34 insertions(+), 11 deletions(-)