Skip to contentSkip to conversation

wpebackend-fdo: Fix missing .so symlink when using dev package

PATCH Zbigniew Bodek 3 participants 6 messages Feb 23, 2021 – Feb 24, 2021 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 48 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk. That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"
 
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1

#2 lore raw

Is this change needed for the version in gatesgarth too?

Thanks,

Anuj

Quoted 62 lines · Zbigniew Bodek

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 52 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo- 1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++

 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +0 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"

 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" SRC_URI[sha256sum] = "6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"

meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1

#3 lore raw

Hi Anuj,

I just checked and yes, it's needed for gatesgarth too.

Kind regards
Zbigniew

wt., 23 lut 2021 o 16:33 Mittal, Anuj <[email protected]> napisał(a):

Quoted 71 lines

Is this change needed for the version in gatesgarth too?

Thanks,

Anuj

Quoted 62 lines · Zbigniew Bodek

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 52 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo- 1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +0 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] =

"6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"

meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

So... does anyone have some comments or anything against integrating this change?

Kind regards
Zbigniew

wt., 23 lut 2021 o 19:13 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 83 lines

Hi Anuj,

I just checked and yes, it's needed for gatesgarth too.

Kind regards
Zbigniew

wt., 23 lut 2021 o 16:33 Mittal, Anuj <[email protected]> napisał(a):

Quoted 71 lines

Is this change needed for the version in gatesgarth too?

Thanks,

Anuj

Quoted 62 lines · Zbigniew Bodek

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 52 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo- 1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +0 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] =

"6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"

meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1

#6 lore raw
Quoted 3 lines · Zbigniew Bodek

So... does anyone have some comments or anything against integrating this change?

I'm currently testing this patch for dunfell. If all goes well it will be in the patch set I send for review in the near future.

Steve

Quoted 88 lines

Kind regards
Zbigniew

wt., 23 lut 2021 o 19:13 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 83 lines

Hi Anuj,

I just checked and yes, it's needed for gatesgarth too.

Kind regards
Zbigniew

wt., 23 lut 2021 o 16:33 Mittal, Anuj <[email protected]> napisał(a):

Quoted 71 lines

Is this change needed for the version in gatesgarth too?

Thanks,

Anuj

Quoted 62 lines · Zbigniew Bodek

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 52 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo- 1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +0 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] =

"6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"

meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1

#7 lore raw

Thanks Steve, I appreciate it.

Kind regards
Zbigniew

śr., 24 lut 2021 o 19:14 Steve Sakoman <[email protected]> napisał(a):

Quoted 99 lines · Zbigniew Bodek
Quoted 3 lines

So... does anyone have some comments or anything against integrating this change?

I'm currently testing this patch for dunfell. If all goes well it will be in the patch set I send for review in the near future.

Steve

Quoted 88 lines

Kind regards
Zbigniew

wt., 23 lut 2021 o 19:13 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 83 lines

Hi Anuj,

I just checked and yes, it's needed for gatesgarth too.

Kind regards
Zbigniew

wt., 23 lut 2021 o 16:33 Mittal, Anuj <[email protected]> napisał(a):

Quoted 71 lines

Is this change needed for the version in gatesgarth too?

Thanks,

Anuj

Quoted 62 lines · Zbigniew Bodek

Any comments, questions, remarks to that?

Kind regards
Zbigniew

pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org <[email protected]> napisał(a):

Quoted 52 lines

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo- 1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +0 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] =

"6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"

meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -1
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
--

2.17.1