GNOME Bugzilla – Bug 739752
Workaround build failures with boost>=1.57 and moc
Last modified: 2015-06-10 12:01:00 UTC
Without the patch I get the following error message when building the Qt4 version: [ 5%] Automatic moc for target capstest cd /var/tmp/paludis/build/media-libs-qt-gstreamer-1.2.0/work/build/tests/auto && /usr/bin/cmake -E cmake_autogen /var/tmp/paludis/bui ld/media-libs-qt-gstreamer-1.2.0/work/build/tests/auto/CMakeFiles/capstest_automoc.dir/ None Generating capstest.moc usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" AUTOGEN: error: process for /var/tmp/paludis/build/media-libs-qt-gstreamer-1.2.0/work/build/src/QGlib/connect.moc failed: usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" moc failed... src/QGlib/CMakeFiles/QtGLib_automoc.dir/build.make:52: recipe for target 'src/QGlib/CMakeFiles/QtGLib_automoc' failed make[2]: Leaving directory '/var/tmp/paludis/build/media-libs-qt-gstreamer-1.2.0/work/build' make[2]: *** [src/QGlib/CMakeFiles/QtGLib_automoc] Error 1 CMakeFiles/Makefile2:311: recipe for target 'src/QGlib/CMakeFiles/QtGLib_automoc.dir/all' failed
Created attachment 290126 [details] [review] Patch to fix build failure with boost >= 1.57
*** Bug 743602 has been marked as a duplicate of this bug. ***
Ping? I've posted this patch almost half a year ago...
Sorry for the delay, qt-gstreamer isn't really properly maintained. I've pushed this now: commit 1d2edcc9562c8826fd17b5233691f4a313ab71c7 Author: Heiko Becker <heirecka@exherbo.org> Date: Fri Nov 7 00:11:02 2014 +0100 Workaround build failures with boost>=1.57 and moc Otherwise I get the following error message: 'usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"'. See https://bugreports.qt-project.org/browse/QTBUG-22829 for details. The old workaround to define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED doesn't seem to work here. https://bugzilla.gnome.org/show_bug.cgi?id=739752