Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

The tool fails for wasmer and doesn't give much information #29

Closed
williamh opened this issue Dec 17, 2019 · 4 comments
Closed

The tool fails for wasmer and doesn't give much information #29

williamh opened this issue Dec 17, 2019 · 4 comments

Comments

@williamh
Copy link

reproduce as follows:

whubbs@whubbs1 ~ $ git clone git@github.com:wasmerio/wasmer
Cloning into 'wasmer'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 70416 (delta 5), reused 6 (delta 0), pack-reused 70394
Receiving objects: 100% (70416/70416), 57.83 MiB | 7.92 MiB/s, done.
Resolving deltas: 100% (56455/56455), done.
whubbs@whubbs1 ~ $ cd wasmer
/home/whubbs/wasmer
whubbs@whubbs1 wasmer $ git checkout 0.11.0
...
Note: switching to '0.11.0'.

...

HEAD is now at 8f50dab0f Trying to improve release process
whubbs@whubbs1 wasmer $ cargo-ebuild ebuild
failed to parse manifest at `/home/whubbs/wasmer/Cargo.toml`
whubbs@whubbs1 wasmer $

Any help would be appreciated.

Thanks,

William

@cardoe
Copy link
Owner

cardoe commented Dec 23, 2019

That's actually an internal error coming from Cargo itself. This crate uses an older version of Cargo and it's likely related to that. I'm in the process of switching a lot of usage over to cargo_toml and cargo_metadata. I've been burned before by cargo_metadata removing data necessary but I'll attempt to trust it again.

@cardoe
Copy link
Owner

cardoe commented Dec 26, 2019

So I've created a branch https://github.com/cardoe/cargo-ebuild/tree/change-up-the-parse which might do a better job. Any chance you can give it a whirl? I'm on slow, spotty internet until after the new year so I cannot test until then.

@RuTom
Copy link

RuTom commented Jan 8, 2020

So I gave the branch a try because I faced a similar problem and it does produce an ebuild.
Haven't tested if the wasmer build would compile but it did create a valid ebuild.

@cardoe
Copy link
Owner

cardoe commented Jan 26, 2020

I've gone ahead and released cargo-ebuild 0.3.0 with these changes.

@cardoe cardoe closed this as completed Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants