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: [email protected] 
<[email protected]> Im Auftrag von Markus Volk via 
lists.openembedded.org
Gesendet: Mittwoch, 16. März 2022 09:35
An: [email protected]
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 (#163327): 
https://lists.openembedded.org/g/openembedded-core/message/163327
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