Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Andrea Scarpino (BaSh)
Tuesday, 18 March 2014, 16:57 GMT
Reason for closing:  Fixed
Comment by Andrea Scarpino (BaSh) - Tuesday, 18 March 2014, 16:56 GMT
This is weird. I don't get how I built it

Loading...