Skip to content

Scancode does not associate all Package Resources to a system Package #2986

Description

@JonoYang

Scancode does not associate all Package Resources to a system Package when running --system_package on a Debian RootFS that was extracted with extractcode.

This problem is caused by extractcode replacing the : in .list files with the arch tags in them, e.g. libc6:amd64.list gets extracted as libc6_amd64.list, which causes some code in the debian parsers to not work properly.

https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/debian.py#L266
https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/debian.py#L524

etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions