Re: poudriere-devel based aarch64 llvm16-16.0.0.r3 build got: bad make -VBE_FREEBSD_PLIST_FILES result leads to "pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory"

From: Brooks Davis <brooks_at_freebsd.org>
Date: Tue, 07 Mar 2023 00:19:43 UTC
On Sun, Mar 05, 2023 at 07:48:33PM -0800, Mark Millard wrote:
> I'm now doing my devel/llvm16 builds via the Makefile changes:
> (leading or other whitespace may not be preserved)
> 
> diff --git a/devel/llvm16/Makefile b/devel/llvm16/Makefile
> index 477772b2b24e..a1e4a3ab5f35 100644
> --- a/devel/llvm16/Makefile
> +++ b/devel/llvm16/Makefile
> @@ -117,7 +117,7 @@ BE_STANDARD_DESC=	All non-experimental backends
>   BE_WASM_DESC=		WebAssembly backend (required by firefox via wasi)
>   .for BE in FREEBSD NATIVE STANDARD
>   BE_${BE}_PLIST_FILES=	${_BE_LIBS_${BE}:O:S/$/.a/:S|^|${LLVM_DIR}/lib/libLLVM|} \
> -			${_BE_INCS_${BE}:S|^|${LLVM_DIR}/lib/clang/${LLVM_MAJOR}/include/|:N${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/include/$}
> +			${_BE_INCS_${BE}:S|^|${LLVM_DIR}/lib/clang/${LLVM_MAJOR}/include/|:N${LLVM_DIR}/lib/clang/${LLVM_MAJOR}/include/$}
>   .endfor
>   CLANG_DESC=	Build clang
>   CLANG_CMAKE_ON=		-DCLANG_DEFAULT_OPENMP_RUNTIME=libomp
> @@ -324,7 +324,7 @@ FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
>   .if ${ARCH} == amd64
>   _NATIVE_BACKENDS=	X86
>   .elif ${ARCH} == aarch64
> -_NATIVE_BACKENDS=	AArch64
> +_NATIVE_BACKENDS=	AArch64 ARM
>   .elif ${ARCH:Marmv*}
>   _NATIVE_BACKENDS=	ARM
>   .elif ${ARCH} == i386

I've made these changes in devel/llvm16.

> I've set up devel/llvm15 to be based on that last change
> as well.

I've also queued up this change, but haven't pushed it yet.

-- Brooks