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

[Question] license check on ring issue #193

Closed
Geobert opened this issue May 12, 2022 · 2 comments
Closed

[Question] license check on ring issue #193

Geobert opened this issue May 12, 2022 · 2 comments

Comments

@Geobert
Copy link

Geobert commented May 12, 2022

I think I'm missing something but when running cargo about generate about.hbs, I bump into this error:

error: failed to satisfy license requirements
   ┌─ /home/geobert/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/Cargo.toml:28:13
   │
28 │ license = "(GPL-1.0-or-later AND OpenSSL AND OpenSSL OR (BSD-3-Clause OR GPL-1.0-or-later)) AND (ISC) AND (ISC AND MIT AND NOASSERTION AND OpenSSL) AND (MIT) AND (NOASSERTION) AND (NOASSERTION AND OpenSSL) AND (OpenSSL) AND (OpenSSL AND OpenSSL OR (BSD-3-Clause OR (GPL-1.0-or-later OR GPL-2.0-only))) AND (OpenSSL AND OpenSSL OR (BSD-3-Clause OR GPL-1.0-or-later))"

I tried to put in about.toml:

[ring]
accepted = ["OpenSSL"]

[ring.clarify]
license = "ISC AND MIT AND OpenSSL"

with no luck.

What am I doing wrong?

Thanks!

@Jake-Shadle
Copy link
Member

You have not specified https://embarkstudios.github.io/cargo-about/cli/generate/config.html#the-files-andor-git-field which is required. I'll make a separate issue that that should be an error if you don't specify it.

I would recommend using https://embarkstudios.github.io/cargo-about/cli/generate/config.html#the-workarounds-field-optional since ring can be clarified there.

@Geobert
Copy link
Author

Geobert commented May 12, 2022

Oh I see, I was sure I was missing something here! Thanks!

@Geobert Geobert closed this as completed May 12, 2022
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

2 participants