FS#20375 - ktorrent won't compile

Attached to Project: Arch Linux
Opened by Roman Kosenko (kite) - Wednesday, 04 August 2010, 20:28 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 05 August 2010, 12:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
add boost in make dependences in ktorrent

Additional info:
$ pacman -Q ktorrent boost-libs
ktorrent 4.0.1-1
boost-libs 1.43.0-1

Steps to reproduce:
$ cd ktorrent && makepkg
...
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:910 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
/usr/share/apps/cmake/modules/FindBoost.cmake:24 (include)
plugins/syndication/CMakeLists.txt:2 (find_package)
...
This task depends upon

Closed by  Ronald van Haren (pressh)
Thursday, 05 August 2010, 12:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.0.2
Comment by Ionut Biru (wonder) - Wednesday, 04 August 2010, 21:08 GMT
we split boost into boost-libs and boost.

boost-libs contains runtime
boost contains headers.

so you actually need to have boost in makedepends
Comment by Ronald van Haren (pressh) - Wednesday, 04 August 2010, 21:41 GMT
I created the package in a clean chroot without problems, but I'll check with the update
Comment by Jan de Groot (JGC) - Wednesday, 04 August 2010, 22:03 GMT
Could it be that cmake detects the libs and tries to use it while headers aren't present? If you built from a clean chroot, then you wouldn't have boost-libs installed.
Comment by Ronald van Haren (pressh) - Thursday, 05 August 2010, 09:29 GMT
seems the ktorrent package was actually built before boost was splitted so the makedep on kdepimlibs isn't enough anymore to have the required boost headers.

Loading...