Failed to build linux tool chain from scratch

GaneshPodPoint
Posts: 12
Joined: Thu Oct 24, 2019 12:37 pm

Failed to build linux tool chain from scratch

Postby GaneshPodPoint » Sat Jan 30, 2021 7:01 pm

Hi all,
I was trying to build the tool chain from scratch but failed to build in ubuntu 16.04 / 20.04.1.

Code: Select all

[ERROR]    error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@373]
[ERROR]  >>        called from: CT_Download_git[scripts/functions@1873]
[ERROR]  >>        called from: CT_DoFetch[scripts/functions@1997]
[ERROR]  >>        called from: CT_PackageRun[scripts/functions@1924]
[ERROR]  >>        called from: CT_Fetch[scripts/functions@2023]
[ERROR]  >>        called from: do_binutils_get[scripts/build/binutils/binutils.sh@7]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@631]
[ERROR]  >>
I was trying to build the tool chain to support 64bit time_t and i followed as below steps explained in espressif documents.

Code: Select all

git clone https://github.com/espressif/crosstool-NG.git
cd crosstool-NG
git checkout esp-2020r3
git submodule update --init
./bootstrap && ./configure --enable-local && make
Could any one share how you fix the problem. I have attached build log.


Thanks
Ganesh
Attachments
build.log
(74.26 KiB) Downloaded 279 times

GaneshPodPoint
Posts: 12
Joined: Thu Oct 24, 2019 12:37 pm

Re: Failed to build linux tool chain from scratch

Postby GaneshPodPoint » Sun Jan 31, 2021 7:03 pm

Hi all,
Finally i am able to build the linux tool chain from scratch. It was from the router firewall and the web safe from virgin media hub3.0 which was blocking the big size of data from espressif server. Once i disable it, i was able to build it. Hope it might help you, if you are having a trouble.

Thanks
Ganesh

Who is online

Users browsing this forum: atx823, Baidu [Spider], Gaston1980, Google [Bot] and 235 guests