I've read the error report for mingw build and did some tests yesterday.
Added meta-mingw to bblayers.conf and this to local.conf
SDKMACHINE="x86_64-mingw32"
DISTRO_FEATURES:remove = "x11"
and then did 'bitbake core-image-minimal -c do_populate_sdk'
This lead to the expected error message
| Checking whether type "fd_set" has member "fds_bits" : NO
| Checking whether type "fd_set" has member "__fds_bits" : NO
|
| ../xorgproto-2022.1/include/X11/meson.build:19:4: ERROR: Problem
encountered: Your fd_set is too weird.
|
| A full log can be found at
/home/flk/build/poky/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-xorgproto/2022.1-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
I was able to fix this by changing the libsdl2.bbappend in meta-mingw
like this:
PACKAGECONFIG:remove:mingw32:class-nativesdk = "x11 opengl gles2"
Like this libsdl2 doesn't try to build in gl for wayland either and my
build succeeded.
I sent a patch to openembedded-devel for this yesterday.
In general, I think it's a matter of perspective. The current state
forces me to request x11 globally and thus prevents me from deciding
within recipes what to do for wayland and what to do for x11
DISTRO_FEATURE. They always have to come in pairs. I thought that from
wayland's point of view it would be ok to include and use x11, although
it should not be done by default. I understand your concerns about
losing the clean line when mixing x11/Wayland, and it was just an idea.
If you don't like it, I have no problem with it.
Am 06.06.22 um 13:30 schrieb Richard Purdie:
that isn't the issue.
The challenge is you've changed the configuration and dependencies of
libsdl and these new dependencies don't build on mingw. We need to
correct either the configuration of mingw buildss (wrt
DISTRO_FEATURES), or rethink the issues at hand here.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166625):
https://lists.openembedded.org/g/openembedded-core/message/166625
Mute This Topic: https://lists.openembedded.org/mt/91536381/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-