[Bug 266662] devel/llvm15: install failure with minimal OPTIONS set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Sep 2022 17:14:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266662
Bug ID: 266662
Summary: devel/llvm15: install failure with minimal OPTIONS set
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: brooks@FreeBSD.org
Reporter: naddy@FreeBSD.org
Assignee: brooks@FreeBSD.org
Flags: maintainer-feedback?(brooks@FreeBSD.org)
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
--
You are receiving this mail because:
You are the assignee for the bug.