fossa-cli
fossa-cli copied to clipboard
fossa analyze --unpack-archives fails with paths over 99 characters long
Steps to reproduce, starting from an empty directory:
mkdir this-directory-is-over-99-characters-long-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
touch $_/hi.txt
tar cvzf test.tar.gz *
fossa analyze --unpack-archives
Result:
[ERROR] ----------
An error occurred:
An exception occurred: /tmp/test.tar.gz-a8bc3d0d1e9449e2/this-directory-is-over-99-characters-long-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: openBinaryFile: inappropriate type (Is a directory)
Traceback:
I believe we're hitting this bug: https://github.com/haskell/tar/issues/27
Thanks @rolodato, I filed an internal ticket for this (ANE-334)