Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-5062

[HTML5-CEF] cef build failure due to missing python3 in sysroot

XMLWordPrintable

    • Intel Upsquare, Raspberry Pi 4

      A clean build from scratch on Debian Bullseye results in the following error when building cef package for h3ulcb-refhw, qemux86_64 and raspberrypi4-64:

      ERROR: cef-118.0.5993.80.5993+git-r0 do_configure: ExecutionError('/builds/aglquillbackm3/build/build-raspberrypi4/tmp/work/aarch64-agl-linux/cef/118.0.5993.80.5993+git-r0/temp/run.do_configure.3729634', 1, None, None)
      ERROR: Logfile of failure stored in: /builds/aglquillbackm3/build/build-raspberrypi4/tmp/work/aarch64-agl-linux/cef/118.0.5993.80.5993+git-r0/temp/log.do_configure.3729634
      Log data follows:
      | DEBUG: Executing python function extend_recipe_sysroot
      | NOTE: Direct dependencies are ['/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/meta-openembedded/meta-oe/recipes-support/nss/nss_3.74.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-bsp/pciutils/pciutils_3.7.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-core/dbus/dbus_1.14.8.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/qemu/qemu-native_6.2.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/drm/libdrm_2.4.110.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.5.1.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/mesa/mesa_22.0.3.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/pango/pango_1.50.4.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.1.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-multimedia/libpng/libpng_1.6.39.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_15.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-support/atk/at-spi2-atk_2.38.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-support/atk/atk_2.38.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-support/curl/curl_7.82.0.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/external/poky/meta/recipes-support/libxslt/libxslt_1.1.35.bb:do_populate_sysroot', '/builds/aglquillbackm3/build/meta-agl-demo/recipes-wam/depot_tools/depot-tools-wam-native_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/meta-clang/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/meta-openembedded/meta-oe/recipes-support/nss/nss_3.74.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-core/expat/expat_2.5.0.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-devtools/python/python3_3.10.13.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-extended/gperf/gperf_3.1.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3
      t', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.5.1.bb:do_populate_sysroot', 'virtual:native:/builds/aglquillbackm3/build/external/poky/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb:do_populate_sysroot']
      | NOTE: Installed into sysroot: ['depot-tools-wam-native']
      | NOTE: Skipping as already exists in sysroot: ['clang-cross-aarch64', 'clang', 'compiler-rt', 'libcxx', 'nss', 'pciutils', 'dbus', 'glib-2.0', 'glibc', 'qemu-native', 'quilt-native', 'cairo', 'libdrm', 'libjpeg-turbo', 'mesa', 'pango', 'libxkbcommon', 'libpng', 'pulseaudio', 'at-spi2-atk', 'atk', 'curl', 'libxslt', 'clang-native', 'compiler-rt-native', 'libcxx-native', 'nss-native', 'expat-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'gperf-native', 'xz-native', 'libjpeg-turbo-native', 'ca-certificates-native', 'opkg-utils', 'zlib', 'fontconfig', 'pixman', 'gcc-runtime', 'cmake-native', 'openssl-native', 'kmod', 'systemd', 'wayland', 'wayland-protocols', 'libxml2', 'libgcc', 'swig-native', 'zlib-native', 'libedit-native', 'libffi-native', 'libxml2-native', 'perl-native', 'binutils-native', 'attr-native', 'libtool-native', 'libpciaccess', 'libpthread-stubs', 'libffi', 'bash-completion', 'libpcre', 'libselinux', 'util-linux', 'freetype', 'fribidi', 'gobject-introspection', 'harfbuzz', 'binutils-cross-aarch64', 'sqlite3-native', 'nspr-native', 'openssl', 'libidn2', 'gettext-minimal-native', 'at-spi2-core', 'glib-2.0-native', 'expat', 'audit', 'base-files', 'shadow-native', 'shadow', 'shadow-sysroot', 'autoconf-archive', 'base-passwd', 'binutils', 'libedit', 'ncurses', 'python3', 'linux-libc-headers', 'speexdsp', 'libcap', 'bluez5', 'avahi', 'alsa-lib', 'libatomic-ops', 'ofono', 'libtool', 'sbc', 'libsndfile1', 'readline-native', 'util-linux-libuuid-native', 'bzip2-native', 'libtirpc-native', 'ncurses-native', 'gdbm-native', 'libnsl2-native', 'sqlite3', 'nspr', 'zstd-native', 'curl-native', 'xz', 'acl', 'zstd', 'iptables', 'libseccomp', 'libpam', 'libpcre-native', 'texinfo-dummy-native', 'make-native', 'flex-native', 'elfutils-native', 'gnu-config-native', 'util-macros', 'bzip2', 'libsepol', 'util-linux-libuuid', 'libxcrypt', 'libcap-ng', 'icu', 'libunistring', 'gettext-native', 'util-linux-native', 'tcp-wrappers', 'libsemanage', 'attr', 'elfutils', 'gdbm', 'libtirpc', 'libnsl2', 'readline', 'libical', 'libdaemon', 'mobile-broadband-provider-info', 'ell', 'flac', 'libogg', 'libvorbis', 'cracklib', 'flex', 'm4-native', 'libmicrohttpd-native', 'libarchive-native', 'libpcre2-native', 'libcap-ng-native', 'libarchive', 'libmicrohttpd', 'vala', 'gnutls-native', 'libgcrypt-native', 'lzo-native', 'lzo', 'file', 'libgcrypt', 'gnutls', 'libidn2-native', 'gmp-native', 'nettle-native', 'libunistring-native', 'libcap-native', 'libgpg-error-native', 'libgpg-error', 'gmp', 'nettle']
      | DEBUG: Python function extend_recipe_sysroot finished
      | DEBUG: Executing shell function do_configure
      | NOTE: do_configure:
      | NOTE: Base out path: /builds/aglquillbackm3/build/build-raspberrypi4/tmp/work/aarch64-agl-linux/cef/118.0.5993.80.5993+git-r0/build
      | 0> Downloading third_party/test_fonts/test_fonts.tar.gz@336e775eec536b2d785cc80eff6ac39051931286...
      | 0> Failed to fetch file gs://chromium-fonts/336e775eec536b2d785cc80eff6ac39051931286 for third_party/test_fonts/test_fonts.tar.gz, skipping. [Err: [E2024-01-31T12:20:30.844274Z 3729964 0 venv.go:977] Command (cwd=/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10): [/builds/aglquillbackm3/build/build-raspberrypi4/tmp/work/aarch64-agl-linux/cef/118.0.5993.80.5993+git-r0/recipe-sysroot-native/usr/share/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC/3.8/bin/python3 -B -E -s virtualenv.py --no-download /home/buildbot/.vpython-root/09661d]
      | Process output:
      | Using base prefix '/builds/aglquillbackm3/build/build-raspberrypi4/tmp/work/aarch64-agl-linux/cef/118.0.5993.80.5993+git-r0/recipe-sysroot-native/usr/share/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC/3.8'
      | New python executable in /home/buildbot/.vpython-root/09661d/bin/python3
      | Also creating executable in /home/buildbot/.vpython-root/09661d/bin/python
      | Installing setuptools, pip, wheel...
      | 
      |   Complete output from command /home/buildbot/.vpyt...t/09661d/bin/python3 - setuptools pip wheel:
      |   WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
      | Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
      | To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
      | Traceback (most recent call last):
      |   File "<stdin>", line 33, in <module>
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/__init__.py", line 17, in main
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/utils/entrypoints.py", line 31, in _wrapper
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/cli/main.py", line 73, in main
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/commands/__init__.py", line 105, in create_command
      |   File "/home/buildbot/.vpython-root/09661d/lib/python3.8/importlib/__init__.py", line 127, in import_module
      |   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/commands/install.py", line 17, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/cli/req_command.py", line 18, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_internal/index/collector.py", line 14, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_vendor/html5lib/__init__.py", line 25, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_vendor/html5lib/html5parser.py", line 6, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_vendor/html5lib/_inputstream.py", line 10, in <module>
      |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      |   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
      |   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
      |   File "<frozen zipimport>", line 259, in load_module
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_vendor/webencodings/__init__.py", line 135, in <module>
      |   File "/tmp/vpython_bootstrap4150261867/packages/virtualenv-16.7.10/virtualenv_support/pip-20.3.4-py2.py3-none-any.whl/pip/_vendor/webencodings/__init__.py", line 85, in lookup
      | LookupError: unknown encoding: utf-16le
      | ----------------------------------------
      | ...Installing setuptools, pip, wheel...done.
      | Traceback (most recent call last):
      |   File "virtualenv.py", line 2651, in <module>
      |     main()
      |   File "virtualenv.py", line 859, in main
      |     create_environment(
      |   File "virtualenv.py", line 1178, in create_environment
      |     install_wheel(to_install, py_executable, search_dirs, download=download)
      |   File "virtualenv.py", line 1022, in install_wheel
      |     _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
      |   File "virtualenv.py", line 1115, in _install_wheel_with_search_dir
      |     call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script)
      |   File "virtualenv.py", line 962, in call_subprocess
      |     raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
      | OSError: Command /home/buildbot/.vpyt...t/09661d/bin/python3 - setuptools pip wheel failed with error code 1

      The cef package built fine as well as the whole CEF image for h3ulcb-kf and m3ulcb, however.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rzanoni Roger Zanoni
            edi.feschiyan Edi Feschiyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: