WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
262169
[GTK] build breaks with -DUSE_OPENGL_OR_ES=OFF: epoxy/egl.h no such file or directory
https://bugs.webkit.org/show_bug.cgi?id=262169
Summary
[GTK] build breaks with -DUSE_OPENGL_OR_ES=OFF: epoxy/egl.h no such file or d...
Thomas Devoogdt
Reported
2023-09-27 01:10:08 PDT
This new bug report was proposed in
https://bugs.webkit.org/show_bug.cgi?id=261637#c4
. webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:39:10: fatal error: epoxy/egl.h: No such file or directory 39 | #include <epoxy/egl.h> | ^~~~~~~~~~~~~ If USE_OPENGL_OR_ES=OFF, then we can't assume that EGL will be present. So the include + all it's usages should be guarded with e.g. USE(EGL).
Attachments
Add attachment
proposed patch, testcase, etc.
Thomas Devoogdt
Comment 1
2023-09-27 01:12:10 PDT
Note that the same does apply to AcceleratedSurfaceDMABuf.
Thomas Devoogdt
Comment 2
2023-09-28 04:37:00 PDT
It seems that commit
https://commits.webkit.org/265188@main
introduced the problems. The USE(GBM) checks were dropped but should have been replaced by USE(EGL).
Thomas Devoogdt
Comment 3
2023-09-28 06:53:06 PDT
PR: main:
https://github.com/WebKit/WebKit/pull/18346
2.42:
https://github.com/WebKit/WebKit/pull/18347
EWS
Comment 4
2023-09-28 11:22:40 PDT
Committed
268598@main
(c124153d271b): <
https://commits.webkit.org/268598@main
> Reviewed commits have been landed. Closing PR #18346 and removing active labels.
EWS
Comment 5
2023-09-29 08:03:11 PDT
Committed
266719.76@bugfix/USE_EGL-2.42
(b751733c75f7): <
https://commits.webkit.org/266719.76@bugfix/USE_EGL-2.42
> Reviewed commits have been landed. Closing PR #18347 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug