fossa analyze --unpack-archives fails on not strictly spec-compliant tar files
I've seen this happen on tar files that raise a warning of "tar: A lone zero block at ####" when extracting manually using tar. Extraction succeeds despite the warnings.
I've not been able to determine what can cause this, I'm guessing it's archives created with a broken tar program. Here are some archives that reproduce the issue:
https://archive.apache.org/dist/xml/xerces-j/binaries/Xerces-J-bin.2.6.2.tar.gz https://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz
As mentioned here, this might have something to do with ancient versions of Ant generating non-compliant tar files. Given that current versions of tar extract this file correctly, I would expect the CLI to be able to extract them correctly even if they are not 100% compliant to spec.
@rolodato I filed an internal ticket (ANE-333) for this issue. This is not a high priority for us but I will pay attention if we see this issue more.