Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Kirkstone] cross dependency with meta-rust and meta-lts-mixins #805

Open
davidcodesido opened this issue May 3, 2024 · 7 comments
Open

Comments

@davidcodesido
Copy link

I'm currently building a project that requires azure-iotedge which depends on meta-rust and chromium. The project is based on kirkstone thus it needs meta-lts-mixins to provide rust according to the documentation.

Is there any way I can combine both dependecies? I'm quite new to yocto/rust/cargo etc. Any help is welcome.

@davidcodesido davidcodesido changed the title cross dependency with meta-rust and meta-lts-mixins [Kirkstone] cross dependency with meta-rust and meta-lts-mixins May 3, 2024
@kraj
Copy link
Collaborator

kraj commented May 3, 2024

we only support master branch across releases so best option is to try master branch

@davidcodesido
Copy link
Author

I tried master branch but it doesn't support kirkstone. Only scarthgap and nanbield

@davidcodesido
Copy link
Author

I added kirkstone to the layer.conf file but the compilation of rust fails, my bet is that it can't build rust, only rust-native

diff --git a/meta-chromium/conf/layer.conf b/meta-chromium/conf/layer.conf
index ce6372d..98eaa66 100644
--- a/meta-chromium/conf/layer.conf
+++ b/meta-chromium/conf/layer.conf
@@ -9,6 +9,6 @@ BBFILE_PATTERN_chromium-browser-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_chromium-browser-layer = "7"

 LAYERVERSION_chromium-browser-layer = "1"
-LAYERSERIES_COMPAT_chromium-browser-layer = "nanbield scarthgap"
+LAYERSERIES_COMPAT_chromium-browser-layer = "nanbield scarthgap kirkstone"

 LAYERDEPENDS_chromium-browser-layer = "clang-layer core openembedded-layer"

@kraj
Copy link
Collaborator

kraj commented May 3, 2024

there is kirkstone branch now so you should try that first for meta-chromium, also go through README in meta-chromium for dependency needs.

@davidcodesido
Copy link
Author

That's my point. I change to kirkstone branch in meta-chromium and it depends of lts-rust-mixins. This is what creates the conflict with meta-rust.

@davidcodesido
Copy link
Author

I see you also maintain lts-rust-mixins @kraj Is there a way for this two projects meta-rust and meta-lts-mixins to coexist? The moment I add the layer for meta-lts-mixins the builds of iotedge fail and with meta-rust only the build for chromium fail. Any help will be welcome since I've spent already weeks trying to figure this one out.

@petergerten
Copy link

same problem here - any workaround?

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

No branches or pull requests

3 participants