[Pkg-crosswire-devel] Bug#718374: FTBFS: Could not find CLucene.
Rene Engelhard
rene at debian.org
Tue Jul 30 22:11:34 BST 2013
Package: bibletime
Version: 2.9.1-2
Severity: serious
Tags: patch
Hi,
bibletime fails to build with the recently uploaded clucene 2.x:
[...]
-- Detecting C compiler ABI info - done
-- Setting up build environment for BibleTime version 2.9.1
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.5", minimum required is "4.5.0")
-- Using DBUS
-- Found CLucene library: /usr/lib/x86_64-linux-gnu/libclucene-core.so
-- Found CLucene include dir: /usr/include
-- CLucene library dir not found.
CMake Error at cmake/FindCLucene.cmake:127 (MESSAGE):
Could not find CLucene.
Call Stack (most recent call first):
CMakeLists.txt:79 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo returned exit code 1
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
This is because it's looking for clucene-config.h and doesn't find it -
and thus is the case because it doesn't look in the multiarch library dir.
Adding /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE} as in the attached patch
fixes it.
Regards,
Rene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bibletime.diff
Type: text/x-diff
Size: 1701 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20130730/e193710e/attachment.diff>
More information about the Pkg-crosswire-devel
mailing list