meta-sunxi: core-image-base build fail for olinuxino-a13 machine on Kirkstone branch
Hi,
I am unable to build core-image-base
for olinuxino-a13
using kirkstone
branch.
Build command:
MACHINE=olinuxino-a13 bitbake core-image-base
Build error log:
ERROR: mesa-gl-2_22.0.3-r0 do_configure: meson failed
ERROR: mesa-gl-2_22.0.3-r0 do_configure: ExecutionError('/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/temp/run.do_configure.339046', 1, None, None)
ERROR: Logfile of failure stored in: /home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/temp/log.do_configure.339046
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-core/expat/expat_2.5.0.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/gcc/gcc-cross_11.3.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/gcc/gcc-runtime_11.3.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/qemu/qemu-native_6.2.0.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-app/xrandr_1.5.1.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-lib/libxdamage_1.1.5.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-lib/libxext_1.3.4.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-lib/libxfixes_6.0.0.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.4.bb:do_populate_sysroot', '/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-proto/xorgproto_2021.5.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-core/gettext/gettext_0.21.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-core/libxml/libxml2_2.9.14.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/chrpath/chrpath_0.16.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/meson/meson_0.61.3.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/ninja/ninja_1.10.2.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/python/python3-mako_1.1.6.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-devtools/python/python3_3.10.7.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-extended/xz/xz_5.2.6.bb:do_populate_sysroot', 'virtual:native:/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/xorg-util/makedepend_1.0.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['expat', 'glibc', 'zlib', 'gcc-cross-arm', 'gcc-runtime', 'qemu-native', 'quilt-native', 'xrandr', 'libx11', 'libxdamage', 'libxext', 'libxfixes', 'libxxf86vm', 'xorgproto', 'gettext-native', 'libxml2-native', 'bison-native', 'chrpath-native', 'flex-native', 'meson-native', 'ninja-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'python3-mako-native', 'python3-native', 'xz-native', 'makedepend-native', 'python3-wheel-native', 'python3-setuptools-native', 'python3-installer-native', 'libtool-native', 'attr-native', 'util-macros', 'texinfo-dummy-native', 'gettext-minimal-native', 'zlib-native', 'm4-native', 'readline-native', 'gdbm-native', 'bzip2-native', 'sqlite3-native', 'util-linux-libuuid-native', 'libffi-native', 'libnsl2-native', 'libtirpc-native', 'ncurses-native', 'openssl-native', 're2c-native', 'libgcc', 'linux-libc-headers', 'glib-2.0-native', 'util-macros-native', 'xorgproto-native', 'libxrender', 'libxrandr', 'gnu-config-native', 'binutils-cross-arm', 'gmp-native', 'libmpc-native', 'zstd-native', 'mpfr-native', 'libxcb', 'autoconf-archive', 'xtrans', 'python3-flit-core-native', 'unzip-native', 'perl-native', 'libpcre-native', 'util-linux-native', 'xcb-proto', 'libxau', 'libxdmcp', 'libpthread-stubs', 'make-native', 'libcap-ng-native', 'libpcre2-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| NOTE: Executing meson -Dshared-glapi=enabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=disabled -Delf-tls=false -Dgallium-drivers= -Dllvm=disabled -Dgbm=disabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled...
| The Meson build system
| Version: 0.61.3
| Source dir: /home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/mesa-22.0.3
| Build dir: /home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/build
| Build type: cross build
| Program python3 found: YES (/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
| Project name: mesa
| Project version: 22.0.3
| C compiler for the host machine: arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/recipe-sysroot (gcc 11.3.0 "arm-poky-linux-gnueabi-gcc (GCC) 11.3.0")
| C linker for the host machine: arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/recipe-sysroot ld.bfd 2.38.20220708
| C++ compiler for the host machine: arm-poky-linux-gnueabi-g++ -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/recipe-sysroot (gcc 11.3.0 "arm-poky-linux-gnueabi-g++ (GCC) 11.3.0")
| C++ linker for the host machine: arm-poky-linux-gnueabi-g++ -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/recipe-sysroot ld.bfd 2.38.20220708
| C compiler for the build machine: gcc (gcc 11.3.0 "gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
| C linker for the build machine: gcc ld.bfd 2.38
| C++ compiler for the build machine: g++ (gcc 11.3.0 "g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
| C++ linker for the build machine: g++ ld.bfd 2.38
| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: arm
| Host machine cpu: arm
| Target machine cpu family: arm
| Target machine cpu: arm
| Checking if "-mtls-dialect=gnu2" runs: YES
|
| ../mesa-22.0.3/meson.build:555:6: ERROR: Problem encountered: xlib based GLX requires at least one gallium driver
|
| A full log can be found at /home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/mesa-gl/2_22.0.3-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.3.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2038 tasks of which 2022 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/spanceac/sebu/pocketbook/yocto-pocketbook/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.3.bb:do_configure
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18
#359 kind of related. I’ll try to come up with some fix. Thanks for testing @spanceac
Same error on a bpi m2 zero. Solved adding
MACHINEOVERRIDES .= ":use-mailine-graphics"
in local.conf