WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
213 stars 136 forks source link

WPE Webkit Run failure due to cannot find module 'gtk4' module #720

Open sssdevwebkit opened 3 years ago

sssdevwebkit commented 3 years ago

sseng@webkit-server:~/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2$ Tools/Scripts/run-minibrowser --wpe https://www.igalia.com (flatpak:221498): GLib-GIO-DEBUG: 11:25:33.203: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ (flatpak run:221498): flatpak-DEBUG: 11:25:33.203: Opening user flatpak installation at path /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak (flatpak run:221498): flatpak-DEBUG: 11:25:33.204: No installations directory in /etc/flatpak/installations.d. Skipping (flatpak run:221498): flatpak-DEBUG: 11:25:33.204: Opening user flatpak installation at path /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak (flatpak run:221498): flatpak-DEBUG: 11:25:33.205: Opening user flatpak installation at path /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak (flatpak run:221498): flatpak-DEBUG: 11:25:33.205: Opening user flatpak installation at path /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak (flatpak run:221498): flatpak-DEBUG: 11:25:33.208: Regenerating ld.so.cache /home/sseng/.cache/flatpak/ld.so/367c96a2349885a6ad9ef267506a142aea0b58b48a46eacf143e3b7e85170857 (flatpak run:221498): flatpak2-DEBUG: 11:25:33.208: bwrap --args 10 = --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files /usr --lock-file /usr/.ref --dir /app --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk.Debug/x86_64/0.3/4492060d9daa327fa754fd1f41e5b99f216040332c3df37132b7160972ea1c0e/files /usr/lib/debug --tmpfs /usr/lib/sdk --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.llvm11/x86_64/20.08/4c11d79c1cddefa53f64aa0b066bba3da7e6e0d72b6aadc45de7602b534b8659/files /usr/lib/sdk/llvm11 --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08/6292b8f717284fa25f49446c379e27efee6364eb565d8542e91d57c49fe3b64c/files /usr/lib/sdk/rust-stable --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08/6292b8f717284fa25f49446c379e27efee6364eb565d8542e91d57c49fe3b64c/files /usr/lib/sdk/rust-stable --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk.Locale/x86_64/0.3/bddaed247a63e23726ea562b0830132882210b7b7aecd7d298f8dbad13c1cff4-en/files /usr/share/runtime/locale --ro-bind-data 7 /run/flatpak/ld.so.conf.d/runtime-001-org.freedesktop.Sdk.Extension.llvm11.conf --ro-bind-data 8 /run/flatpak/ld.so.conf.d/runtime-002-org.freedesktop.Sdk.Extension.rust-stable.conf --symlink usr/lib /lib --symlink usr/lib64 /lib64 --symlink usr/bin /bin --symlink usr/sbin /sbin --ro-bind-data 9 /etc/ld.so.conf --unshare-pid --unshare-ipc --unshare-net --proc /proc --dev /dev --bind /home/sseng/.cache/flatpak/ld.so /run/ld-so-cache-dir (flatpak run:221498): flatpak-DEBUG: 11:25:33.208: Running: '/home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/Tools/flatpak/webkit-bwrap --args 10 ldconfig -X -C /run/ld-so-cache-dir/367c96a2349885a6ad9ef267506a142aea0b58b48a46eacf143e3b7e85170857' (flatpak run:221498): GLib-DEBUG: 11:25:33.208: posix_spawn avoided (child_setup specified) (flatpak run:221498): flatpak-DEBUG: 11:25:34.399: Cleaning up unused container id 293609866 (flatpak run:221498): flatpak-DEBUG: 11:25:34.399: Allocated instance id 1020900490 (flatpak run:221498): flatpak-DEBUG: 11:25:34.399: Add defaults in dir /org/webkit/Sdk/ (flatpak run:221498): flatpak-DEBUG: 11:25:34.399: Add locks in dir /org/webkit/Sdk/ (flatpak run:221498): flatpak-DEBUG: 11:25:34.401: Allowing host-fs access (flatpak run:221498): flatpak-DEBUG: 11:25:34.401: skipping export for path /usr/libx32 (flatpak run:221498): flatpak-DEBUG: 11:25:34.401: Allowing wayland access (flatpak run:221498): flatpak-DEBUG: 11:25:34.401: Allowing x11 access (flatpak run:221498): flatpak-DEBUG: 11:25:34.402: Allowing pulseaudio access (flatpak run:221498): flatpak-DEBUG: 11:25:34.402: Pulseaudio user configuration file '/home/sseng/.config/pulse/client.conf': Error opening file /home/sseng/.config/pulse/client.conf: No such file or directory (flatpak run:221498): flatpak-DEBUG: 11:25:34.402: Allowing session-dbus access (flatpak run:221498): flatpak-DEBUG: 11:25:34.402: Allowing system-dbus access (flatpak run:221498): flatpak2-DEBUG: 11:25:34.407: bwrap --args 25 = --ro-bind /proc /proc --ro-bind /home /home --ro-bind /boot /boot --symlink usr/lib64 /lib64 --ro-bind /dev /dev --ro-bind /srv /srv --ro-bind /opt /opt --symlink usr/lib /lib --symlink usr/lib32 /lib32 --ro-bind /media /media --symlink usr/libx32 /libx32 --ro-bind /usr /usr --ro-bind /mnt /mnt --bind /tmp /tmp --ro-bind /sys /sys --ro-bind /cdrom /cdrom --symlink usr/bin /bin --symlink usr/sbin /sbin --bind /var /var --ro-bind '/lost+found' '/lost+found' --ro-bind /etc /etc --ro-bind /root /root --bind /run /run --ro-bind /snap /snap --bind /run/user/1000/.dbus-proxy/ /run/user/1000/.dbus-proxy/ --file 26 /.flatpak-info (flatpak run:221498): flatpak2-DEBUG: 11:25:34.407: bwrap --args 29 = --fd=28 'unix:abstract=/tmp/dbus-CdB4HUx7aQ,guid=08d0d349e204ad59ab3f998161077a65' /run/user/1000/.dbus-proxy/a11y-bus-proxy-44BZ70 --filter --sloppy-names --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Unembed@/org/a11y/atspi/accessible/root --call=org.a11y.atspi.Registry=org.a11y.atspi.Registry.GetRegisteredEvents@/org/a11y/atspi/registry --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetKeystrokeListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetDeviceEventListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersSync@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersAsync@/org/a11y/atspi/registry/deviceeventcontroller (flatpak run:221498): flatpak-DEBUG: 11:25:34.408: Running '/home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/Tools/flatpak/webkit-bwrap --args 25 xdg-dbus-proxy --args=29' (flatpak run:221498): GLib-DEBUG: 11:25:34.408: posix_spawn avoided (automatic reaping requested) (child_setup specified) (flatpak run:221498): flatpak2-DEBUG: 11:25:34.541: bwrap --args 26 = --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files /usr --lock-file /usr/.ref --dir /app --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk.Debug/x86_64/0.3/4492060d9daa327fa754fd1f41e5b99f216040332c3df37132b7160972ea1c0e/files /usr/lib/debug --tmpfs /usr/lib/sdk --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.llvm11/x86_64/20.08/4c11d79c1cddefa53f64aa0b066bba3da7e6e0d72b6aadc45de7602b534b8659/files /usr/lib/sdk/llvm11 --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08/6292b8f717284fa25f49446c379e27efee6364eb565d8542e91d57c49fe3b64c/files /usr/lib/sdk/rust-stable --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08/6292b8f717284fa25f49446c379e27efee6364eb565d8542e91d57c49fe3b64c/files /usr/lib/sdk/rust-stable --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk.Locale/x86_64/0.3/bddaed247a63e23726ea562b0830132882210b7b7aecd7d298f8dbad13c1cff4-en/files /usr/share/runtime/locale --ro-bind-data 7 /run/flatpak/ld.so.conf.d/runtime-001-org.freedesktop.Sdk.Extension.llvm11.conf --ro-bind-data 8 /run/flatpak/ld.so.conf.d/runtime-002-org.freedesktop.Sdk.Extension.rust-stable.conf --proc /proc --unshare-pid --dir /tmp --dir /var/tmp --dir /run/host --dir /run/user/1000 --setenv XDG_RUNTIME_DIR /run/user/1000 --symlink ../run /var/run --ro-bind /sys/block /sys/block --ro-bind /sys/bus /sys/bus --ro-bind /sys/class /sys/class --ro-bind /sys/dev /sys/dev --ro-bind /sys/devices /sys/devices --ro-bind-try /proc/self/ns/user /run/.userns --symlink /etc/timezone /var/db/zoneinfo --die-with-parent --ro-bind-data 9 /etc/passwd --ro-bind-data 10 /etc/group --ro-bind-data 12 /etc/pkcs11/pkcs11.conf --ro-bind /etc/machine-id /etc/machine-id --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/tmpfiles.d /etc/tmpfiles.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/issue.net /etc/issue.net --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/rpc /etc/rpc --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/issue /etc/issue --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/pipewire /etc/pipewire --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/fonts /etc/fonts --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/kernel /etc/kernel --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/mke2fs.conf /etc/mke2fs.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/xattr.conf /etc/xattr.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/ld.so.conf /etc/ld.so.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/krb5.conf /etc/krb5.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/xdg /etc/xdg --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/ssh_config /etc/ssh_config --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/ssl /etc/ssl --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/extra /etc/extra --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/e2scrub.conf /etc/e2scrub.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/magic /etc/magic --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/mime.types /etc/mime.types --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/X11 /etc/X11 --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/modules-load.d /etc/modules-load.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/moduli /etc/moduli --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/netconfig /etc/netconfig --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/httpd.conf /etc/httpd.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/rc_maps.cfg /etc/rc_maps.cfg --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/subgid /etc/subgid --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/gtk-3.0 /etc/gtk-3.0 --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/profile.d /etc/profile.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/udev /etc/udev --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/init.d /etc/init.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/man_db.conf /etc/man_db.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/dbus-1 /etc/dbus-1 --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/systemd /etc/systemd --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/xml /etc/xml --symlink ../usr/lib/os-release /etc/os-release --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/alsa /etc/alsa --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/binfmt.d /etc/binfmt.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/bash_completion.d /etc/bash_completion.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/ld.so.cache /etc/ld.so.cache --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/OpenCL /etc/OpenCL --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/pam.d /etc/pam.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/nsswitch.conf /etc/nsswitch.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/default /etc/default --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/protocols /etc/protocols --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/subuid /etc/subuid --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/sysctl.d /etc/sysctl.d --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/original /etc/original --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/lvm /etc/lvm --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/bindresvport.blacklist /etc/bindresvport.blacklist --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/security /etc/security --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/flatpak-builder /etc/flatpak-builder --symlink ../../proc/self/mounts /etc/mtab --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/pulse /etc/pulse --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/login.defs /etc/login.defs --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/services /etc/services --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/rc_keymaps /etc/rc_keymaps --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/ca-certificates.conf /etc/ca-certificates.conf --ro-bind /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak/runtime/org.webkit.Sdk/x86_64/0.3/6e303e7ddc1147ffc02f428b2cc6f91c55ee9ca1f1d8f8c4a087df88a184b208/files/etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg --symlink usr/lib /lib --symlink usr/lib64 /lib64 --symlink usr/bin /bin --symlink usr/sbin /sbin --seccomp 13 --ro-bind /run/user/1000/.flatpak-helper/monitor /run/host/monitor --symlink /run/host/monitor/localtime /etc/localtime --symlink /run/host/monitor/resolv.conf /etc/resolv.conf --symlink /run/host/monitor/host.conf /etc/host.conf --symlink /run/host/monitor/hosts /etc/hosts --symlink /run/host/monitor/timezone /etc/timezone --ro-bind-data 18 /etc/pkcs11/modules/p11-kit-trust.module --ro-bind /run/user/1000/.flatpak-helper/pkcs11-flatpak-4923 /run/user/1000/p11-kit/pkcs11 --ro-bind-data 19 /etc/ld.so.conf --ro-bind-data 11 /etc/ld.so.cache --ro-bind /run/user/1000/.flatpak/1020900490 /run/user/1000/.flatpak/1020900490 --lock-file /run/user/1000/.flatpak/1020900490/.ref --file 20 /.flatpak-info --ro-bind-data 21 /.flatpak-info --symlink ../../../.flatpak-info /run/user/1000/flatpak-info --info-fd 22 --bind /run/user/1000/doc/by-app/org.webkit.Sdk /run/user/1000/doc --dev-bind /dev /dev --tmpfs /dev/shm --bind /cdrom /cdrom --bind /home /home --dir /home/sseng --tmpfs /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak --bind '/lost+found' '/lost+found' --bind /media /media --bind /mnt /mnt --bind /opt /opt --bind /snap /snap --bind /srv /srv --bind /swapfile /swapfile --bind /usr /run/host/usr --bind /etc /run/host/etc --tmpfs /tmp/.X11-unix --ro-bind /tmp/.X11-unix/X0 /tmp/.X11-unix/X99 --ro-bind-data 24 /run/user/1000/Xauthority --ro-bind-data 23 /run/user/1000/pulse/config --ro-bind /run/user/1000/pulse/native /run/user/1000/pulse/native --ro-bind /run/user/1000/bus /run/user/1000/bus --ro-bind /var/run/dbus/system_bus_socket /run/dbus/system_bus_socket --ro-bind /run/user/1000/.dbus-proxy/a11y-bus-proxy-44BZ70 /run/user/1000/at-spi-bus --sync-fd 27 --bind /run/systemd/journal/socket /run/systemd/journal/socket --bind /run/systemd/journal/stdout /run/systemd/journal/stdout --ro-bind /usr/share/fonts /run/host/fonts --ro-bind /usr/local/share/fonts /run/host/local-fonts --ro-bind /var/cache/fontconfig /run/host/fonts-cache --ro-bind /home/sseng/.cache/fontconfig /run/host/user-fonts-cache --ro-bind-data 25 /run/host/font-dirs.xml --ro-bind /usr/share/icons /run/host/share/icons --ro-bind /home/sseng/.local/share/icons /run/host/user-share/icons --symlink /app/lib/debug/source /run/build --symlink /usr/lib/debug/source /run/build-runtime --setenv FLATPAK_BWRAP /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/Tools/flatpak/webkit-bwrap --setenv DBUS_STARTER_ADDRESS 'unix:path=/run/user/1000/bus,guid=786d29aa138944994c638a1d61077a5f' --setenv GNOME_DESKTOP_SESSION_ID this-is-deprecated --setenv WINDOWPATH 2 --setenv XDG_CURRENT_DESKTOP ubuntu:GNOME --setenv XDG_SESSION_TYPE x11 --setenv QT_IM_MODULE ibus --setenv LOGNAME sseng --setenv USER sseng --setenv WEBKIT_BUILD_DIR_BIND_MOUNT /app/webkit/WebKitBuild/Release:/home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/WPE/Release --setenv PATH /usr/lib/sdk/llvm11/bin:/usr/bin:/usr/lib/sdk/rust-stable/bin/ --setenv HOME /home/sseng --setenv SYSTEM_VERSION_COMPAT 0 --setenv DISPLAY :99.0 --setenv SSH_AGENT_PID 1438 --setenv XDG_SESSION_DESKTOP ubuntu --setenv MANAGERPID 1249 --setenv SHELL /bin/sh --setenv XAUTHORITY /run/user/1000/Xauthority --setenv SESSION_MANAGER 'local/webkit-server:@/tmp/.ICE-unix/1483,unix/webkit-server:/tmp/.ICE-unix/1483' --setenv SHLVL 1 --setenv WEBKIT_FLATPAK_USER_DIR /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak --setenv QT_ACCESSIBILITY 1 --setenv FLATPAK_USER_DIR /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/UserFlatpak --setenv XMODIFIERS @im=ibus --setenv GPG_AGENT_INFO /run/user/1000/gnupg/S.gpg-agent:0:1 --setenv XDG_SESSION_CLASS user --setenv INVOCATION_ID 027114073e2544fdb7acbf630d230b86 --setenv USERNAME sseng --setenv LANG en_US.UTF-8 --setenv XDG_RUNTIME_DIR /run/user/1000 --setenv SSH_AUTH_SOCK /run/user/1000/keyring/ssh --setenv TERM xterm-256color --setenv VTE_VERSION 6003 --setenv GDMSESSION ubuntu --setenv IM_CONFIG_PHASE 1 --setenv GNOME_SHELL_SESSION_MODE ubuntu --setenv WEBKIT_FLATPAK_DISPLAY :0 --setenv DBUS_STARTER_BUS_TYPE session --setenv G_MESSAGES_DEBUG all --setenv LESSOPEN '| /usr/bin/lesspipe %s' --setenv DBUS_SESSION_BUSADDRESS unix:path=/run/user/1000/bus --setenv Tools/Scripts/run-minibrowser --setenv GNOME_TERMINAL_SERVICE :1.146 --setenv DESKTOP_SESSION ubuntu --setenv LS_COLORS 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:' --setenv LESSCLOSE '/usr/bin/lesspipe %s %s' --setenv JOURNAL_STREAM 8:35478 --setenv OLDPWD /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/Tools --setenv GTK_MODULES gail:atk-bridge --setenv XDG_DATA_DIRS /app/share:/usr/share:/usr/share/runtime/share:/run/host/share --setenv PWD /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2 --setenv COLORTERM truecolor --setenv XDG_MENU_PREFIX gnome- --setenv XDG_CONFIG_DIRS /app/etc/xdg:/etc/xdg --setenv GNOME_TERMINAL_SCREEN /org/gnome/Terminal/screen/febde093_5624_48f5_b679_de9cfa272fe8 --setenv GI_TYPELIB_PATH /app/lib/girepository-1.0 --setenv TEST_RUNNER_INJECTED_BUNDLE_FILENAME /app/webkit/WebKitBuild/Release/lib/libTestRunnerInjectedBundle.so --setenv PKG_CONFIG_PATH /home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/WebKitBuild/WPE/Release --setenv TZ PST8PDT --setenv FLATPAK_ID org.webkit.Sdk --setenv PS1 '[📦 $FLATPAK_ID \W]\$ ' --setenv PULSE_SERVER unix:/run/user/1000/pulse/native --setenv PULSE_CLIENTCONFIG /run/user/1000/pulse/config --setenv DBUS_SYSTEM_BUS_ADDRESS unix:path=/run/dbus/system_bus_socket --setenv AT_SPI_BUS_ADDRESS unix:path=/run/user/1000/at-spi-bus (flatpak run:221498): flatpak-DEBUG: 11:25:34.542: Running '/home/sseng/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2/Tools/flatpak/webkit-bwrap --args 26 /app/webkit/Tools/Scripts/run-minibrowser --wpe https://www.igalia.com' Using Cog as MiniBrowser ('Build Lib Path', u'/app/webkit/WebKitBuild/Release/lib') (cog:13): Cog-Core-DEBUG: 22:55:35.712: ensure_extension_points: Extension points registered. (cog:13): Cog-Core-DEBUG: 22:55:35.714: cog_modules_add_directory: Scanning '/usr/local/lib/cog/modules' Cog-INFO: 22:55:35.714: com.igalia.Cog.Platform: (cog:13): Cog-DEBUG: 22:55:35.749: platform_setup: Platform name: gtk4

(cog:13): Cog-Core-WARNING **: 22:55:35.749: cog_modules_get_preferred: cannot find module 'gtk4'

(cog:13): Cog-Core-WARNING **: 22:55:35.749: cog_modules_get_preferred: preferred module 'gtk4' not supported

(cog:13): Cog-WARNING **: 22:55:35.749: Cannot create platform: Could not find an usable platform module (cog:13): Cog-DEBUG: 22:55:35.749: Instantiating default WPE backend as fall-back.

(cog:13): CRITICAL : 22:55:35.770: WebKitWebViewBackend webkit_web_view_backend_new(wpe_view_backend, GDestroyNotify, gpointer): assertion 'backend' failed

(cog:13): Cog-ERROR **: 22:55:35.770: Could not instantiate any WPE backend. (process:19): GLib-GIO-DEBUG: 22:55:35.913: _g_io_module_get_default: Found default implementation portal (GNetworkMonitorPortal) for ?gio-network-monitor?

ScriptError raised: Failed to run "[u'/app/webkit/WebKitBuild/Release/Tools/cog-prefix/src/cog-build/cog', '--platform=gtk4', u'https://www.igalia.com']" exit_code: -5 cwd: /app/webkit Traceback (most recent call last): File "/app/webkit/Tools/Scripts/webkitpy/minibrowser/run_webkit_app.py", line 62, in main return port.run_minibrowser(browser_args) File "/app/webkit/Tools/Scripts/webkitpy/port/wpe.py", line 209, in run_minibrowser return self._executive.run_command(command + args, cwd=self.webkit_base(), stdout=None, return_stderr=False, decode_output=False, env=env) File "/app/webkit/Tools/Scripts/webkitpy/common/system/executive.py", line 440, in run_command (error_handler or self.default_error_handler)(script_error) File "/app/webkit/Tools/Scripts/webkitpy/common/system/abstractexecutive.py", line 98, in default_error_handler raise error ScriptError: Failed to run "[u'/app/webkit/WebKitBuild/Release/Tools/cog-prefix/src/cog-build/cog', '--platform=gtk4', u'https://www.igalia.com']" exit_code: -5 cwd: /app/webkit sseng@webkit-server:~/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2$ ls /usr/local/lib/cog/modules libcogplatform-drm.so libcogplatform-fdo.so libcogplatform-gtk4.so libcogplatform-headless.so libcogplatform-x11.so platform sseng@webkit-server:~/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2$ ^C sseng@webkit-server:~/webkit-linux/Webkit_WPE_Linux/webkit-2.33.2$

cikai commented 1 year ago

same error, run wpe via weston on ubuntu 20.04 x86_64 with x11 windowing system.

cikai@ubuntu:~/webkit$ ./run-wpe-x11.sh https://www.google.com
Starting weston with resolution 1280x720
Running: Tools/Scripts/run-minibrowser --wpe https://www.google.com
Using Cog as MiniBrowser

(cog:9): Cog-Core-WARNING **: 04:29:56.584: cog_modules_get_preferred: preferred module 'gtk4' not supported

(cog:9): Cog-WARNING **: 04:29:56.584: Cannot create platform: Could not find a usable platform module
wpe: could not load the impl library. Is there any backend installed?: libWPEBackend-default.so: cannot open shared object file: No such file or directory

ScriptError raised: Failed to run "['/app/webkit/WebKitBuild/Release/Tools/cog-prefix/src/cog-build/launcher/cog', '--platform=gtk4', 'https://www.google.com']" exit_code: -6 cwd: /app/webkit
Traceback (most recent call last):
  File "/app/webkit/Tools/Scripts/webkitpy/minibrowser/run_webkit_app.py", line 65, in main
    return port.run_minibrowser(browser_args)
  File "/app/webkit/Tools/Scripts/webkitpy/port/wpe.py", line 163, in run_minibrowser
    return self._executive.run_command(command + args, cwd=self.webkit_base(), stdout=None, return_stderr=False, decode_output=False, env=self.setup_environ_for_minibrowser())
  File "/app/webkit/Tools/Scripts/webkitpy/common/system/executive.py", line 445, in run_command
    (error_handler or self.default_error_handler)(script_error)
  File "/app/webkit/Tools/Scripts/webkitpy/common/system/abstractexecutive.py", line 98, in default_error_handler
    raise error
webkitpy.common.system.executive.ScriptError: Failed to run "['/app/webkit/WebKitBuild/Release/Tools/cog-prefix/src/cog-build/launcher/cog', '--platform=gtk4', 'https://www.google.com']" exit_code: -6 cwd: /app/webkit
magomez commented 1 year ago

You don't seem to have any backend installed. did you build libwpe and wpebackend-fdo? wpebackend-fdo should install the library libWPEBackend-default.so that's missing.

philn commented 6 months ago

Are you sure you're using this downstream WPE fork? The upstream is hosted at wpewebkit.org (releases) and github.com/webkit/webkit (repo).