g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I. -o VoxelStepper.o ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp: In member function ‘QList<SyntopiaCore::GLEngine::Object3D*>* SyntopiaCore::GLEngine::VoxelStepper::setupRay(SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, double&)’: ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp:125:26: error: cannot convert ‘bool’ to ‘QList<SyntopiaCore::GLEngine::Object3D*>*’ in return if (!found) return false; ^~~~~ make[1]: *** [Makefile.structuresynth:615: VoxelStepper.o] Error 1 ----------------------------------------------------------------- This is an unstable amd64 chroot image (named plasma-abi32+64_20170325-144619) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.9 [icedtea-bin-7] *) IcedTea JDK 3.3.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-bin-7 [2] icedtea-bin-8 system-vm [3] jamvm
Created attachment 469262 [details] emerge-info.txt
Created attachment 469264 [details] emerge-history.txt
Created attachment 469266 [details] environment
Created attachment 469268 [details] etc.portage.tbz2
Created attachment 469270 [details] media-gfx:meshlab-1.3.3:20170405-024229.log
Same here, Big problem is that VoxelStepper.cpp is in dos format: AFAIK patches can not be applied on dos formated file. The only solution I can think of is manual building... And it also what I'm about to do!
Created attachment 488566 [details, diff] Unapplicable patch for VoxelStepper.cpp ATEOTD here's how to do it manually with minimal efforts: 1) emerge -1 =media-gfx/meshlab-1.3.3 2) ^C the emerge process after src-prepare() has achieved to have all files unpacked but also soon enough before that compile bug occurs. 3) Patch manually as described in the attached patch (which should not be applied straight forward) as in: nano -w /var/tmp/portage/media-gfx/meshlab-1.3.3/work/meshlab/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 4) Resume the emerge process: FEATURES=keepwork emerge --resume Et voilà!
Forgotten point: '-std=c++11' is required in CXXFLAGS because of >gcc:5
(In reply to CaptainBlood from comment #8) > Forgotten point: > '-std=c++11' is required in CXXFLAGS because of >gcc:5 Doesn't seem required here finally... Sorry!
commit 63a246e7653f2940e57e4c8a2cfb7394aca6269a Author: Amy Liffey <amynka@gentoo.org> Date: Fri Aug 11 14:41:07 2017 +0200 media-gfx/meshlab: EAPI 6 bump ,fix bug #614776 - Add patch structuresynth build failure Submitted-by: CaptainBlood <luc_pierard_de_maujouy@yahoo.fr> - Fix slot glew Should work now can you confirm? Thank you