Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 22:42:04 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Brooks Davis <brooks@FreeBSD.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: devel/llvm17 build broken: package phase got missing "arm_sme_draft_spec_subject_to_change.h", notice (amd64 build)
Message-ID:  <9D2FF771-4911-4912-B7BE-A2BC06440598@yahoo.com>
In-Reply-To: <B188B1EF-9DB0-4157-9DD9-FB80A20A24D6@yahoo.com>
References:  <B188B1EF-9DB0-4157-9DD9-FB80A20A24D6@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3Don was in use. That should help interpret the
below. [Building on/for aarch64 with BE_NATIVE=3Don did not fail.]

> =3D=3D=3D>  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/cl=
ang/17/include/arm_sme_draft_spec_subject_to_change.h:No such file or =
directory
> *** Error code 1
>=20
> That would be tied to:
>=20
> =
/usr/ports/devel/llvm17/pkg-plist:%%CLANG%%llvm%%LLVM_SUFFIX%%/lib/clang/%=
%LLVM_MAJOR%%/include/arm_sme_draft_spec_subject_to_change.h
>=20
>=20
> Context:
>=20
> # ~/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)
>=20
>=20
> ---Begin OPTIONS List---
> =3D=3D=3D> The following configuration options are available for =
llvm17-17.0.1:
>     BE_AMDGPU=3Don: AMD GPU backend (required by mesa)
>     BE_WASM=3Don: WebAssembly backend (required by firefox via wasi)
>     CLANG=3Don: Build clang
>     COMPILER_RT=3Don: Sanitizer libraries
>     DOCS=3Doff: Build and/or install documentation
>     EXTRAS=3Don: Extra clang tools
>     FLANG=3Doff: Flang FORTRAN compiler
>     GOLD=3Don: Build the LLVM Gold plugin for LTO
>     LIT=3Don: Install lit and FileCheck test tools
>     LLD=3Don: Install lld, the LLVM linker
>     LLDB=3Don: Install lldb, the LLVM debugger
>     MLIR=3Doff: Multi-Level Intermediate Representation
>     OPENMP=3Don: Install libomp, the LLVM OpenMP runtime library
>     POLLY=3Don: Polyhedral loop and data-locality optimizer
>     PYCLANG=3Don: Install python bindings to libclang
>     STATIC_LIBS=3Don: Install static libraries (does not effect =
sanitizers)
> =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
> =3D=3D=3D> Use 'make config' to modify these settings




=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9D2FF771-4911-4912-B7BE-A2BC06440598>