Skip to content

6.12.y fails to parse properly #25

@gregkh

Description

@gregkh
python3 sbom/sbom.py --src-tree ~/linux/stable/linux-6.12.y --output-tree ~/linux/stable/linux-6.12.y --root-output-in-tree vmlinux --spdx sbom.spdx.json --used-files sbom.used_files.txt
[INFO] Building cmd graph for vmlinux
[INFO] Build Node: vmlinux
Traceback (most recent call last):
  File "/mnt/fast_t2/linux/trees/KernelSbom/sbom/sbom.py", line 169, in <module>
    main()
    ~~~~^^
  File "/mnt/fast_t2/linux/trees/KernelSbom/sbom/sbom.py", line 137, in main
    cmd_graph = build_cmd_graph(root_output_in_tree, output_tree, src_tree)
  File "/mnt/fast_t2/linux/trees/KernelSbom/sbom/lib/sbom/cmd/cmd_graph.py", line 69, in build_cmd_graph
    input_files = parse_commands(cmd_file.savedcmd)
  File "/mnt/fast_t2/linux/trees/KernelSbom/sbom/lib/sbom/cmd/savedcmd_parser.py", line 321, in parse_commands
    raise NotImplementedError(f"No parser matched command: {single_command}")
NotImplementedError: No parser matched command: make -f ./arch/x86/Makefile.postlink vmlinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions