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

Incorrect license_id #100

Open
vargenau opened this issue Feb 24, 2025 · 0 comments
Open

Incorrect license_id #100

vargenau opened this issue Feb 24, 2025 · 0 comments

Comments

@vargenau
Copy link
Contributor

phpwiki.spdx.json

The generated SPDX is invalid:

pyspdxtools -i phpwiki.spdx.json
ERROR:root:The document is invalid. The following issues have been found:
Unrecognized license reference: LicenseRef-GPL-1.0-or-later. license_expression must only use IDs from the license list or extracted licensing info, but is: BSD-3-Clause AND LicenseRef-scancode-public-domain AND LicenseRef-scancode-public-domain AND GPL-1.0-or-later AND LicenseRef-GPL-1.0-or-later AND GPL-2.0-or-later WITH x11vnc-openssl-exception AND CC-BY-2.5 AND GPL-2.0-only AND LGPL-3.0-only AND GPL-2.0-only AND BSD-2-Clause AND LicenseRef-scancode-php-2.0.2 AND MIT AND LicenseRef-GPL-1.0-or-later AND CC-BY-2.5 AND GPL-2.0-only AND LicenseRef-LGPL-2.1-only WITH LicenseRef-scancode-generic-exception
Unrecognized license reference: LicenseRef-LGPL-2.1-only. license_expression must only use IDs from the license list or extracted licensing info, but is: BSD-3-Clause AND LicenseRef-scancode-public-domain AND LicenseRef-scancode-public-domain AND GPL-1.0-or-later AND LicenseRef-GPL-1.0-or-later AND GPL-2.0-or-later WITH x11vnc-openssl-exception AND CC-BY-2.5 AND GPL-2.0-only AND LGPL-3.0-only AND GPL-2.0-only AND BSD-2-Clause AND LicenseRef-scancode-php-2.0.2 AND MIT AND LicenseRef-GPL-1.0-or-later AND CC-BY-2.5 AND GPL-2.0-only AND LicenseRef-LGPL-2.1-only WITH LicenseRef-scancode-generic-exception
Unrecognized license reference: LicenseRef-BSD-2-Clause. license_expression must only use IDs from the license list or extracted licensing info, but is: LicenseRef-BSD-2-Clause AND curl AND PHP-3.0 AND BSD-2-Clause AND BSD-3-Clause
license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: LicenseRef-BSD-2-Clause AND curl AND PHP-3.0
license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: LicenseRef-scancode-public-domain AND GPL-1.0-or-later
license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: LicenseRef-GPL-1.0-or-later AND GPL-2.0-or-later WITH x11vnc-openssl-exception AND CC-BY-2.5 AND GPL-2.0-only
license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: LicenseRef-GPL-1.0-or-later AND CC-BY-2.5 AND GPL-2.0-only
license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: LicenseRef-LGPL-2.1-only WITH LicenseRef-scancode-generic-exception

Created by:

svn checkout https://svn.code.sf.net/p/phpwiki/code/trunk phpwiki
scanoss-py scan --format spdxlite --output phpwiki.spdx.json phpwiki/
scanoss-py --version
Version: 1.20.1
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

1 participant