Created attachment 675415 [details] build.log.xz [...] /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp: In member function ‘void* WebCore::PlatformDisplayX11::visual() const’: /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5: error: ‘XVisualInfo’ was not declared in this scope; did you mean ‘VisualID’? 132 | XVisualInfo visualTemplate; | ^~~~~~~~~~~ | VisualID /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:133:5: error: ‘visualTemplate’ was not declared in this scope 133 | visualTemplate.screen = DefaultScreen(m_display); | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:18: error: ‘visualInfo’ was not declared in this scope; did you mean ‘visual’? 136 | XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount); | ^~~~~~~~~~ | visual /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:57: error: ‘VisualScreenMask’ was not declared in this scope 136 | XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/net-libs/webkit-gtk-2.30.3/work/webkitgtk-2.30.3/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:31: error: ‘XGetVisualInfo’ was not declared in this scope 136 | XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount); | ^~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: net-libs/webkit-gtk-2.30.3::gentoo failed (compile phase): * ninja -v -j1 -l0 failed
Created attachment 675418 [details] emerge --info
Same on arm64, thanks!
For users hitting this - you shouldn't be disabling USE=opengl. Of course this is still a valid report and needs fixing one way or another (patching it or removing IUSE=opengl or maybe some REQUIRED_USE), but users really really should NOT disable opengl on this package unless they run this on an embedded device that has absolutely no OpenGL support whatsoever somehow. And I assume this report is purely result of arch testing, not actually trying to use it without opengl in practice
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afcb4c9522c9d14dc54ca1d35b0d45dadf6b12f3 commit afcb4c9522c9d14dc54ca1d35b0d45dadf6b12f3 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-11-27 20:52:15 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-11-27 20:54:15 +0000 net-libs/webkit-gtk: fix discouraged USE="-opengl" build with USE=X Closes: https://bugs.gentoo.org/757261 Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org> .../webkit-gtk/files/2.30.3-fix-noGL-build.patch | 27 ++++++++++++++++++++++ net-libs/webkit-gtk/webkit-gtk-2.30.3.ebuild | 1 + 2 files changed, 28 insertions(+)
Hmm, interesting... I had USE='opengl' in make.conf but it was not respected by the ebuild. However when I build it with "USE='opengl' emerge -1 webkit-gtk" opengl gets selected correctly and the build succeeds.
Weird, maybe you have some sort of a package.use.mask in /etc/portage for this or something?
D'oh... yes. I had net-libs/webkit-gtk -geolocation -opengl -webgl set in /etc/portage/package.use/myuse.