On attaching to Web Inspector cog dumps core.
cog[467]: Error loading inspector.gresource: Failed to open file
“/usr/share/wpe-webkit-2.0/inspector.gresource”: open() failed: No such file or
directory
systemd-coredump[566]: Process 467 (cog) of user 0 dumped core.
Turns out handling of resources changed from shared library to GResource. [1]
So add the proper install statement to fix this issue.
[1] https://wpewebkit.org/blog/2025-04-11-wpewebkit-2.48.html
Signed-off-by: Thorsten Scherer <[email protected]>
---
rules/wpewebkit.make | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/wpewebkit.make b/rules/wpewebkit.make
index 5ee3057ac88d..ebc3565a298b 100644
--- a/rules/wpewebkit.make
+++ b/rules/wpewebkit.make
@@ -129,6 +129,7 @@ $(STATEDIR)/wpewebkit.targetinstall:
@$(call install_tree, wpewebkit, 0, 0, -, /usr/libexec/wpe-webkit-2.0)
@$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/wpe-webkit-2.0)
+ @$(call install_tree, wpewebkit, 0, 0, -, /usr/share)
ifdef PTXCONF_WPEWEBKIT_QT
@$(call install_tree, wpewebkit, 0, 0, -,
/usr/lib/qt5/qml/org/wpewebkit)
--
2.51.0