fossa-cli icon indicating copy to clipboard operation
fossa-cli copied to clipboard

fossa analyze --unpack-archives fails with paths over 99 characters long

Open rolodato opened this issue 4 years ago • 1 comments

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

rolodato avatar Nov 25 '21 19:11 rolodato

Thanks @rolodato, I filed an internal ticket for this (ANE-334)

zlav avatar May 20 '22 22:05 zlav