decompress
decompress copied to clipboard
"link" decompression fails
The following file fails to decompress:
https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/linux_64bit/emscripten-llvm-latest.tar.gz
It fails during link creation due to not-finding the file, however the file is present in the archive.
P.S. on Ubuntu/Linux
Would you mind submitting a failing test?
Would you mind submitting a failing test?
Sorry, I'm not familiar with ava.
Using a workaround atm (see https://github.com/wasdk/wasdk-utils/blob/73a7a5ba8302adf2b30e03cd05d15bd643cb56ff/src/unpack.ts)
The same problem was detected when I tried to unpack avr-gcc-4.9.2-atmel3.5.4-arduino2-i386-apple-darwin11.tar.bz2
(you can download it here: http://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.4-arduino2-i386-apple-darwin11.tar.bz2 ).
The archive has links and sometimes it unpacks correctly, sometimes it throws an error:
Error: ENOENT: no such file or directory, link 'avr/bin/avr-c++' -> 'some-path/avr/bin/avr-g++'
So I think it depends on the order of unpacking files, sometimes needed files unpacked earlier and it works, sometimes it tried to create a link before unpacking a target file...
(MacOS, but I'm sure that could be reproduced on any platform)
Same, I tried to unpack riscv toolchain (very like arduino's)
Hi guys, will you try to fix it? I started with your lib today and already found this issue.