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/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to