Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"link" decompression fails #52

Open
yurydelendik opened this issue Mar 7, 2017 · 5 comments
Open

"link" decompression fails #52

yurydelendik opened this issue Mar 7, 2017 · 5 comments

Comments

@yurydelendik
Copy link

yurydelendik commented Mar 7, 2017

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

@sindresorhus
Copy link
Contributor

Would you mind submitting a failing test?

@yurydelendik
Copy link
Author

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)

@brusherru
Copy link

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)

@GongT
Copy link

GongT commented Oct 25, 2018

Same, I tried to unpack riscv toolchain (very like arduino's)

@AllanOricil
Copy link

Hi guys, will you try to fix it? I started with your lib today and already found this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants