Summary: | net-libs/webkit-gtk-2.28.1: fails to compile when opengl flag is set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Heidelberg (okias) <david> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | it, reagentoo, sam, vilhelm.gray |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=208907 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 712260 | ||
Attachments: |
build.log
emerge --info |
Description
David Heidelberg (okias)
2020-04-17 11:48:03 UTC
I forgot to mention, system is up-to-date with ~amd64, rebuild yesterday. Please attach the full log when you get a chance. Created attachment 633712 [details]
build.log
Created attachment 633714 [details]
emerge --info
Same 1:1 error. Build log 1:1 as my build.log. Same filename wich fails to compile. Same arch. ~amd64. Folks, problem really exists. My use: ~ $ emerge -vp webkit-gtk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-libs/webkit-gtk-2.28.1:4/37::x-portage [2.26.4-r1:4/37::x-portage] USE="egl gstreamer introspection jpeg2k jumbo-build openg l (seccomp) wayland -X (-aqua) -coverage -geolocation -gles2-only -gnome-keyring -gtk-doc -libnotify -spell -test" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB With best wishes - Y.D. My custom ebuild differs one line from original ebuild. I added -DENABLE_MINIBROWSER=ON @maintainer(s): ping. Any further on this? I am getting the same error with USE="-X opengl" , but the way I usually emerge it is with USE="X opengl" , and this works fine. I wonder if the situation has improved with 2.28.2. I've gotten fail with USE="X opengl": [ebuild U ] net-libs/webkit-gtk-2.28.1 [2.26.4-r1] USE="X* egl geolocation gnome-keyring gstreamer introspection jpeg2k jumbo-build opengl (seccomp) wayland (-aqua) -coverage -gles2-only -gtk-doc -libnotify -spell -test" ... ninja: build stopped: subcommand failed. * ERROR: net-libs/webkit-gtk-2.28.1::gentoo failed (compile phase): * ninja -v -j3 -l0 failed USE="X opengl": /var/tmp/portage/net-libs/webkit-gtk-2.28.1/work/webkitgtk-2.28.1/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:33:10: fatal error: gst/gl/x11/gstgldisplay_x11.h: No such file or directory 33 | #include <gst/gl/x11/gstgldisplay_x11.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (In reply to reagentoo from comment #11) > fatal error: gst/gl/x11/gstgldisplay_x11.h: No such file or directory Your gstreamer installation probably needs USE="X" as well. (In reply to Sam James (sec padawan) from comment #9) > I wonder if the situation has improved with 2.28.2. I just tried 2.28.2 with the same results. USE="X opengl" : works USE="-X opengl" : /tmp/portage/net-libs/webkit-gtk-2.28.2/work/webkitgtk-2.28.2/Source/WebCore/platform/graphics/GLContext.cpp:66:19: error: use of undeclared identifier 'initializeOpenGLShims' This is the interesting part of GLContext.cpp : static bool initializeOpenGLShimsIfNeeded() { #if USE(OPENGL_ES) || USE(LIBEPOXY) return true; #else static bool initialized = false; static bool success = true; if (!initialized) { success = initializeOpenGLShims(); initialized = true; } return success; #endif } It looks like the shims are not needed if you use gles2 instead of opengl. ps. I have not tried this configuration yet. (In reply to cyrillic from comment #13) > (In reply to Sam James (sec padawan) from comment #9) > > I wonder if the situation has improved with 2.28.2. > > I just tried 2.28.2 with the same results. > > USE="X opengl" : works USE="-X -opengl" : also works In my system, I do not have X server. Pure wayland. webkit-gtk nice work without LARGE Xorg deps. Gstreamer also work. No problem with YouTube and VLC player. > > USE="-X opengl" : > /tmp/portage/net-libs/webkit-gtk-2.28.2/work/webkitgtk-2.28.2/Source/WebCore/ > platform/graphics/GLContext.cpp:66:19: error: use of undeclared identifier > 'initializeOpenGLShims' The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad04281bde21306bed8efe2fb68e6cc955bdab4 commit cad04281bde21306bed8efe2fb68e6cc955bdab4 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-05-09 19:16:08 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-05-09 20:39:33 +0000 net-libs/webkit-gtk: bump to 2.28.2, fix various build issues Fix build issue when ccache is found. Try to fix various opengl without X build issues. USE="gstreamer X" requires gst-plugins-base[X]. Includes a few patches that have been marked as 2.28.3 candidates by upstream. Closes: https://bugs.gentoo.org/717888 Bug: https://bugs.gentoo.org/712260 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org> net-libs/webkit-gtk/Manifest | 1 + .../webkit-gtk/files/2.28.2-fix-ppc64-JSC.patch | 59 +++++ .../files/2.28.2-fix-yelp-desktopless-build.patch | 53 ++++ .../files/2.28.2-opengl-without-X-fixes.patch | 53 ++++ .../files/2.28.2-use-gst-audiointerleave.patch | 55 ++++ net-libs/webkit-gtk/webkit-gtk-2.28.2.ebuild | 291 +++++++++++++++++++++ 6 files changed, 512 insertions(+) |