Re: devel/llvm17 build broken: package phase got missing "arm_sme_draft_spec_subject_to_change.h", notice (amd64 build)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 22 Sep 2023 05:42:04 UTC
On Sep 21, 2023, at 21:54, Mark Millard <marklmi@yahoo.com> wrote:

Turns out it is important that the build was for amd64 and the file
is not and BE_NATIVE=on was in use. That should help interpret the
below. [Building on/for aarch64 with BE_NATIVE=on did not fail.]

> ===>  Building package for llvm17-17.0.1
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm17/work-default/stage/usr/local/llvm17/lib/clang/17/include/arm_sme_draft_spec_subject_to_change.h:No such file or directory
> *** Error code 1
> 
> That would be tied to:
> 
> /usr/ports/devel/llvm17/pkg-plist:%%CLANG%%llvm%%LLVM_SUFFIX%%/lib/clang/%%LLVM_MAJOR%%/include/arm_sme_draft_spec_subject_to_change.h
> 
> 
> Context:
> 
> # ~/fbsd-based-on-what-commit.sh -C /usr/ports
> 974bc1624e34 (HEAD -> main, freebsd/main, freebsd/HEAD) print/libharu: update to 2.4.4 release (+)
> Author:     Dima Panov <fluffy@FreeBSD.org>
> Commit:     Dima Panov <fluffy@FreeBSD.org>
> CommitDate: 2023-09-21 22:14:48 +0000
> branch: main
> merge-base: 974bc1624e3431343b09a6f1a9f294aa0b5cb0be
> merge-base: CommitDate: 2023-09-21 22:14:48 +0000
> n634068 (--first-parent --count for merge-base)
> 
> 
> ---Begin OPTIONS List---
> ===> The following configuration options are available for llvm17-17.0.1:
>     BE_AMDGPU=on: AMD GPU backend (required by mesa)
>     BE_WASM=on: WebAssembly backend (required by firefox via wasi)
>     CLANG=on: Build clang
>     COMPILER_RT=on: Sanitizer libraries
>     DOCS=off: Build and/or install documentation
>     EXTRAS=on: Extra clang tools
>     FLANG=off: Flang FORTRAN compiler
>     GOLD=on: Build the LLVM Gold plugin for LTO
>     LIT=on: Install lit and FileCheck test tools
>     LLD=on: Install lld, the LLVM linker
>     LLDB=on: Install lldb, the LLVM debugger
>     MLIR=off: Multi-Level Intermediate Representation
>     OPENMP=on: Install libomp, the LLVM OpenMP runtime library
>     POLLY=on: Polyhedral loop and data-locality optimizer
>     PYCLANG=on: Install python bindings to libclang
>     STATIC_LIBS=on: Install static libraries (does not effect sanitizers)
> ====> 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
> ===> Use 'make config' to modify these settings




===
Mark Millard
marklmi at yahoo.com