Re: Problem building libreoffice (4.1.0~rc2-1) with recent (1.54.0-2) boost libraries
[ CCing the - IMHO MIA, though - clucene "maintainer" and it's co-maintainer ]
Hi,
On Tue, Jul 09, 2013 at 02:14:32PM +0200, Roderich Schupp wrote:
> FYI, just to save you some time to investigate:
>
> I just tried to build libreoffice with the latest (1.54.0-2) boost
> libraries in Debian
> (just s/1.53/1.54/ in debian/{config, rules} and here we go).
> The build failed somewhere in the HelpCompiler component with lots of
> error messages
> basically caused by BOOST_NOEXCEPT not being defined.
OK. Good that the boost transition planned is going to use 1.53.. :)
> Turns out the culprit is libclucene-dev (2.3.3.4-2):
>
> * BOOST_NOEXCEPT is defined in boost/config/suffix.hpp
> * libclucene-dev (B-D of libreoffice) contains a large set of boost
> headers
> below /usr/include/CLucene/ext/boost
> (including /usr/include/CLucene/ext/boost/config/suffix.hpp)
> * worse, libclucene-dev's pkgconfig file adds -I/usr/include/CLucene/ext
> to CFLAGS
>
> Now some "top level" boost headers include (over a long chain of nested
> includes)
> boost/config/suffix.hpp, but because of the -I/usr/include/CLucene/ext
> they get this file
> from there and not the "real" boost/config/suffix.hpp from
> libboost1.54-dev.
> If I remove the whole /usr/include/CLucene/ext the build succeeds.
> Note that this problem is not specific to libreoffice 4.1.0~rc2-1, applies
> at least for 4.1.0~rc1-1, too. Also note that I see no reason why
> libclucene-dev
> does install these headers: no "proper" CLucene header contains any
> "#include <boost/...>".
I've no idea either, that should proably better asked to the clucene "maintainer".
Regards,
Rene
Reply to: