Created attachment 289871 [details] build log After updating openscenegraph from 2.8.3 to 3.0.1, flightgear fails to re-emerge for me, printing the following error message: hud.cxx: In function ‘void fgUpdateHUDVirtual(osg::State*)’: hud.cxx:350:74: error: ‘gluPerspective’ was not declared in this scope hud.cxx:363:64: error: ‘gluLookAt’ was not declared in this scope hud.cxx: In function ‘void fgUpdateHUD(osg::State*, GLfloat, GLfloat, GLfloat, GLfloat)’: hud.cxx:399:46: error: ‘gluOrtho2D’ was not declared in this scope Full build log attached. Some extra infos, in case they are useful for you: # qfile -v /usr/include/GL/glu.h media-libs/mesa-7.11 (/usr/include/GL/glu.h) # grep -r gluOrtho2D /usr/include/ /usr/include/GL/glu_mangle.h:#define gluOrtho2D mgluOrtho2D /usr/include/GL/glu.h:GLAPI void GLAPIENTRY gluOrtho2D ([...]); # cd /tmp/portage/games-simulation/flightgear-2.0.0/work/FlightGear-2.0.0 # cd src/Cockpit # x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H \ -I. -I../../src/Include -I../.. -I../../src -I/usr/local/include \ -march=amdfam10 -O2 -ggdb -pipe -D_REENTRANT -I/usr/include/SDL \ -D_GNU_SOURCE=1 -D_REENTRANT -E hud.cxx \ | grep '^#' | cut -d\" -f2 | sort -u | grep -i gl ../../src/Main/globals.hxx /usr/include/GL/glext.h /usr/include/GL/gl.h /usr/include/osg/GL /usr/include/osg/GL2Extensions /usr/include/osg/GLBeginEndAdapter /usr/include/osg/GLU /usr/include/osgUtil/GLObjectsVisitor /usr/include/simgear/math/SGLimits.hxx /usr/include/simgear/math/SGLineSegment.hxx /usr/include/simgear/math/SGTriangle.hxx So the build does include gl.h but not glu.h. The GLU header from osg doesn't have those symbols.
With what USE flags did you build openschenegraph?
I observed it as well, but it was easier to bump newer flightgear (2.4.0) than try to find proper place to fix this one.
I have seen this build failure too, trying to rebuild flightgear after upgrading to openscenegraph-3.0.1 Thanks to the bump to flightgear-2.4.0 the build now worked, but only after downgrading from subversion-1.7.0 to subversion-1.6.17-r7.
(In reply to comment #1) > With what USE flags did you build openschenegraph? [ebuild R ] dev-games/openscenegraph-3.0.1 USE="curl doc ffmpeg gif gtk jpeg jpeg2k openexr pdf png qt4 sdl svg tiff truetype xine zlib -debug -examples -fltk -fox -gdal -glut -itk -openinventor -osgapps -static-libs -vnc -wxwidgets -xrandr"
(In reply to comment #3) > I have seen this build failure too, trying to rebuild flightgear after > upgrading to openscenegraph-3.0.1 > > Thanks to the bump to flightgear-2.4.0 the build now worked, but only after > downgrading from subversion-1.7.0 to subversion-1.6.17-r7. Maybe it's worth using command line svn over libsvn apr connector afterall...
Hmm, can we forget about 2.0.0 and drop it in favour of 2.4?
(In reply to comment #6) > Hmm, can we forget about 2.0.0 and drop it in favour of 2.4? Fine with me. And as 2.0.0 wasn't stable on any arch either, there should be noone complaining about loss of a stable version either.
2.0.0 now gone.