Update layer config to support wrynose release (6.0)#278
Open
leinher wants to merge 5 commits into
Open
Conversation
This commit only updates LAYERSERIES_COMPAT further changes to run tests in the CI are required. Only used to build include dotnet in our image. Other features not touched..
Yocto 5.3+ (including wrynose 6.0) rejects recipes that set
S = "${UNPACKDIR}/git" because oe-core bitbake.conf now sets S
to match BB_GIT_DEFAULT_DESTSUFFIX (BP) automatically.
Required for CI builds using mono-native 6.12.0.206 and other
git-fetched recipes in this layer.
Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Yocto 5.3+ warns when recipe variable assignments lack spaces around '=' (e.g. export FOO="bar" should be export FOO = "bar"). Fixes warnings in dotnet/python recipes, mono.bbclass, msbuild, nuget, and mono include files. Shell script content in heredocs is left unchanged. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Exception during build_dependencies for do_configure: ExpansionError('S', '//sources/mono-${@mono_workspace_version(d)}', IndexError('list index out of range'))
meta-mono/recipes-mono/mono/mono_6.12.0.206.bb: Error during finalise of /home/hleinweber/verder-os/bitbake-builds/ci-workflow/layers/meta-mono/recipes-mono/mono/mono_6.12.0.206.bb
Also removed mono_workspace_version as its only call was to assign S.
WIP:
Building mono failed with some CMake error I do not have the time to
analyse.
| 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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit only updates LAYERSERIES_COMPAT further changes to run tests in the CI are required.
Only used to build include dotnet in our image. Other features not touched..
As poky does not exist on wrynose I think the CI needs to be changed to use bitbake-setup to run test jobs in the CI. I'm happy to help implementing this if you are also working on this please reach out. If not I'll try to update this PR or create another one (but need to build our application first).