sunflower-embedded-system-emulator icon indicating copy to clipboard operation
sunflower-embedded-system-emulator copied to clipboard

Downloads.sh script fails to download newlib

Open JamesTimothyMeech opened this issue 4 years ago • 0 comments

Describe the bug The downloads.sh script fails to download newlib

To Reproduce Steps to reproduce the behavior: run command .\downloads.sh in tools/source

Expected behavior meechy@DESKTOP-6HGF0HH:~/sunflower-simulator/tools/source$ ./downloads.sh --2020-12-16 11:30:10-- ftp://ftp.gnu.org/pub/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz => 'gcc-8.2.0.tar.gz.9' Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/gnu/gcc/gcc-8.2.0 ... done. ==> SIZE gcc-8.2.0.tar.gz ... 113811063 ==> PASV ... done. ==> RETR gcc-8.2.0.tar.gz ... done. Length: 113811063 (109M) (unauthoritative) gcc-8.2.0.tar.gz.9 100%[===========================================================================================>] 108.54M 6.47MB/s in 17s 2020-12-16 11:30:29 (6.32 MB/s) - 'gcc-8.2.0.tar.gz.9' saved [113811063] --2020-12-16 11:30:29-- ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.29.1.tar.gz => 'binutils-2.29.1.tar.gz.9' Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/gnu/binutils ... done. ==> SIZE binutils-2.29.1.tar.gz ... 38965138 ==> PASV ... done. ==> RETR binutils-2.29.1.tar.gz ... done. Length: 38965138 (37M) (unauthoritative) binutils-2.29.1.tar.gz.9 100%[===========================================================================================>] 37.16M 6.39MB/s in 6.3s 2020-12-16 11:30:36 (5.94 MB/s) - 'binutils-2.29.1.tar.gz.9' saved [38965138] --2020-12-16 11:30:36-- ftp://sources.redhat.com/pub/newlib/newlib-2.5.0.20170922.tar.gz => 'newlib-2.5.0.20170922.tar.gz' Resolving sources.redhat.com (sources.redhat.com)... 209.132.183.64 Connecting to sources.redhat.com (sources.redhat.com)|209.132.183.64|:21... connected. Logging in as anonymous ... Login incorrect.

Screenshots If applicable, add screenshots to help explain your problem.

Host OS (please complete the following information):

  • WSL

The quick fix is to obtain newlib from here: https://sourceware.org/ftp/newlib/index.html

JamesTimothyMeech avatar Dec 16 '20 11:12 JamesTimothyMeech