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

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

Open
mm1ke opened this issue Sep 11, 2021 · 3 comments
Open

Comments

@mm1ke
Copy link

mm1ke commented Sep 11, 2021

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
Copy link
Contributor

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
Copy link
Author

mm1ke commented Sep 11, 2021

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
Copy link
Contributor

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

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

2 participants