Summary: | app-office/abiword-plugins-2.6.0 dependency issue (dev-libs/boost) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Merkle <gentoo-bugzilla> |
Component: | Current packages | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jaak, pacho, srrijkers |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Merkle
2008-04-04 21:53:22 UTC
the plugins checks are broken, they automagically detect most dependencies but it should still work fine for boost detection. What happens if you have USE="-wmf" ? I have USE="bzip2 gnome jabber jpeg pdf readline svg" and it builds fine with boost installed and USE="-cxx". USE="-bzip2* -cxx% -debug -gnome -grammar -jabber% -jpeg* -libgda -math -ots -pdf* -readline* -svg* -thesaurus -wmf* -wordperfect" emerge =app-office/abiword-plugins-2.6.0
...
> In file included from ./OXML_Element.h:29,
> from OXML_Element.cpp:24:
> ./OXML_Style.h:36:32: error: boost/shared_ptr.hpp: No such file or directory
> ./OXML_Style.h:68: error: 'boost' has not been declared
> ./OXML_Style.h:68: error: expected initializer before '<' token
...
The ./configure looks good with "--without-boost" in it:
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-all --with-abiword=/var/tmp/portage/app-office/abiword-plugins-2.6.0/work/abiword-2.6.0 --without-boost --disable-debug --with-bz2abw --without-abigoffice --without-abigrammar --without-abicollab --with-jpeg --without-gda --without-abimathview --without-ots --with-pdf --with-abicommand --with-librsvg --without-aiksaurus --with-wmf --without-wordperfect --without-psion --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
Have a look at wp/impexp/OpenXML/common/xp/, there are a lot of headers which include <boost/*> files
1.) Maybe app-office/abiword-plugins could also use the "boost" USeflag to enable/disable boost support 2.) I wrote a bug to the abiword bugzilla: http://bugzilla.abisource.com/show_bug.cgi?id=11520 (In reply to comment #2) > > > Have a look at wp/impexp/OpenXML/common/xp/, there are a lot of headers which > include <boost/*> files > As a workaround it builds when you pass also --without-OpenXML to configure. Maybe this could be used in the ebuild together with the cxx USE flag. But I think as well that in principle it's an upstream bug. which version of boost and libgsf do you have btw ? I'm going with the cxx -> openxml solution because it is indeed a dep to enable the plugin as stated in plugin.m4. AFAIK the tcp component of abicollab depends on boost as well (ABICOLLAB_TCP_LIBS="$BOOST_THREAD_LIB" from abicollab's plugin.m4). However, currently the abicollab tcp backend doesn't really build anyway because of a missing dep on dev-cpp/asio (boost 1.35.0 includes asio). Perhaps a EAPI=1 +cxx USE-flag would be in order? asio won't be added to the deps anyway, see bug #216182 for that. If you have it installed it will probably be autodetected even though with -cxx it shouldn't. Looks like app-office/abiword-2.8.6 ebuild only depends on boost when affected plugins are enabled, would this be solved then? (In reply to comment #8) > Looks like app-office/abiword-2.8.6 ebuild only depends on boost when affected > plugins are enabled, would this be solved then? > Feel free to reopen if not :-) |