All of lore.kernel.org
 help / color / mirror / Atom feed
* nativesdk-mesa fails to build since upgrade to version 22.0.0
@ 2022-03-16  7:40 Matthias Klein
  2022-03-16  8:17 ` Markus Volk
       [not found] ` <16DCCE8EC93DCD97.17060@lists.openembedded.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Matthias Klein @ 2022-03-16  7:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: f_l_k

[-- Attachment #1: Type: text/plain, Size: 1755 bytes --]

Hello,

I am using mesa in conjunction with meta-qt6 without X11/wayland on an iMX6 with etnaviv.

So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".

I use poky with the following DISTRO_FEATURES:
DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
DISTRO_FEATURES:append = " directfb opengl"

Unfortunately, nativesdk-mesa now no longer builds on build via "-c populate_sdk". However, the package for the target still builds.

| ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
| 
| ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support

I compared the meson calls on the target and SDK builds:
NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true -
Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

Does anyone have any idea what I could do to get the SDK built?

Many greetings,
Matthias


[-- Attachment #2: log.do_configure.968764 --]
[-- Type: application/octet-stream, Size: 8490 bytes --]

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/gcc/gcc-crosssdk_11.2.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/chrpath/chrpath_0.16.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-core/libxml/libxml2_2.9.13.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/python/python3-mako_1.1.6.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', '/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/ninja/ninja_1.10.2.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.4.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/meson/meson_0.61.2.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-core/gettext/gettext_0.21.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-proto/xorgproto_2021.5.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-app/xrandr_1.5.1.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-extended/xz/xz_5.2.5.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-lib/libxfixes_6.0.0.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-util/makedepend_1.0.6.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-lib/libxdamage_1.1.5.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-core/expat/expat_2.4.7.bb:do_populate_sysroot', 'virtual:native:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-devtools/python/python3_3.10.2.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/xorg-lib/libxext_1.3.4.bb:do_populate_sysroot', 'virtual:nativesdk:/home/mak/yocto-bekolog-tx6/yocto/poky/meta/recipes-graphics/drm/libdrm_2.4.110.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gcc-crosssdk-x86_64-sdk-linux', 'pseudo-native', 'chrpath-native', 'libxml2-native', 'python3-mako-native', 'bison-native', 'quilt-native', 'ninja-native', 'nativesdk-glibc', 'nativesdk-libxxf86vm', 'meson-native', 'gettext-native', 'flex-native', 'nativesdk-xorgproto', 'pkgconfig-native', 'nativesdk-xrandr', 'nativesdk-libx11', 'xz-native', 'nativesdk-libxfixes', 'nativesdk-gcc-runtime', 'makedepend-native', 'nativesdk-libxdamage', 'nativesdk-zlib', 'nativesdk-expat', 'python3-native', 'nativesdk-libxext', 'nativesdk-libdrm', 'mpfr-native', 'libmpc-native', 'texinfo-dummy-native', 'gnu-config-native', 'gmp-native', 'binutils-crosssdk-x86_64-sdk-linux', 'zlib-native', 'libtool-native', 'python3-wheel-native', 'python3-setuptools-native', 'python3-pip-native', 'gettext-minimal-native', 'bzip2-native', 'util-linux-libuuid-native', 'sqlite3-native', 'openssl-native', 'libnsl2-native', 'readline-native', 'libtirpc-native', 'libffi-native', 'gdbm-native', 'nativesdk-util-macros', 're2c-native', 'm4-native', 'nativesdk-libxrandr', 'nativesdk-libxrender', 'nativesdk-xtrans', 'nativesdk-autoconf-archive', 'nativesdk-libxcb', 'nativesdk-libgcc', 'nativesdk-linux-libc-headers', 'nativesdk-libpthread-stubs', 'nativesdk-libpciaccess', 'xorgproto-native', 'util-macros-native', 'python3-flit-core-native', 'unzip-native', 'perl-native', 'ncurses-native', 'nativesdk-xcb-proto', 'nativesdk-libxau', 'nativesdk-libxdmcp']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -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.2
Source dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/mesa-22.0.0
Build dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build
Build type: cross build
Program python3 found: YES (/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
Project name: mesa
Project version: 22.0.0
C compiler for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-gcc (GCC) 11.2.0")
C linker for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313
C++ compiler for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-g++ (GCC) 11.2.0")
C++ linker for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313
C compiler for the build machine: gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110")
C linker for the build machine: gcc ld.bfd 2.35.2
C++ compiler for the build machine: g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110")
C++ linker for the build machine: g++ ld.bfd 2.35.2
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default

../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support

A full log can be found at /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build/meson-logs/meson-log.txt
ERROR: meson failed
WARNING: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/temp/run.do_configure.968764:191 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/temp/run.do_configure.968764, line 191
	#2: meson_do_configure, /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/temp/run.do_configure.968764, line 180
	#3: do_configure, /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/temp/run.do_configure.968764, line 156
	#4: main, /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/temp/run.do_configure.968764, line 204

[-- Attachment #3: meson-log.txt --]
[-- Type: text/plain, Size: 8961 bytes --]

Build started at 2022-03-15T18:45:07.585380
Main binary: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/nativepython3
Build Options: -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled -Dprefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/usr -Dbindir=bin -Ddatadir=share -Dincludedir=include -Dinfodir=share/info -Dlibdir=lib -Dlibexecdir=libexec -Dlocalstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/var -Dmandir=share/man -Dsbindir=bin -Dsharedstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/com -Dsysconfdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/etc -Dbuildtype=plain -Dwrap_mode=nodownload '--cross-file /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/meson.cross' '--native-file /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/meson.native'
Python system: Linux
The Meson build system
Version: 0.61.2
Source dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/mesa-22.0.0
Build dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build
Build type: cross build
Program python3 found: YES (/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
Running command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 bin/meson_get_version.py
--- stdout ---
22.0.0
--- stderr ---


Project name: mesa
Project version: 22.0.0
Sanity testing C compiler: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot
Is cross compiler: True.
Sanity check compiler command line: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot sanitycheckc.c -o sanitycheckc_cross.exe -O2 -pipe -fmacro-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native= -D_FILE_OFFSET_BITS=64 -c
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
C compiler for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-gcc (GCC) 11.2.0")
C linker for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313
Sanity testing C++ compiler: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot
Is cross compiler: True.
Sanity check compiler command line: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot sanitycheckcpp.cc -o sanitycheckcpp_cross.exe -O2 -pipe -fmacro-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native= -D_FILE_OFFSET_BITS=64 -c
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
C++ compiler for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-g++ (GCC) 11.2.0")
C++ linker for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313
Sanity testing C compiler: gcc
Is cross compiler: False.
Sanity check compiler command line: gcc sanitycheckc.c -o sanitycheckc.exe -isystem/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_FILE_OFFSET_BITS=64 -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/mak/yocto-bekolog-tx6/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build/meson-private/sanitycheckc.exe
C compiler for the build machine: gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110")
C linker for the build machine: gcc ld.bfd 2.35.2
Sanity testing C++ compiler: g++
Is cross compiler: False.
Sanity check compiler command line: g++ sanitycheckcpp.cc -o sanitycheckcpp.exe -isystem/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_FILE_OFFSET_BITS=64 -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/mak/yocto-bekolog-tx6/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110")
C++ linker for the build machine: g++ ld.bfd 2.35.2
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default

../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nativesdk-mesa fails to build since upgrade to version 22.0.0
  2022-03-16  7:40 nativesdk-mesa fails to build since upgrade to version 22.0.0 Matthias Klein
@ 2022-03-16  8:17 ` Markus Volk
       [not found] ` <16DCCE8EC93DCD97.17060@lists.openembedded.org>
  1 sibling, 0 replies; 7+ messages in thread
From: Markus Volk @ 2022-03-16  8:17 UTC (permalink / raw)
  To: Matthias Klein, openembedded-core

Hi Matthias,

since you have disabled x11 for target ... does it help to also remove 
it from native and nativesdk ?

PACKAGECONFIG:remove:class-native = " x11"

PACKAGECONFIG:remove:class-nativesdk = " x11"

Regards,

Markus

Am 16.03.22 um 08:40 schrieb Matthias Klein:
> Hello,
>
> I am using mesa in conjunction with meta-qt6 without X11/wayland on an iMX6 with etnaviv.
>
> So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".
>
> I use poky with the following DISTRO_FEATURES:
> DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
> DISTRO_FEATURES:append = " directfb opengl"
>
> Unfortunately, nativesdk-mesa now no longer builds on build via "-c populate_sdk". However, the package for the target still builds.
>
> | ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
> |
> | ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support
>
> I compared the meson calls on the target and SDK builds:
> NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true -
> Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
> NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
> Does anyone have any idea what I could do to get the SDK built?
>
> Many greetings,
> Matthias
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0
       [not found] ` <16DCCE8EC93DCD97.17060@lists.openembedded.org>
@ 2022-03-16  8:34   ` Markus Volk
  2022-03-16  8:55     ` AW: " Matthias Klein
       [not found]     ` <16DCD0A1D561F84D.17060@lists.openembedded.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Markus Volk @ 2022-03-16  8:34 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]

What does happen, if adding dri3 like this?

|

PACKAGECONFIG:append:class-native = " dri3" |

PACKAGECONFIG:append:class-nativesdk = "dri3"|


|

Am 16.03.22 um 09:17 schrieb Markus Volk:
> Hi Matthias,
>
> since you have disabled x11 for target ... does it help to also remove 
> it from native and nativesdk ?
>
> PACKAGECONFIG:remove:class-native = " x11"
>
> PACKAGECONFIG:remove:class-nativesdk = " x11"
>
> Regards,
>
> Markus
>
> Am 16.03.22 um 08:40 schrieb Matthias Klein:
>> Hello,
>>
>> I am using mesa in conjunction with meta-qt6 without X11/wayland on 
>> an iMX6 with etnaviv.
>>
>> So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".
>>
>> I use poky with the following DISTRO_FEATURES:
>> DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
>> DISTRO_FEATURES:append = " directfb opengl"
>>
>> Unfortunately, nativesdk-mesa now no longer builds on build via "-c 
>> populate_sdk". However, the package for the target still builds.
>>
>> | ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect 
>> -mtls-dialect when cross-compiling, using compiler default
>> |
>> | ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro 
>> requires dri3 for X11 support
>>
>> I compared the meson calls on the target and SDK builds:
>> NOTE: Executing meson -Dshared-glapi=enabled 
>> -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= 
>> -Ddri3=disabled -Degl=enabled -Delf-tls=true 
>> -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled 
>> -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true -
>> Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled 
>> -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled 
>> -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>>
>> NOTE: Executing meson -Dshared-glapi=enabled 
>> -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 
>> -Ddri3=disabled -Degl=enabled -Delf-tls=true 
>> -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled 
>> -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true 
>> -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled 
>> -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled 
>> -Dgallium-xvmc=disabled. ..
>>
>> Does anyone have any idea what I could do to get the SDK built?
>>
>> Many greetings,
>> Matthias
>>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#163324):https://lists.openembedded.org/g/openembedded-core/message/163324
> Mute This Topic:https://lists.openembedded.org/mt/89817006/3618223
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub  [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 4721 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* AW: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0
  2022-03-16  8:34   ` [OE-core] " Markus Volk
@ 2022-03-16  8:55     ` Matthias Klein
       [not found]     ` <16DCD0A1D561F84D.17060@lists.openembedded.org>
  1 sibling, 0 replies; 7+ messages in thread
From: Matthias Klein @ 2022-03-16  8:55 UTC (permalink / raw)
  To: f_l_k, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]

Hello Markus,

Thanks for the quick help!

The variant " to remove x11 " seems to build (incrementally). However, the SDK is still building.
After that I will test the variant regarding dri3. After that I will also do a full/clean build.

Afterwards I will report. But it will take a few hours ...

Many greetings,
Matthias

Von: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> Im Auftrag von Markus Volk via lists.openembedded.org
Gesendet: Mittwoch, 16. März 2022 09:35
An: openembedded-core@lists.openembedded.org
Betreff: Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0


What does happen, if adding dri3 like this?

PACKAGECONFIG:append:class-native = " dri3"

PACKAGECONFIG:append:class-nativesdk = "dri3"




Am 16.03.22 um 09:17 schrieb Markus Volk:
Hi Matthias,

since you have disabled x11 for target ... does it help to also remove it from native and nativesdk ?

PACKAGECONFIG:remove:class-native = " x11"

PACKAGECONFIG:remove:class-nativesdk = " x11"

Regards,

Markus

Am 16.03.22 um 08:40 schrieb Matthias Klein:

Hello,

I am using mesa in conjunction with meta-qt6 without X11/wayland on an iMX6 with etnaviv.

So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".

I use poky with the following DISTRO_FEATURES:
DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
DISTRO_FEATURES:append = " directfb opengl"

Unfortunately, nativesdk-mesa now no longer builds on build via "-c populate_sdk". However, the package for the target still builds.

| ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
|
| ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support

I compared the meson calls on the target and SDK builds:
NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true -
Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

Does anyone have any idea what I could do to get the SDK built?

Many greetings,
Matthias









[-- Attachment #2: Type: text/html, Size: 7098 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* AW: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0
       [not found]     ` <16DCD0A1D561F84D.17060@lists.openembedded.org>
@ 2022-03-16 16:19       ` Matthias Klein
  2022-03-16 16:29         ` Markus Volk
  2022-03-16 16:36         ` Markus Volk
  0 siblings, 2 replies; 7+ messages in thread
From: Matthias Klein @ 2022-03-16 16:19 UTC (permalink / raw)
  To: f_l_k, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3741 bytes --]

Hello Markus,

both variants work. I then used the latter one:
PACKAGECONFIG:append:class-native = " dri3"
PACKAGECONFIG:append:class-nativesdk = " dri3"

I have successfully built small QML (Qt 6.2.4) test programs with the SDK, which also run nicely on the hardware (i.MX6 DualLite with kernel 5.10 / etnaviv).

Many greetings,
Matthias

Von: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> Im Auftrag von Matthias Klein via lists.openembedded.org
Gesendet: Mittwoch, 16. März 2022 09:56
An: f_l_k@t-online.de; openembedded-core@lists.openembedded.org
Betreff: Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0

Hello Markus,

Thanks for the quick help!

The variant " to remove x11 " seems to build (incrementally). However, the SDK is still building.
After that I will test the variant regarding dri3. After that I will also do a full/clean build.

Afterwards I will report. But it will take a few hours ...

Many greetings,
Matthias

Von: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org> <openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>> Im Auftrag von Markus Volk via lists.openembedded.org
Gesendet: Mittwoch, 16. März 2022 09:35
An: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Betreff: Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0


What does happen, if adding dri3 like this?

PACKAGECONFIG:append:class-native = " dri3"

PACKAGECONFIG:append:class-nativesdk = "dri3"




Am 16.03.22 um 09:17 schrieb Markus Volk:
Hi Matthias,

since you have disabled x11 for target ... does it help to also remove it from native and nativesdk ?

PACKAGECONFIG:remove:class-native = " x11"

PACKAGECONFIG:remove:class-nativesdk = " x11"

Regards,

Markus

Am 16.03.22 um 08:40 schrieb Matthias Klein:
Hello,

I am using mesa in conjunction with meta-qt6 without X11/wayland on an iMX6 with etnaviv.

So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".

I use poky with the following DISTRO_FEATURES:
DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
DISTRO_FEATURES:append = " directfb opengl"

Unfortunately, nativesdk-mesa now no longer builds on build via "-c populate_sdk". However, the package for the target still builds.

| ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
|
| ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support

I compared the meson calls on the target and SDK builds:
NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true -
Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..

Does anyone have any idea what I could do to get the SDK built?

Many greetings,
Matthias








[-- Attachment #2: Type: text/html, Size: 9328 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0
  2022-03-16 16:19       ` Matthias Klein
@ 2022-03-16 16:29         ` Markus Volk
  2022-03-16 16:36         ` Markus Volk
  1 sibling, 0 replies; 7+ messages in thread
From: Markus Volk @ 2022-03-16 16:29 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 5055 bytes --]

Hi Matthias,

I created a patchset to align mesa PACKAGECONFIG for native and target 
builds.
I tried compiling my own images and core-image-sato with this patchset 
and had no problems.
Hopefully this will fix your problem as well.

This change seems much cleaner to me, but maybe I'm missing some 
context. I will send the patches to the mailing list and wait for comments.

Markus

Am 16.03.22 um 17:19 schrieb Matthias Klein:
>
> Hello Markus,
>
> both variants work. I then used the latter one:
>
> PACKAGECONFIG:append:class-native = " dri3"
>
> PACKAGECONFIG:append:class-nativesdk = " dri3"
>
> I have successfully built small QML (Qt 6.2.4) test programs with the 
> SDK, which also run nicely on the hardware (i.MX6 DualLite with kernel 
> 5.10 / etnaviv).
>
> Many greetings,
>
> Matthias
>
> *Von:* openembedded-core@lists.openembedded.org 
> <openembedded-core@lists.openembedded.org> *Im Auftrag von *Matthias 
> Klein via lists.openembedded.org
> *Gesendet:* Mittwoch, 16. März 2022 09:56
> *An:* f_l_k@t-online.de; openembedded-core@lists.openembedded.org
> *Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade 
> to version 22.0.0
>
> Hello Markus,
>
> Thanks for the quick help!
>
> The variant " to remove x11 " seems to build (incrementally). However, 
> the SDK is still building.
>
> After that I will test the variant regarding dri3. After that I will 
> also do a full/clean build.
>
> Afterwards I will report. But it will take a few hours ...
>
> Many greetings,
>
> Matthias
>
> *Von:* openembedded-core@lists.openembedded.org 
> <openembedded-core@lists.openembedded.org> *Im Auftrag von *Markus 
> Volk via lists.openembedded.org
> *Gesendet:* Mittwoch, 16. März 2022 09:35
> *An:* openembedded-core@lists.openembedded.org
> *Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade 
> to version 22.0.0
>
> What does happen, if adding dri3 like this?
>
> PACKAGECONFIG:append:class-native = " dri3"
> PACKAGECONFIG:append:class-nativesdk = "dri3"
>
> Am 16.03.22 um 09:17 schrieb Markus Volk:
>
>     Hi Matthias,
>
>     since you have disabled x11 for target ... does it help to also
>     remove it from native and nativesdk ?
>
>     PACKAGECONFIG:remove:class-native = " x11"
>
>     PACKAGECONFIG:remove:class-nativesdk = " x11"
>
>     Regards,
>
>     Markus
>
>     Am 16.03.22 um 08:40 schrieb Matthias Klein:
>
>         Hello,
>
>         I am using mesa in conjunction with meta-qt6 without
>         X11/wayland on an iMX6 with etnaviv.
>
>         So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".
>
>         I use poky with the following DISTRO_FEATURES:
>         DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
>         DISTRO_FEATURES:append = " directfb opengl"
>
>         Unfortunately, nativesdk-mesa now no longer builds on build
>         via "-c populate_sdk". However, the package for the target
>         still builds.
>
>         | ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect
>         -mtls-dialect when cross-compiling, using compiler default
>         |
>         | ../mesa-22.0.0/meson.build:614:2: ERROR: Problem
>         encountered: kmsro requires dri3 for X11 support
>
>         I compared the meson calls on the target and SDK builds:
>         NOTE: Executing meson -Dshared-glapi=enabled
>         -Dgallium-opencl=disabled -Dglx-read-only-text=true
>         -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true
>         -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled
>         -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled
>         -Dlmsensors=disabled -Dopengl=true -
>         Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled
>         -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled
>         -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
>         NOTE: Executing meson -Dshared-glapi=enabled
>         -Dgallium-opencl=disabled -Dglx-read-only-text=true
>         -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true
>         -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled
>         -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled
>         -Dlmsensors=disabled -Dopengl=true -Dosmesa=false
>         -Dlibunwind=disabled -Dgallium-va=disabled
>         -Dgallium-vdpau=disabled -Dvulkan-drivers=
>         -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
>         Does anyone have any idea what I could do to get the SDK built?
>
>         Many greetings,
>         Matthias
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#163339):https://lists.openembedded.org/g/openembedded-core/message/163339
> Mute This Topic:https://lists.openembedded.org/mt/89817006/3618223
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub  [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 13064 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] nativesdk-mesa fails to build since upgrade to version 22.0.0
  2022-03-16 16:19       ` Matthias Klein
  2022-03-16 16:29         ` Markus Volk
@ 2022-03-16 16:36         ` Markus Volk
  1 sibling, 0 replies; 7+ messages in thread
From: Markus Volk @ 2022-03-16 16:36 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 4689 bytes --]

Thanks for testing

Markus

Am 16.03.22 um 17:19 schrieb Matthias Klein:
>
> Hello Markus,
>
> both variants work. I then used the latter one:
>
> PACKAGECONFIG:append:class-native = " dri3"
>
> PACKAGECONFIG:append:class-nativesdk = " dri3"
>
> I have successfully built small QML (Qt 6.2.4) test programs with the 
> SDK, which also run nicely on the hardware (i.MX6 DualLite with kernel 
> 5.10 / etnaviv).
>
> Many greetings,
>
> Matthias
>
> *Von:* openembedded-core@lists.openembedded.org 
> <openembedded-core@lists.openembedded.org> *Im Auftrag von *Matthias 
> Klein via lists.openembedded.org
> *Gesendet:* Mittwoch, 16. März 2022 09:56
> *An:* f_l_k@t-online.de; openembedded-core@lists.openembedded.org
> *Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade 
> to version 22.0.0
>
> Hello Markus,
>
> Thanks for the quick help!
>
> The variant " to remove x11 " seems to build (incrementally). However, 
> the SDK is still building.
>
> After that I will test the variant regarding dri3. After that I will 
> also do a full/clean build.
>
> Afterwards I will report. But it will take a few hours ...
>
> Many greetings,
>
> Matthias
>
> *Von:* openembedded-core@lists.openembedded.org 
> <openembedded-core@lists.openembedded.org> *Im Auftrag von *Markus 
> Volk via lists.openembedded.org
> *Gesendet:* Mittwoch, 16. März 2022 09:35
> *An:* openembedded-core@lists.openembedded.org
> *Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade 
> to version 22.0.0
>
> What does happen, if adding dri3 like this?
>
> PACKAGECONFIG:append:class-native = " dri3"
> PACKAGECONFIG:append:class-nativesdk = "dri3"
>
> Am 16.03.22 um 09:17 schrieb Markus Volk:
>
>     Hi Matthias,
>
>     since you have disabled x11 for target ... does it help to also
>     remove it from native and nativesdk ?
>
>     PACKAGECONFIG:remove:class-native = " x11"
>
>     PACKAGECONFIG:remove:class-nativesdk = " x11"
>
>     Regards,
>
>     Markus
>
>     Am 16.03.22 um 08:40 schrieb Matthias Klein:
>
>         Hello,
>
>         I am using mesa in conjunction with meta-qt6 without
>         X11/wayland on an iMX6 with etnaviv.
>
>         So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".
>
>         I use poky with the following DISTRO_FEATURES:
>         DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
>         DISTRO_FEATURES:append = " directfb opengl"
>
>         Unfortunately, nativesdk-mesa now no longer builds on build
>         via "-c populate_sdk". However, the package for the target
>         still builds.
>
>         | ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect
>         -mtls-dialect when cross-compiling, using compiler default
>         |
>         | ../mesa-22.0.0/meson.build:614:2: ERROR: Problem
>         encountered: kmsro requires dri3 for X11 support
>
>         I compared the meson calls on the target and SDK builds:
>         NOTE: Executing meson -Dshared-glapi=enabled
>         -Dgallium-opencl=disabled -Dglx-read-only-text=true
>         -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true
>         -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled
>         -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled
>         -Dlmsensors=disabled -Dopengl=true -
>         Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled
>         -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled
>         -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
>         NOTE: Executing meson -Dshared-glapi=enabled
>         -Dgallium-opencl=disabled -Dglx-read-only-text=true
>         -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true
>         -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled
>         -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled
>         -Dlmsensors=disabled -Dopengl=true -Dosmesa=false
>         -Dlibunwind=disabled -Dgallium-va=disabled
>         -Dgallium-vdpau=disabled -Dvulkan-drivers=
>         -Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
>
>         Does anyone have any idea what I could do to get the SDK built?
>
>         Many greetings,
>         Matthias
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#163339):https://lists.openembedded.org/g/openembedded-core/message/163339
> Mute This Topic:https://lists.openembedded.org/mt/89817006/3618223
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub  [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 12659 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-16 16:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16  7:40 nativesdk-mesa fails to build since upgrade to version 22.0.0 Matthias Klein
2022-03-16  8:17 ` Markus Volk
     [not found] ` <16DCCE8EC93DCD97.17060@lists.openembedded.org>
2022-03-16  8:34   ` [OE-core] " Markus Volk
2022-03-16  8:55     ` AW: " Matthias Klein
     [not found]     ` <16DCD0A1D561F84D.17060@lists.openembedded.org>
2022-03-16 16:19       ` Matthias Klein
2022-03-16 16:29         ` Markus Volk
2022-03-16 16:36         ` Markus Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.