Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 588914

Summary: media-gfx/digikam:5 with dev-qt/qtgui[gles2] fails to build - core/utilities/presentation/opengl/presentationgl.cpp:289:22: error: ‘glClearDepth’ was not declared in this scope
Product: Gentoo Linux Reporter: Erik Zeek <zeekec>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde, luisav.ferreira
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info

Description Erik Zeek 2016-07-15 22:32:10 UTC
Created attachment 440836 [details]
Build log

A bunch of (apparently) GL related issues (e.g. ‘glClearDepth’ was not declared in this scope).

/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::initializeGL()’:
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:289:22: error: ‘glClearDepth’ was not declared in this scope
     glClearDepth(1.0f);
                      ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::paintGL()’:
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:313:20: error: ‘glLoadIdentity’ was not declared in this scope
     glLoadIdentity();
                    ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:315:18: error: ‘GL_PROJECTION’ was not declared in this scope
     glMatrixMode(GL_PROJECTION);
                  ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:315:31: error: ‘glMatrixMode’ was not declared in this scope
     glMatrixMode(GL_PROJECTION);
                               ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:318:18: error: ‘GL_MODELVIEW’ was not declared in this scope
     glMatrixMode(GL_MODELVIEW);
                  ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::resizeGL(int, int)’:
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:337:18: error: ‘GL_PROJECTION’ was not declared in this scope
     glMatrixMode(GL_PROJECTION);
                  ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:337:31: error: ‘glMatrixMode’ was not declared in this scope
     glMatrixMode(GL_PROJECTION);
                               ^
/gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:338:20: error: ‘glLoadIdentity’ was not declared in this scope
     glLoadIdentity();
                    ^
Comment 1 Erik Zeek 2016-07-15 22:32:46 UTC
Created attachment 440838 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2016-07-15 22:36:37 UTC
Reason is Qt5 built with USE=gles2. See also bug 585334
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-08-10 17:59:04 UTC
This is one for upstream.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-10-20 21:00:40 UTC
We're forcing opengl from 5.2.0 now.