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.
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.listfiles with the arch tags in them, e.g.libc6:amd64.listgets extracted aslibc6_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.