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

Fix databroker cli #81

Merged

Conversation

vasilvas99
Copy link
Contributor

@vasilvas99 vasilvas99 commented Jan 16, 2023

Issue

The databroker-cli fails to build with the provided in the root of the cargo-workspace Cargo.lock, since this lock was generated with a Rust version newer than 1.59.0.

This leads to problems with the dependency resolution during the compilation.

Solution

Delete the repository-provided Cargo.lock, thus causing the bitbake Rust compilation tasks to re-generate it with dependencies matching the Rust version used for the build.

Result

After this fix a clean build goes through and after boot the databroker-cli can be tested:

root@qemuarm64:~# databroker-cli 
transport error
client> help
client commands:

  get             - Get a HAL property
  set             - Set a HAL property
  feed            - Set a HAL property (from vehicle side)
  connect         - Connect
  subscribe       - Subscribe to properties
  metadata        - Get datapoint metadata
  help            - You're looking at it
  quit            - Quit the demo

client> quit
Bye bye!

@mikehaller mikehaller merged commit df8fc47 into eclipse-leda:main Jan 16, 2023
@mikehaller mikehaller deleted the fix-databroker-cli branch January 16, 2023 13:29
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