Bug 284665 - devel/llvm20: Installation failure (non-default options)
Summary: devel/llvm20: Installation failure (non-default options)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-08 20:11 UTC by Philippe Michel
Modified: 2025-02-14 20:24 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Michel 2025-02-08 20:11:23 UTC
"make install" fails with:

===>   Registering installation for llvm20-20.1.0.r1
pkg-static: Unable to access file /usr/ports/devel/llvm20/work-default/stage/usr/local/llvm20/lib/libLLVMSPIRVAnalysis.a:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/llvm20/work-default/stage/usr/local/llvm20/lib/libLLVMSPIRVCodeGen.a:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/llvm20/work-default/stage/usr/local/llvm20/lib/libLLVMSPIRVDesc.a:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/llvm20/work-default/stage/usr/local/llvm20/lib/libLLVMSPIRVInfo.a:No such file or directory
*** Error code 1

Options:

OPTIONS_FILE_SET+=BE_AMDGPU
OPTIONS_FILE_SET+=BE_WASM
OPTIONS_FILE_SET+=CLANG
OPTIONS_FILE_SET+=COMPILER_RT
OPTIONS_FILE_UNSET+=DOCS
OPTIONS_FILE_SET+=EXTRAS
OPTIONS_FILE_UNSET+=FLANG
OPTIONS_FILE_UNSET+=GOLD
OPTIONS_FILE_UNSET+=LIT
OPTIONS_FILE_SET+=LLD
OPTIONS_FILE_UNSET+=LLDB
OPTIONS_FILE_SET+=MLIR
OPTIONS_FILE_UNSET+=OPENMP
OPTIONS_FILE_SET+=POLLY
OPTIONS_FILE_UNSET+=PYCLANG
OPTIONS_FILE_SET+=STATIC_LIBS
OPTIONS_FILE_UNSET+=BE_FREEBSD
OPTIONS_FILE_SET+=BE_NATIVE
OPTIONS_FILE_UNSET+=BE_STANDARD
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-10 17:34:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce2cdd371806749911cd7ac38be8421213c762ef

commit ce2cdd371806749911cd7ac38be8421213c762ef
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-02-10 17:26:59 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-02-10 17:28:27 +0000

    devel/llvm20: handle SPIRV backend

    This fixes the plist with BE_NATIVE or BE_FREEBSD.

    PR:             284665
    Reported by:    philippe.michel7@free.fr
    Sponsoredy by:  DARPA, AFRL

 devel/llvm20/Makefile  | 4 +++-
 devel/llvm20/pkg-plist | 4 ----
 2 files changed, 3 insertions(+), 5 deletions(-)