Bug 425038 - Umbrello 20.08 build fails on CI for FreeBSD
Summary: Umbrello 20.08 build fails on CI for FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: buildsystem
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Neundorf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 11:11 UTC by Christoph Feck
Modified: 2020-08-17 16:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2020-08-05 11:11:12 UTC
There is some error related to LLVM libraries. Please see https://build.kde.org/job/Applications/view/Everything%20-%20stable-kf5-qt5/job/umbrello/job/stable-kf5-qt5%20FreeBSDQt5.15/

It is possible the issue on the CI (missing dependencies, etc.), please reassign if needed.
Comment 1 Ralf Habacker 2020-08-05 12:07:21 UTC
11:45:57    CMake Error at /usr/local/lib/cmake/llvm/LLVMExports.cmake:1230 (message):
11:45:57    The imported target "LLVMDemangle" references the file
11:45:57  
11:45:57       "/usr/local/lib/libLLVMDemangle.a"
11:45:57  
11:45:57    but this file does not exist.  Possible reasons include:
This log entries indicates a dependency issue on CI. I reassigned it to "buildsystem"
Comment 2 Tobias C. Berner 2020-08-05 17:00:23 UTC
Moin moin 

Sorry, this is my bad -- I had a work around not cleanly removed on the CI host.

Previously we had the llvm/clang-cmake files of the "default" llvm symlinked to /usr/local/lib/cmake/{llvm,clang} so that cmake could find them. 
However, the cmake code used relative path to the symlink and not to the real path -- so it was looking for the library in /usr/local/lib/libLLVMDemangle.a instead of /usr/local/llvm90/lib/libLLVMDemangle.a .

Now the CI has the cmake path /usr/local/llvm90/cmake added, however, I forgot to remove the symlink, which lead to it still looking in the wrong directory.

After removing the superfluous symlink: https://build.kde.org/job/Applications/job/umbrello/job/stable-kf5-qt5%20FreeBSDQt5.15/22/ 


mfg Tobias