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

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sun, 31 Dec 2023 19:32:12 UTC

> On Dec 31, 2023, at 8:26 PM, Moin Rahman <bofh@freebsd.org> wrote:
> 
> 
> 
>> On Dec 31, 2023, at 8:14 PM, Craig Leres <leres@freebsd.org> wrote:
>> 
>> On 12/30/23 17:14, Muhammad Moinur Rahman wrote:
>>> The branch main has been updated by bofh:
>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=bbab7f59e9630416397189df70ec133bdd690e38
>>> commit bbab7f59e9630416397189df70ec133bdd690e38
>>> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>>> AuthorDate: 2023-09-30 20:44:19 +0000
>>> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>>> CommitDate: 2023-12-31 00:37:05 +0000
>>>    */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
>>>         - Remove all references to defunct ARCH arm
>>>    - Remove all references to defunct ARCH sparc64
>>>    - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
>>>      ARCH
>>>    - Remove sysutils/afbinit requires defunct sparc64 ARCH
>>>    - Remove all references to bktr driver
>>>    - Remove all references to defunct FreeBSD_12
>>>    - Remove all references to OSVERSION/OSREL corresponding to 12
>>>    - Remove conditionals in Mk/Uses/cabal.mk
>>>    - Remove sparc reference from Mk/Uses/qt-dist.mk
>>>    - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
>>>    - Remove BROKEN_FreeBSD_12* from:
>>>    - Remove OpenSSL patches from:
>>>    - Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
>>>      Also move conditional flags for non sparc64/arm ARCH to fixed flags.
>> 
>> 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.
>> 
>> 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)
>> /usr/local/llvm15/lib/cmake/clang/ClangConfig.cmake:9 (find_package)
>> cmake/FindWrapLibClang.cmake:17 (find_package)
>> /usr/local/lib/cmake/Qt6/QtFindPackageHelpers.cmake:156 (find_package)
>> configure.cmake:21 (qt_find_package)
>> /usr/local/lib/cmake/Qt6/QtFeature.cmake:674 (include)
>> src/CMakeLists.txt:18 (qt_feature_evaluate_features)
>> 
>> 
>> -- Configuring incomplete, errors occurred!
>> *** Error code 1
>> 
>> Stop.
>> make: stopped in /usr/ports/devel/qt6-tools
> 
> Do you have any customized options apart from the DEFAULTS set/unset?
> 
> Kind regards,
> Moin
> 
> 

Hmm .. Looks like llvm also fails to build with missing files.

Kind regards,
Moin