WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301901
[WPE] WPEPlatform/wpe/wpe-platform.h:41:10: fatal error: wpe/WPEEnumTypes.h: No such file or directory
https://bugs.webkit.org/show_bug.cgi?id=301901
Summary
[WPE] WPEPlatform/wpe/wpe-platform.h:41:10: fatal error: wpe/WPEEnumTypes.h: ...
Fujii Hironori
Reported
2025-11-03 19:12:44 PST
[WPE] WPEPlatform/wpe/wpe-platform.h:41:10: fatal error: wpe/WPEEnumTypes.h: No such file or directory I see a build error with
302505@main
WPE release builds. I think
302078@main
fixed the problem. But, it still happens. [2659/9885] Building CXX object Source/WebKit/WPEPlatform/wpe/drm/CMakeFiles/WPEPlatformDRM.dir/WPEDisplayDRM.cpp.o FAILED: [code=1] Source/WebKit/WPEPlatform/wpe/drm/CMakeFiles/WPEPlatformDRM.dir/WPEDisplayDRM.cpp.o /usr/bin/g++-14 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WPE\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_bmalloc -DWPE_PLATFORM_MODULE_DIR=\"/usr/local/lib64/wpe-platform-2.0/modules\" -D_GLIBCXX_ASSERTIONS=1 -I/home/fujii/webkit/wc/WebKitBuild/WPE/Release -I/home/fujii/webkit/wc/WebKitBuild/WPE/Release/DerivedSources/WPEPlatform -I/home/fujii/webkit/wc/WebKitBuild/WPE/Release/DerivedSources/WPEPlatform/wpe -I/home/fujii/webkit/wc/Source/WebKit/WPEPlatform -I/home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe -I/home/fujii/webkit/wc/WebKitBuild/WPE/Release/WTF/Headers -I/home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/atk -I/home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/drm -I/home/fujii/webkit/wc/WebKitBuild/WPE/Release/bmalloc/Headers -isystem /usr/include/atk-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /home/fujii/webkit/webkit-jhbuild/install/include/sysprof-6 -isystem /usr/include/libdrm -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/libmanette -isystem /usr/include/gio-unix-2.0 -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-subobject-linkage -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -fno-omit-frame-pointer -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -ffile-prefix-map=/home/fujii/webkit/wc=. -O3 -DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/home/fujii/webkit/webkit-jhbuild/install/include/sysprof-6 -pthread -I/usr/include/gio-unix-2.0 -MD -MT Source/WebKit/WPEPlatform/wpe/drm/CMakeFiles/WPEPlatformDRM.dir/WPEDisplayDRM.cpp.o -MF Source/WebKit/WPEPlatform/wpe/drm/CMakeFiles/WPEPlatformDRM.dir/WPEDisplayDRM.cpp.o.d -o Source/WebKit/WPEPlatform/wpe/drm/CMakeFiles/WPEPlatformDRM.dir/WPEDisplayDRM.cpp.o -c /home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp In file included from /home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.h:35, from /home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:27: /home/fujii/webkit/wc/Source/WebKit/WPEPlatform/wpe/wpe-platform.h:41:10: fatal error: wpe/WPEEnumTypes.h: No such file or directory 41 | #include <wpe/WPEEnumTypes.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2025-11-03 19:31:19 PST
These GI_INTROSPECT don't have a dependency to WPEEnumTypes.h.
https://github.com/WebKit/WebKit/blob/e77e543069bd20a7fd6585ea9c4792c232715b20/Source/WebKit/WPEPlatform/CMakeLists.txt#L208-L263
This can be reproducible with
> ./Tools/Scripts/build-webkit --wpe --release --makeargs=WPEPlatformWayland
Fujii Hironori
Comment 2
2025-11-03 20:08:19 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53370
EWS
Comment 3
2025-11-04 01:44:57 PST
Committed
302525@main
(fc4bb3101b4b): <
https://commits.webkit.org/302525@main
> Reviewed commits have been landed. Closing PR #53370 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