Skip to content

Conversation

@zboszor
Copy link
Collaborator

@zboszor zboszor commented Apr 28, 2025

No description provided.

zboszor added 5 commits April 28, 2025 08:47
Yocto 5.2 Walnascar is close to being released. Support it.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@zboszor zboszor requested a review from ajlennon April 28, 2025 07:06
zboszor added 2 commits April 28, 2025 09:17
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@ajlennon
Copy link
Member

Seems to be failing

@zboszor
Copy link
Collaborator Author

zboszor commented Apr 28, 2025

Seems to be failing

Yes, but what? All CI tasks seem to be stuck in "queued" as far as I can see.

FWIW, I can start my build locally now, and there are no more has a lack of whitespace around the assignment warnings coming from meta-mono recipes.

@ajlennon
Copy link
Member

Yes I restarted the box and there's some very strange sstate error. Maybe I need to wipe out the sstate

@ajlennon
Copy link
Member

fwiw it is building here for some reason

https://github.com/DynamicDevices/meta-mono/actions/runs/14702446718

@ajlennon ajlennon closed this May 12, 2025
@ajlennon ajlennon reopened this May 12, 2025
@ajlennon ajlennon closed this May 12, 2025
@ajlennon ajlennon reopened this May 12, 2025
@ajlennon
Copy link
Member

Killed the sstate and re-ran. Something strange going on. First build works and second doesn't. Am wondering if the first build is polluting something?

https://github.com/DynamicDevices/meta-mono/actions/runs/14969532368/job/42060720344

Add whinlatter to LAYERSERIES_COMPAT in conf/layer.conf.

Add an abstract MONO_GIT_S setting in conf/layer.conf so recipes
that use git:// in SRC_URI can work in styhead, walnascar and
whinlatter, despite the different target directory for sources.

Use MONO_GIT_S in recipe that use git:// in SRC_URI.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@zboszor
Copy link
Collaborator Author

zboszor commented Sep 10, 2025

I get this under current Yocto master:

| mkdir -p build-shared
| (cd build-shared && CC="gcc " CXX="g++ " "/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/recipe-sysroot-native/usr/bin/cmake" -D CMAKE_MAKE_PROGRAM="/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/recipe-sysroot-native/usr/bin/make" -D CMAKE_INSTALL_PREFIX:PATH="/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/recipe-sysroot-native/usr" -D BTLS_ROOT:PATH="/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/sources/mono-6.12.0.206/external/boringssl" -D SRC_DIR:PATH="/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/sources/mono-6.12.0.206/mono/btls" -D BTLS_CFLAGS:STRING="-isystem/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/recipe-sysroot-native/usr/include "  -DBTLS_ARCH="x86_64" -DBUILD_SHARED_LIBS=1 "/mnt/zozo/yocto-5.3-arm/tmp-sicom/work/x86_64-linux/mono-native/6.12.0.206/sources/mono-6.12.0.206/mono/btls")
| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
| 
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
| 
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
| 
| 
| -- Configuring incomplete, errors occurred!
| make[3]: *** [Makefile:684: build-shared/Makefile] Error 1

I will have to patch the btls build so it may work with cmake 4.0 in Yocto master.

EDIT: Apparently, the "Framework Mono" (renamed so when Mono was pulled under the Wine project umbrella) version 6.14.1 has modified the CMake minimum version requirements for at least btls, so it may have a chance to build under Yocto 5.3. See https://gitlab.winehq.org/mono/mono/-/releases

This version compiles with cmake 4.0, i.e. under Yocto 5.3.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@zboszor zboszor changed the title Walnascar support walnascar and whinlatter support Sep 11, 2025
@ajlennon
Copy link
Member

Not sure why it's not picking up the CI - closing and reopening to try to trigger

@ajlennon ajlennon closed this Sep 11, 2025
@ajlennon ajlennon reopened this Sep 11, 2025
@ajlennon
Copy link
Member

Not sure why this isn't picking up - the action runner is online and connected - just rebooted the CI box. Bit caught up at the moment but will try to look later

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@zboszor
Copy link
Collaborator Author

zboszor commented Sep 11, 2025

@ajlennon Apparently, there are a few fixes at https://gitlab.winehq.org/mono/mono/-/tree/main for arm64 that needed backporting to the 6.14 branch. Can you please trigger the CI in case it went haywire again? Thanks.

@ajlennon ajlennon closed this Sep 11, 2025
@ajlennon ajlennon reopened this Sep 11, 2025
@ajlennon
Copy link
Member

Done

@ajlennon
Copy link
Member

I dunno if you can do this but if you can close and repoen the PR this is what I do and should (I think) trigger the CI

Not sure about the reason, but styhead vs arm and/or arm64
always gets stuck. Let's try without styhead.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@zboszor zboszor closed this Sep 12, 2025
@zboszor zboszor reopened this Sep 12, 2025
@zboszor
Copy link
Collaborator Author

zboszor commented Sep 12, 2025

Closing / reopening does not seem to work for me.

FWIW, styhead vs arm/arm64 is likely to get stuck. Not sure if it's your CI box or what actually causes it. I can build mono-native and mono just fine on my buildboxes.

Anyway, I pushed a new commit to omit styhead from the CI test matrix, so it's walnascar and master only for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants