* [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector
@ 2026-02-09 10:10 Thorsten Scherer
2026-02-13 9:42 ` Michael Tretter
0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Scherer @ 2026-02-09 10:10 UTC (permalink / raw)
To: ptxdist; +Cc: Thorsten Scherer
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 <t.scherer@eckelmann.de>
---
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector
2026-02-09 10:10 [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector Thorsten Scherer
@ 2026-02-13 9:42 ` Michael Tretter
2026-02-13 13:09 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Michael Tretter @ 2026-02-13 9:42 UTC (permalink / raw)
To: ptxdist; +Cc: Thorsten Scherer
On Mon, 09 Feb 2026 11:10:38 +0100, Thorsten Scherer wrote:
> 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 <t.scherer@eckelmann.de>
> ---
> 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)
Maybe install only the wpe-webkit-2.0 subdirectory similar to the
libexec and lib directories:
@$(call install_tree, wpewebkit, 0, 0, -, /usr/share/wpe-webkit-2.0)
Michael
>
> ifdef PTXCONF_WPEWEBKIT_QT
> @$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/qt5/qml/org/wpewebkit)
> --
> 2.51.0
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector
2026-02-13 9:42 ` Michael Tretter
@ 2026-02-13 13:09 ` Michael Olbrich
2026-02-13 16:14 ` Thorsten Scherer
0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2026-02-13 13:09 UTC (permalink / raw)
To: Michael Tretter; +Cc: Thorsten Scherer, ptxdist
On Fri, Feb 13, 2026 at 10:42:10AM +0100, Michael Tretter wrote:
> On Mon, 09 Feb 2026 11:10:38 +0100, Thorsten Scherer wrote:
> > 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 <t.scherer@eckelmann.de>
> > ---
> > 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)
>
> Maybe install only the wpe-webkit-2.0 subdirectory similar to the
> libexec and lib directories:
>
> @$(call install_tree, wpewebkit, 0, 0, -, /usr/share/wpe-webkit-2.0)
I'll do that when I apply the patch.
Michael
> >
> > ifdef PTXCONF_WPEWEBKIT_QT
> > @$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/qt5/qml/org/wpewebkit)
> > --
> > 2.51.0
> >
> >
> >
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector
2026-02-13 13:09 ` Michael Olbrich
@ 2026-02-13 16:14 ` Thorsten Scherer
2026-02-13 16:17 ` Thorsten Scherer
0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Scherer @ 2026-02-13 16:14 UTC (permalink / raw)
To: Michael Olbrich; +Cc: ptxdist, Michael Tretter
Hi,
On Fri, Feb 13, 2026 at 02:09:52PM +0100, Michael Olbrich wrote:
> On Fri, Feb 13, 2026 at 10:42:10AM +0100, Michael Tretter wrote:
> > On Mon, 09 Feb 2026 11:10:38 +0100, Thorsten Scherer wrote:
> > > 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 <t.scherer@eckelmann.de>
> > > ---
> > > 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)
> >
> > Maybe install only the wpe-webkit-2.0 subdirectory similar to the
> > libexec and lib directories:
> >
> > @$(call install_tree, wpewebkit, 0, 0, -, /usr/share/wpe-webkit-2.0)
>
> I'll do that when I apply the patch.
I just tested mtr's proposed change in our BSP. The result is that
<BSP-dir>/root/usr/share/wpe-webkit-2.0
does not show up. While running with the initial change I see:
<BSP-dir>/root/usr/share/wpe-webkit-2.0/inspector.gresource
.
> Michael
LG
Thorsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector
2026-02-13 16:14 ` Thorsten Scherer
@ 2026-02-13 16:17 ` Thorsten Scherer
0 siblings, 0 replies; 5+ messages in thread
From: Thorsten Scherer @ 2026-02-13 16:17 UTC (permalink / raw)
To: ptxdist; +Cc: Michael Olbrich, Michael Tretter
> Hi,
>
> On Fri, Feb 13, 2026 at 02:09:52PM +0100, Michael Olbrich wrote:
> > On Fri, Feb 13, 2026 at 10:42:10AM +0100, Michael Tretter wrote:
> > > On Mon, 09 Feb 2026 11:10:38 +0100, Thorsten Scherer wrote:
> > > > 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 <t.scherer@eckelmann.de>
> > > > ---
> > > > 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)
> > >
> > > Maybe install only the wpe-webkit-2.0 subdirectory similar to the
> > > libexec and lib directories:
> > >
> > > @$(call install_tree, wpewebkit, 0, 0, -, /usr/share/wpe-webkit-2.0)
> >
> > I'll do that when I apply the patch.
>
> I just tested mtr's proposed change in our BSP. The result is that
>
> <BSP-dir>/root/usr/share/wpe-webkit-2.0
>
> does not show up. While running with the initial change I see:
>
> <BSP-dir>/root/usr/share/wpe-webkit-2.0/inspector.gresource
>
> .
PEBKAC. Sorry for the noise.
> > Michael
>
> LG
> Thorsten
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-02-13 16:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-09 10:10 [ptxdist] [PATCH] wpewebkit: Fix install of Web Inspector Thorsten Scherer
2026-02-13 9:42 ` Michael Tretter
2026-02-13 13:09 ` Michael Olbrich
2026-02-13 16:14 ` Thorsten Scherer
2026-02-13 16:17 ` Thorsten Scherer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox