cardoe / cargo-ebuild

cargo extension that can generate ebuilds using the in-tree eclasses
Apache License 2.0
75 stars 13 forks source link

cargo-ebuild-0.4.0: Error: Failed to fetch security advisory database #47

Open mm1ke opened 3 years ago

mm1ke commented 3 years ago

Hi,

I have a problem with cargo ebuild 0.4.0. Whenever i try to create a ebuild from a rust project i'll get a error as follows:

Error: Failed to fetch security advisory database

Caused by:
    git operation failed: invalid version 0 on git_proxy_options; class=Invalid (3)

This happens in every project. The same problem appears on a different machine too. With version 0.3.3 I don't have this problem which is why i had to downgrade now to version 0.3.3.

leonardohn commented 3 years ago

Could you please give more details about the crates you are trying to generate ebuilds for?

You can also use version 0.4.0 with --noaudit flag, it should not try to fetch the database.

mm1ke commented 3 years ago

This happens with any repository, even with this one. (even tried with different tags from the cargo-ebuild repository)

--noaudit does work, thank you, at least this way i can use the latest version now.

leonardohn commented 3 years ago

This seems to be a problem with the rustsec library (https://github.com/rustsec/rustsec/issues/431). Until we have a fix, please keep using --noaudit useflag.