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

gst-plugins-rs: Cannot parse Cargo.toml #74

Open
fabioestevam opened this issue Apr 9, 2024 · 4 comments
Open

gst-plugins-rs: Cannot parse Cargo.toml #74

fabioestevam opened this issue Apr 9, 2024 · 4 comments

Comments

@fabioestevam
Copy link

Hi,

I am trying to use "cargo bitbake" to generate a recipe for the gst-plugins-rs 0.12.4 version:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/0.12?ref_type=heads

but I am getting the following error:

$ cargo bitbake
error: failed to load manifest for workspace member `/home/fabio/gst-plugins-rs/tutorial`

Caused by:
  failed to parse manifest at `/home/fabio/gst-plugins-rs/tutorial/Cargo.toml`

Caused by:
  invalid type: map, expected SemVer version for key `package.version`

The Cargo.toml that fails to parse is this one:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/0.12/tutorial/Cargo.toml?ref_type=heads

Any ideas, please?

@fabioestevam fabioestevam changed the title meta-gstreamer-rs: Cannot pares gst-plugins-rs: Cannot parse Cargo.toml Apr 9, 2024
@fabioestevam
Copy link
Author

Adding @brgl who worked on creating a recipe for gst-plugins-rs 0.8.4:
https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/

@krucod3
Copy link

krucod3 commented Aug 1, 2024

We are having similar issues for a recipe for Eclipse Ankaios.
It seems like cargo bitbake cannot cope with workspace inherited attributes.

@fabioestevam, a workaround would be to specify the version in every package in the workspace.

The last work on this repo was done some time ago and it looks like the maintainer is searching for a successor, see #77.

@poett1
Copy link

poett1 commented Aug 31, 2024

@fabioestevam have you been able to find a solution to build the recipe? I am currently trying to do the same and any advice you could give me would be greatly appreciated.

@fabioestevam
Copy link
Author

Hi @poett1

I haven't made progress on this and moved to other projects. Are you trying to write am OpenEmbedded recipe for gst-plugins-rs?

Maybe it is worth posting to the OpenEmbedded mailing list.

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

No branches or pull requests

3 participants