Already found a workaround, removing the --in-process-gpu flag makes it work. Probably due to this flag the EGL vars aren't being set correctly.
Roger Zanoni
August 11, 2023 at 6:38 AM
@Jan-Simon Moeller I did a bogus test for 29113 (I checked my command history and I was building only cef and running qemu to test instead of baking the image) and the change fixes the build but breaks wam runtime, it's failing to initialize the gpu process. I'm working on fixing it, but should I revert the change on master? Your fix got picked to pike instead of mine and we should be ok for the release.
Edi Feschiyan
August 3, 2023 at 12:24 PM
Installed libwayland-bin on the host and got a successful build.
Trying to build CEF-enabled html5 images fails with the following error on Debian Bullseye:
ERROR: cef-108.0.5359.125.5359+git-r0 do_compile: ExecutionError('/mnt/tmpfs/buildbot/aglpike1593html5cef/build/build-qemux86-64/tmp/work/corei7-64-agl-linux/cef/108.0.5359.125.5359+git-r0/temp/run.do_compile.2650668', 1, None, None) ERROR: Logfile of failure stored in: /mnt/tmpfs/buildbot/aglpike1593html5cef/build/build-qemux86-64/tmp/work/corei7-64-agl-linux/cef/108.0.5359.125.5359+git-r0/temp/log.do_compile.2650668 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-clang/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-clang/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-clang/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-openembedded/meta-oe/recipes-support/nss/nss_3.74.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-bsp/pciutils/pciutils_3.7.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-core/dbus/dbus_1.14.6.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-devtools/qemu/qemu-native_6.2.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/drm/libdrm_2.4.110.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/mesa/mesa_22.0.3.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/pango/pango_1.50.4.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/wayland/wayland_1.20.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.1.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_15.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-support/atk/at-spi2-atk_2.38.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-support/atk/atk_2.38.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-support/curl/curl_7.82.0.bb:do_populate_sysroot', '/mnt/tmpfs/buildbot/aglpike1593html5cef/build/meta-agl-demo/recipes-wam/depot_tools/depot-tools-wam-native_git.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/meta-openembedded/meta-oe/recipes-support/nss/nss_3.74.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/mnt/tmpfs/buildbot/aglpike1593html5cef/build/external/poky/meta/recipes-extended/gperf/gperf_3.1.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['clang-cross-x86_64', 'compiler-rt', 'libcxx', 'nss', 'pciutils', 'dbus', 'glib-2.0', 'glibc', 'qemu-native', 'quilt-native', 'cairo', 'libdrm', 'mesa', 'pango', 'wayland', 'libxkbcommon', 'pulseaudio', 'at-spi2-atk', 'atk', 'curl', 'depot-tools-wam-native', 'clang-native', 'nss-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'gperf-native', 'attr-native', 'libtool-native', 'gcc-runtime', 'libxml2', 'at-spi2-core', 'sqlite3-native', 'zlib-native', 'nspr-native', 'linux-libc-headers', 'binutils-cross-x86_64', 'gobject-introspection', 'sqlite3', 'zlib', 'nspr', 'python3-native', 'libffi-native', 'perl-native', 'libxml2-native', 'cmake-native', 'libedit-native', 'swig-native', 'binutils-native', 'libpng', 'fontconfig', 'opkg-utils', 'pixman', 'shadow-native', 'shadow-sysroot', 'systemd', 'autoconf-archive', 'expat', 'audit', 'base-files', 'libselinux', 'shadow', 'base-passwd', 'freetype', 'harfbuzz', 'fribidi', 'libpciaccess', 'libpthread-stubs', 'libgcc', 'openssl', 'libidn2', 'clang', 'elfutils', 'wayland-protocols', 'libffi', 'bash-completion', 'util-linux', 'libpcre', 'kmod', 'glib-2.0-native', 'xz-native', 'libatomic-ops', 'libsndfile1', 'libtool', 'bluez5', 'ofono', 'avahi', 'libcap', 'alsa-lib', 'sbc', 'speexdsp', 'gettext-minimal-native', 'texinfo-dummy-native', 'python3', 'flex-native', 'gnu-config-native', 'libtirpc-native', 'util-linux-libuuid-native', 'openssl-native', 'gdbm-native', 'ncurses-native', 'readline-native', 'bzip2-native', 'libnsl2-native', 'make-native', 'curl-native', 'zstd-native', 'libpcre-native', 'elfutils-native', 'libseccomp', 'libpam', 'acl', 'iptables', 'zstd', 'libcap-ng', 'tcp-wrappers', 'libsepol', 'attr', 'libsemanage', 'libxcrypt', 'icu', 'util-macros', 'libunistring', 'ncurses', 'binutils', 'libedit', 'libarchive', 'libmicrohttpd', 'util-linux-libuuid', 'bzip2', 'xz', 'gettext-native', 'util-linux-native', 'libogg', 'flac', 'libvorbis', 'readline', 'libical', 'ell', 'mobile-broadband-provider-info', 'libdaemon', 'libtirpc', 'libnsl2', 'gdbm', 'm4-native', 'libarchive-native', 'libmicrohttpd-native', 'cracklib', 'flex', 'lzo', 'file', 'gnutls', 'libgcrypt', 'libcap-ng-native', 'libpcre2-native', 'vala', 'lzo-native', 'libgcrypt-native', 'gnutls-native', 'nettle', 'gmp', 'libgpg-error', 'libgpg-error-native', 'libcap-native', 'libunistring-native', 'gmp-native', 'libidn2-native', 'nettle-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_compile | ninja: Entering directory `/mnt/tmpfs/buildbot/aglpike1593html5cef/build/build-qemux86-64/tmp/work/corei7-64-agl-linux/cef/108.0.5359.125.5359+git-r0/build/out/Release_GN_x64' | ninja: error: '../../../../../../../../../../../../../../usr/bin/wayland-scanner', needed by 'gen/components/exo/wayland/protocol/aura-shell-protocol.c', missing and no known rule to make it | WARNING: exit code 1 from a shell command. NOTE: recipe cef-108.0.5359.125.5359+git-r0: task do_compile: Failed
run.do_compile log attached