Setup_host.sh script not working

OS: Ubuntu 18.04
Pynq version: 6b345bfad446c49a9082b18a3a9ab0f4fd13a369 (or at least that’s what I get when running ‘git rev-parse origin/master’).

I’m following this tutorial:

[Making Cora Pynq - Digilent Projects]

to try and get Pynq working on my Cora z7007s. After cloning the repository using:

“git clone GitHub - Xilinx/PYNQ: Python Productivity for ZYNQ

I run the setup_host.sh script and it fails with the following error:

2020-02-10 14:01:16 (5.77 MB/s) - ‘crosstool-ng-1.24.0.tar.bz2’ saved [888]

+ tar -xf crosstool-ng-1.24.0.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Please help.
Thanks.

It looks like the crosstool-ng project has forgotten to renew their domain which has broken our download script - http://crosstool-ng.org/ is down · Issue #1299 · crosstool-ng/crosstool-ng · GitHub

For now you can download the source distribution from the github issue above and install crosstool-ng manually - you may need to run autoconf manually. If the link doesn’t come back up on it’s own in the near future we’ll rework our download script.

Peter