Fails like this: AutoMoc subprocess error ------------------------ The moc process failed to compile "SRC:/plugins/CessnaGUIPlugin.hh" into "SRC:_build/plugins/CessnaGUIPlugin_autogen/EWIEGA46WW/moc_CessnaGUIPlugin.cpp" Command ------- /usr/lib64/qt5/bin/moc -DCessnaGUIPlugin_EXPORTS -DHAVE_OPENGL -DLIBBULLET_VERSION=2.85 -DLIBBULLET_VERSION_GT_282 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG "-DQT_TESTCASE_BU ILDDIR=\"/var/tmp/portage/sci-electronics/gazebo-10.1.0/work/gazebo-10.1.0_build\"" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/var/tmp/portage/sci-electronics/gazebo-10.1.0/work/g azebo-10.1.0/test/gtest/include -I/var/tmp/portage/sci-electronics/gazebo-10.1.0/work/gazebo-10.1.0_build -I/usr/include/libusb-1.0 -I/var/tmp/portage/sci-electronics/gazebo -10.1.0/work/gazebo-10.1.0 -I/usr/include/ignition/msgs1 -I/usr/include/ignition/transport4 -I/usr/include/ignition/math4 -I/usr/include/sdformat-6.2 -I/usr/include/OGRE/RTShaderSystem -I/usr/include/OGRE -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE/Overlay -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/uuid -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtTest -I/usr/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed --include /var/tmp/portage/sci-electronics/gazebo-10.1.0/work/gazebo-10.1.0_build/plugins/CessnaGUIPlugin_autogen/moc_predefs.h -p plugins -o /var/tmp/portage/sci-electronics/gazebo-10.1.0/work/gazebo-10.1.0_build/plugins/CessnaGUIPlugin_autogen/EWIEGA46WW/moc_CessnaGUIPlugin.cpp /var/tmp/portage/sci-electronics/gazebo-10.1.0/work/gazebo-10.1.0/plugins/CessnaGUIPlugin.hh Output ------ usr/include/tbb/tbb_profiling.:25: Parse error at "{" Quick google search reveals that it's a known bug in then QT 5.14 moc: https://bugreports.qt.io/browse/QTBUG-80990 Reproducible: Always
Please attach the entire build log to this bug report.
Please post your `emerge --info' output in a comment.
Build log is too large, and (just as emerge --info) not relevant. This is an upstream bug in QT (see URL).
Created attachment 603342 [details, diff] patch for gazebo from official gazebo10 branch
The main gazebo10 branch doesn't need qtmoc.patch. Hovewer as the were no new official gazebo release i am attaching it here just in case.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15d62364ce7eed77f358a03c5724083ea2894eda commit 15d62364ce7eed77f358a03c5724083ea2894eda Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2020-01-21 16:17:44 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2020-01-21 18:27:48 +0000 sci-electronics/gazebo: fix build with qt 5.14. Patch from upstream provided by Nikita Shubin. Closes: https://bugs.gentoo.org/704988 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org> sci-electronics/gazebo/files/qtmoc.patch | 44 +++++++++++++++++++++++++++++ sci-electronics/gazebo/gazebo-10.1.0.ebuild | 4 +-- 2 files changed, 46 insertions(+), 2 deletions(-)