FS#39528 - [libkolab] failure to build, missing libkolab_static
Attached to Project:
Arch Linux
Opened by Kevin Mihelich (kmihelich) - Tuesday, 18 March 2014, 16:28 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 18 March 2014, 16:57 GMT
Opened by Kevin Mihelich (kmihelich) - Tuesday, 18 March 2014, 16:28 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 18 March 2014, 16:57 GMT
|
Details
Description: When building with -DBUILD_TESTS=OFF, this
disables building libkolab_static
(libkolab-0.5.0/CMakeLists.txt, line 156).
However, the utils need that library (libkolab-0.5.0/utils/CMakeLists.txt): target_link_libraries(kolabformatchecker kolab_static ${Boost_LIBRARIES}) Building as-is results in a build failure when linking: Linking CXX executable kolabformatchecker /usr/bin/ld: cannot find -lkolab_static collect2: error: ld returned 1 exit status Removing -DBUILD_TESTS=OFF from the cmake run solves the problem. Additional info: * package version: 0.5.0-1 Steps to reproduce: Build using a clean chroot. |
This task depends upon
Comment by Andrea Scarpino (BaSh) -
Tuesday, 18 March 2014, 16:56 GMT
This is weird. I don't get how I built it