Re: git: bbab7f59e963 - main - */*: Sunset 12.4-RELEASE/12-STABLE from ports tree

From: Craig Leres <leres_at_freebsd.org>
Date: Sun, 31 Dec 2023 19:18:55 UTC
On 12/31/23 11:14, Craig Leres wrote:
> This breaks building qt6-tools for me. It's not clear to me why a 
> poudriere build on a 13.2/amd64 system needs the "sparc" version of a 
> llvm15 library but here we are. I also noticed that llvm15-15.0.7_8 
> build yesterday includes these libraries:
> 
>      /usr/local/llvm15/lib/libLLVMSparcAsmParser.a
>      /usr/local/llvm15/lib/libLLVMSparcCodeGen.a
>      /usr/local/llvm15/lib/libLLVMSparcDesc.a
>      /usr/local/llvm15/lib/libLLVMSparcDisassembler.a
>      /usr/local/llvm15/lib/libLLVMSparcInfo.a
> 
> While the same version of llvm15 built today does not which I find 
> somewhat surprising.

I see wasi-compiler-rt15 has the same issue as qt6-tools.

		Craig

CMake Error at /usr/local/llvm15/lib/cmake/llvm/LLVMExports.cmake:1509 
(message):
   The imported target "LLVMSparcCodeGen" references the file

      "/usr/local/llvm15/lib/libLLVMSparcCodeGen.a"

   but this file does not exist.  Possible reasons include:

   * The file was deleted, renamed, or moved to another location.

   * An install or uninstall procedure did not complete successfully.

   * The installation package was faulty and contained

      "/usr/local/llvm15/lib/cmake/llvm/LLVMExports.cmake"

   but not all the files it references.

Call Stack (most recent call first):
   /usr/local/llvm15/lib/cmake/llvm/LLVMConfig.cmake:321 (include)
 
/wrkdirs/usr/ports/devel/wasi-compiler-rt15/work/llvm-project-15.0.7.src/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:387 
(include)
   CMakeLists.txt:28 (load_llvm_config)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/wasi-compiler-rt15