Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615360 - net-libs/webkit-gtk-2.16.1 USE="-opengl -egl -webgl " - work/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:41:72: error: ‘TextureMapperGL’ has not been declared
Summary: net-libs/webkit-gtk-2.16.1 USE="-opengl -egl -webgl " - work/webkitgtk-2.16.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-12 13:33 UTC by stqn
Modified: 2019-02-18 22:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.99 KB, text/plain)
2017-04-12 13:33 UTC, stqn
Details
build.log.gz (build.log.gz,115.83 KB, application/gzip)
2017-04-12 13:37 UTC, stqn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stqn 2017-04-12 13:33:28 UTC
Created attachment 469806 [details]
emerge --info

Hello

The update to webkit-gtk-2.16.1 failed with several build errors related to GL, like this one:
In file included from /var/tmp/portage/net-libs/webkit-gtk-2.16.1/work/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:32:0:
/var/tmp/portage/net-libs/webkit-gtk-2.16.1/work/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:41:72: error: ‘TextureMapperGL’ has not been declared
     TextureMapperPlatformLayerBuffer(GLuint textureID, const IntSize&, TextureMapperGL::Flags);

I assume this has something to do with the three USE flags I have disabled in my package.use:
net-libs/webkit-gtk -egl -opengl -webgl
Comment 1 stqn 2017-04-12 13:37:04 UTC
Created attachment 469808 [details]
build.log.gz
Comment 2 stqn 2017-04-12 14:46:32 UTC
After re-enabling the three USE flags egl, opengl and webgl, the build was successful.
Comment 3 Mart Raudsepp gentoo-dev 2019-02-18 22:25:46 UTC
Things regarding GL USE flags had been reported against newer versions too. This shouldn't be a problem anymore in current versions. Currently opengl is required and it is a very bad idea to disable it even once it is allowed again after upstream bugs are fixed; only in very specific cases gles2 is an alternative, if the system in question really really doesn't do full GL.