-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
Describe the bug
The spdxtagvalue document generated by Tern is not validating.
To Reproduce
Steps to reproduce the behavior:
- At the tip of master, run:
tern -r report -i photon:3.0 -o output.spdx -f spdxtagvalue - Download the spdx validation tool at https://bintray.com/spdx/spdx-tools/download_file?file_path=org%2Fspdx%2Ftools-java%2F0.0.4%2Ftools-java-0.0.4-jar-with-dependencies.jar
- Try to verify the document: `java -jar ~/tools-java-0.0.4-jar-with-dependencies.jar Verify output.spdx
- See error
Error in terminal
This SPDX Document is not valid due to:
Invalid element reference in relationship: SPDXRef-photon:3.0-photon-3.0 at line number 20
# Line 20:
20 Relationship: SPDXRef-photon:3.0-photon-3.0 CONTAINS SPDXRef-b51a3a7866
21
22
23 PackageName: layer.tar
24 SPDXID: SPDXRef-b51a3a7866
Expected behavior
Document should validate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething went wrongSomething went wrong