[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#873461: krita: FTBFS on armel: OpenGL/EGL-related errors



On Sun, Aug 27, 2017 at 10:17:37PM -0400, Aaron M. Ucko wrote:
> Source: krita
> Version: 1:3.2.1+dfsg-1
> Severity: important
> Justification: fails to build from source
> 
> Builds of krita for armel have been failing with OpenGL-related
> compilation errors, as detailed at
> https://buildd.debian.org/status/fetch.php?pkg=krita&arch=armel&ver=1%3A3.2.1%2Bdfsg-1&stamp=1503696867&raw=0
> and (very partially) excerpted below.  It may be relevant that Qt here
> appears to be using EGL rather than traditional OpenGL.  Could you
> please take a look?
> 
> Thanks!
> 
>   /<<BUILDDIR>>/krita-3.2.1+dfsg/libs/ui/opengl/kis_opengl_canvas2.cpp:106:5: error: 'QOpenGLFunctions_2_1' does not name a type; did you mean 'QOpenGLFunctions'?
>        QOpenGLFunctions_2_1 *glFn201;
>   [...]
>   /<<BUILDDIR>>/krita-3.2.1+dfsg/libs/ui/opengl/kis_opengl_canvas2.cpp:398:12: error: 'GL_LINE_SMOOTH_HINT' was not declared in this scope
>        glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
>               ^~~~~~~~~~~~~~~~~~~
>   /<<BUILDDIR>>/krita-3.2.1+dfsg/libs/ui/opengl/kis_opengl_canvas2.cpp:398:12: note: suggested alternative: 'GL_LINE_STRIP'
>        glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
>               ^~~~~~~~~~~~~~~~~~~
>               GL_LINE_STRIP
>   /<<BUILDDIR>>/krita-3.2.1+dfsg/libs/ui/opengl/kis_opengl_canvas2.cpp:400:14: error: 'GL_COLOR_LOGIC_OP' was not declared in this scope
>        glEnable(GL_COLOR_LOGIC_OP);
>                 ^~~~~~~~~~~~~~~~~
>   /<<BUILDDIR>>/krita-3.2.1+dfsg/libs/ui/opengl/kis_opengl_canvas2.cpp:400:14: note: suggested alternative: 'GL_COLORDODGE_NV'
>        glEnable(GL_COLOR_LOGIC_OP);
>                 ^~~~~~~~~~~~~~~~~
>   [...]


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.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: