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
300551
[WPE][Qt6] Qt wpe build failed
https://bugs.webkit.org/show_bug.cgi?id=300551
Summary
[WPE][Qt6] Qt wpe build failed
Qing-wu.Li@leica-geosystems.com.cn
Reported
2025-10-11 04:38:59 PDT
Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpe_display_qtquick_get_type_once()': WPEDisplayQtQuick.cpp:(.text._ZL33wpe_display_qtquick_get_type_oncev+0x54): undefined reference to `g_type_register_static_simple' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpe_display_qtquick_class_intern_init(void*, void*)': WPEDisplayQtQuick.cpp:(.text._ZL37wpe_display_qtquick_class_intern_initPvS_+0x18): undefined reference to `g_type_class_add_private' WPEDisplayQtQuick.cpp:(.text._ZL37wpe_display_qtquick_class_intern_initPvS_+0x20): undefined reference to `g_type_class_peek_parent' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpeDisplayQtQuickCreateView(_WPEDisplay*)': WPEDisplayQtQuick.cpp:(.text._ZL27wpeDisplayQtQuickCreateViewP11_WPEDisplay+0x3c): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpeDisplayQtQuickConnect(_WPEDisplay*, _GError**)': WPEDisplayQtQuick.cpp:(.text._ZL24wpeDisplayQtQuickConnectP11_WPEDisplayPP7_GError+0x108): undefined reference to `WTF::CString::CString(char const*)' WPEDisplayQtQuick.cpp:(.text._ZL24wpeDisplayQtQuickConnectP11_WPEDisplayPP7_GError+0x13c): undefined reference to `WTF::CString::CString(char const*)' WPEDisplayQtQuick.cpp:(.text._ZL24wpeDisplayQtQuickConnectP11_WPEDisplayPP7_GError+0x284): undefined reference to `WTF::fastFree(void*)' WPEDisplayQtQuick.cpp:(.text._ZL24wpeDisplayQtQuickConnectP11_WPEDisplayPP7_GError+0x2b4): undefined reference to `WTF::fastFree(void*)' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpe_display_qtquick_init(_WPEDisplayQtQuick*, void*)': WPEDisplayQtQuick.cpp:(.text._ZL24wpe_display_qtquick_initP18_WPEDisplayQtQuickPv+0x20): undefined reference to `g_type_instance_get_private' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp.o: in function `wpe_display_qtquick_new': WPEDisplayQtQuick.cpp:(.text.wpe_display_qtquick_new+0x1c): undefined reference to `g_object_new' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp.o: in function `wpe_toplevel_qtquick_get_type_once()': WPEToplevelQtQuick.cpp:(.text._ZL34wpe_toplevel_qtquick_get_type_oncev+0x54): undefined reference to `g_type_register_static_simple' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp.o: in function `wpe_toplevel_qtquick_class_intern_init(void*, void*)': WPEToplevelQtQuick.cpp:(.text._ZL38wpe_toplevel_qtquick_class_intern_initPvS_+0x18): undefined reference to `g_type_class_add_private' WPEToplevelQtQuick.cpp:(.text._ZL38wpe_toplevel_qtquick_class_intern_initPvS_+0x20): undefined reference to `g_type_class_peek_parent' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp.o: in function `wpe_toplevel_qtquick_init(_WPEToplevelQtQuick*, void*)': WPEToplevelQtQuick.cpp:(.text._ZL25wpe_toplevel_qtquick_initP19_WPEToplevelQtQuickPv+0x20): undefined reference to `g_type_instance_get_private' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp.o: in function `wpe_toplevel_qtquick_new': WPEToplevelQtQuick.cpp:(.text.wpe_toplevel_qtquick_new+0x38): undefined reference to `g_type_check_instance_is_a' WPEToplevelQtQuick.cpp:(.text.wpe_toplevel_qtquick_new+0x60): undefined reference to `g_object_new' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_get_type_once()': WPEViewQtQuick.cpp:(.text._ZL30wpe_view_qtquick_get_type_oncev+0x54): undefined reference to `g_type_register_static_simple' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_class_intern_init(void*, void*)': WPEViewQtQuick.cpp:(.text._ZL34wpe_view_qtquick_class_intern_initPvS_+0x18): undefined reference to `g_type_class_add_private' WPEViewQtQuick.cpp:(.text._ZL34wpe_view_qtquick_class_intern_initPvS_+0x20): undefined reference to `g_type_class_peek_parent' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpeViewQtQuickRenderBuffer(_WPEView*, _WPEBuffer*, _WPERectangle const*, unsigned int, _GError**)': WPEViewQtQuick.cpp:(.text._ZL26wpeViewQtQuickRenderBufferP8_WPEViewP10_WPEBufferPK13_WPERectanglejPP7_GError+0x38): undefined reference to `g_object_ref_sink' WPEViewQtQuick.cpp:(.text._ZL26wpeViewQtQuickRenderBufferP8_WPEViewP10_WPEBufferPK13_WPERectanglejPP7_GError+0x48): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_init(_WPEViewQtQuick*, void*)': WPEViewQtQuick.cpp:(.text._ZL21wpe_view_qtquick_initP15_WPEViewQtQuickPv+0x20): undefined reference to `g_type_instance_get_private' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_new': WPEViewQtQuick.cpp:(.text.wpe_view_qtquick_new+0x38): undefined reference to `g_type_check_instance_is_a' WPEViewQtQuick.cpp:(.text.wpe_view_qtquick_new+0x60): undefined reference to `g_object_new' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_did_update_scene': WPEViewQtQuick.cpp:(.text.wpe_view_qtquick_did_update_scene+0x3c): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp.o: in function `wpe_view_qtquick_finalize(_GObject*)': WPEViewQtQuick.cpp:(.text._ZL25wpe_view_qtquick_finalizeP8_GObject+0x2c): undefined reference to `g_object_unref' WPEViewQtQuick.cpp:(.text._ZL25wpe_view_qtquick_finalizeP8_GObject+0x3c): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEQtView.cpp.o: in function `WPEQtView::~WPEQtView()': WPEQtView.cpp:(.text._ZN9WPEQtViewD2Ev+0x50): undefined reference to `g_signal_handlers_disconnect_matched' WPEQtView.cpp:(.text._ZN9WPEQtViewD2Ev+0xa4): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEQtView.cpp.o: in function `WPEQtView::createWebView()': WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0xac): undefined reference to `g_object_new' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0xc0): undefined reference to `g_object_unref' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x130): undefined reference to `g_signal_connect_data' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x154): undefined reference to `g_signal_connect_data' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x178): undefined reference to `g_signal_connect_data' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x19c): undefined reference to `g_signal_connect_data' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x1c0): undefined reference to `g_signal_connect_data' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x1ec): undefined reference to `g_object_unref' WPEQtView.cpp:(.text._ZN9WPEQtView13createWebViewEv+0x260): undefined reference to `g_object_unref' Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt6/WPEQtView.cpp.o: in function `jsAsyncReadyCallback(_GObject*, _GAsyncResult*, void*)': WPEQtView.cpp:(.text._ZL20jsAsyncReadyCallbackP8_GObjectP13_GAsyncResultPv+0x140): undefined reference to `g_object_unref' WPEQtView.cpp:(.text._ZL20jsAsyncReadyCallbackP8_GObjectP13_GAsyncResultPv+0x1b4): undefined reference to `g_object_unref' WPEQtView.cpp:(.text._ZL20jsAsyncReadyCallbackP8_GObjectP13_GAsyncResultPv+0x360): undefined reference to `g_object_unref' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2025-10-11 07:07:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52173
EWS
Comment 2
2025-10-11 16:08:08 PDT
Committed
301365@main
(3974142dd44d): <
https://commits.webkit.org/301365@main
> Reviewed commits have been landed. Closing PR #52173 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