Source: openmw
Version: 0.43.0-2
Severity: important

https://buildd.debian.org/status/package.php?p=openmw&suite=sid

...
/<<PKGBUILDDIR>>/components/sceneutil/lightmanager.cpp: In member function 
'void SceneUtil::LightStateAttribute::applyLight(GLenum, const osg::Light*) 
const':
/<<PKGBUILDDIR>>/components/sceneutil/lightmanager.cpp:78:34: error: 
'GL_AMBIENT' was not declared in this scope
             glLightfv( lightNum, GL_AMBIENT,               
light->getAmbient().ptr() );
                                  ^~~~~~~~~~
/<<PKGBUILDDIR>>/components/sceneutil/lightmanager.cpp:78:34: note: suggested 
alternative: 'GL_BLEND'
             glLightfv( lightNum, GL_AMBIENT,               
light->getAmbient().ptr() );
                                  ^~~~~~~~~~
                                  GL_BLEND
/<<PKGBUILDDIR>>/components/sceneutil/lightmanager.cpp:78:13: error: 
'glLightfv' was not declared in this scope
             glLightfv( lightNum, GL_AMBIENT,               
light->getAmbient().ptr() );
             ^~~~~~~~~
/<<PKGBUILDDIR>>/components/sceneutil/lightmanager.cpp:78:13: note: suggested 
alternative: 'mLights'
             glLightfv( lightNum, GL_AMBIENT,               
light->getAmbient().ptr() );
             ^~~~~~~~~
             mLights
...


Ideally it should be made working to build when Qt is using
OpenGL ES, bug if that is not possible it would be better to
avoid the FTBFS by changing the build dependency from
libqt5opengl5-dev to libqt5opengl5-desktop-dev.

Reply via email to