cargo-ebuild icon indicating copy to clipboard operation
cargo-ebuild copied to clipboard

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

Open mm1ke opened this issue 4 years ago • 3 comments

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.

mm1ke avatar Sep 11 '21 15:09 mm1ke

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.

leonardohn avatar Sep 11 '21 15:09 leonardohn

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.

mm1ke avatar Sep 11 '21 15:09 mm1ke

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.

leonardohn avatar Sep 11 '21 16:09 leonardohn