On 16-11-2014 10:24, Fernando de Oliveira wrote: > On 16-11-2014 03:02, Bruce Dubbs wrote: >> Bruce Dubbs wrote: >>> Bruce Dubbs wrote: >>>> Bruce Dubbs wrote: >>>>> Fernando de Oliveira wrote:
>>> >>> AUTOGEN: error: process for >>> /tmp/kdepim/kdepim-4.14.3/build/kleopatra/tabwidget.moc failed: >>> usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse >>> error at "BOOST_JOIN" >>> >>> Now why the first / is missing and the last p from >>> has_binary_operator.hpp, I have no idea. >>> >>> I tried a couple of work-arounds suggested, but couldn't get it to >>> work. > > I forgot this, and after hours, remembered having a log with --debug=v, > from yesterday. Found it and immediately remembered. > > Found a workaround at > > https://stackoverflow.com/questions/15455178/qt4-cgal-parse-error-at-boost-join > > and did it: > > $ diff -Naur \ > /usr/include/boost/type_traits/detail/has_binary_operator.hpp.orig \ > /usr/include/boost/type_traits/detail/has_binary_operator.hpp > --- /usr/include/boost/type_traits/detail/has_binary_operator.hpp.orig > 2014-11-16 07:56:40.753957943 -0300 > +++ /usr/include/boost/type_traits/detail/has_binary_operator.hpp > 2014-11-16 09:45:26.592428087 -0300 > @@ -5,7 +5,7 @@ > // http://www.boost.org/LICENSE_1_0.txt). > // > // See http://www.boost.org/libs/type_traits for most recent version > including documentation. > - > +#ifndef Q_MOC_RUN > #include <boost/config.hpp> > #include <boost/type_traits/ice.hpp> > #include <boost/type_traits/integral_constant.hpp> > @@ -227,3 +227,4 @@ > #endif > > #include <boost/type_traits/detail/bool_trait_undef.hpp> > +#endif > > Now it builds successfully. > > No idea how hurtful this is for the system and for kdepim. That is why I > don't state I have the solution. > > The original header is identical to the one of boost-1.46.0: > > $ diff -Naur \ > boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp \ > boost_1_56_0/boost/type_traits/detail/has_binary_operator.hpp > $ > >>> >>> I'm beginning to think that we do need to revert back to boost-1.56, at >>> least until this problem is solved. > Also only remembered today Armin's suggestion (apologies and thanks) > > -DKDE4_BUILD_TESTS=OFF > > I used it with > > -DKDEPIM_BUILD_MOBILE=OFF > > But no success. > > Think we should include this and Armin's suggestion to all KDE. But you > KDE users and maintainers know better than me. > > Now, I will see what happens with the rest of KDE, while I wait opinions > about that workaround. > Completed building KDE, all, including kleopatra, seems to be working fine. Now, will start trying to fix the tickets. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page