Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2022 17:14:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266662] devel/llvm15: install failure with minimal OPTIONS set
Message-ID:  <bug-266662-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266662

            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 a=
ll
OPTIONS in devel/llvm15 other than CLANG:

$ make showconfig
=3D=3D=3D> The following configuration options are available for llvm15-15.=
0.1:
     BE_AMDGPU=3Doff: AMD GPU backend (required by mesa)
     BE_WASM=3Doff: WebAssembly backend (required by firefox via wasi)
     CLANG=3Don: Build clang
     COMPILER_RT=3Doff: Sanitizer libraries
     DOCS=3Doff: Build and/or install documentation
     EXTRAS=3Doff: Extra clang tools
     FLANG=3Doff: Flang FORTRAN compiler
     GOLD=3Doff: Build the LLVM Gold plugin for LTO
     LIT=3Doff: Install lit and FileCheck test tools
     LLD=3Doff: Install lld, the LLVM linker
     LLDB=3Doff: Install lldb, the LLVM debugger
     MLIR=3Doff: Multi-Level Intermediate Representation
     OPENMP=3Doff: Install libomp, the LLVM OpenMP runtime library
     PYCLANG=3Doff: Install python bindings to libclang
=3D=3D=3D=3D> Options available for the single BACKENDS: you have to select=
 exactly one
of them
     BE_FREEBSD=3Doff: Backends for FreeBSD architectures
     BE_NATIVE=3Don: Backend(s) for this architecture (X86)
     BE_STANDARD=3Doff: All non-experimental backends

Unfortunately, make install fails because the packaging list is inconsistent
with the files built for these OPTIONS:

$ make install
=3D=3D=3D>  Installing for llvm15-15.0.1
=3D=3D=3D>  Checking if llvm15 is already installed
=3D=3D=3D>  Switching to root credentials for 'install' target
=3D=3D=3D>   Registering installation for llvm15-15.0.1
pkg-static: Unable to access file
/usr/ports/devel/llvm15/work/stage/usr/local/llvm15/lib/libclangIncludeClea=
ner.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/libclangPseudoGramm=
ar.a:No
such file or directory
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266662-7788>