Discussion:
Tool chain instructions
Johannes Kliemann
2017-06-02 12:24:53 UTC
Permalink
Hi,

with the new toolchain, the compression has changed from bzip2 to xz.
The toolchain instructions [1] still state to use
sudo tar xPfj genode-toolchain-<version>-<arch>.tar.bz2
This doesn't work anymore as `-j` requires bzip2 and fails with the
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
A fix would be omitting `-j`, resulting in
sudo tar xPf genode-toolchain-<version>-<arch>.tar.xz
This is also safe since current versions of tar extract bzip2 without
the usage of `-j`.

Regards,
JK

[1]: https://genode.org/download/tool-chain
Christian Helmuth
2017-06-02 12:38:06 UTC
Permalink
Thanks for the hint,

I updated the Genode repo accordingly. The website update is pending.

Greets
--
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Post by Johannes Kliemann
Hi,
with the new toolchain, the compression has changed from bzip2 to xz.
The toolchain instructions [1] still state to use
sudo tar xPfj genode-toolchain-<version>-<arch>.tar.bz2
This doesn't work anymore as `-j` requires bzip2 and fails with the
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
A fix would be omitting `-j`, resulting in
sudo tar xPf genode-toolchain-<version>-<arch>.tar.xz
This is also safe since current versions of tar extract bzip2 without
the usage of `-j`.
Regards,
JK
[1]: https://genode.org/download/tool-chain
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Continue reading on narkive:
Loading...