espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.77k stars 7.31k forks source link

Install Error on MacBook (IDFGH-14087) #14901

Open latheefth opened 6 hours ago

latheefth commented 6 hours ago

Answers checklist.

IDF version.

v5.4-dev-4291-g7a305c0284

Operating System used.

macOS

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

What is the expected behavior?

I am new to ESP and trying to install the IDF to start working on it. I cloned git clone --recursive https://github.com/espressif/esp-idf.git and then ./install.sh esp32 but get the below error. Error --> ERROR: Failed to download, and retry count has expired

image

What is the actual behavior?

To be able to use IDF

Steps to reproduce.

I cloned git clone --recursive https://github.com/espressif/esp-idf.git and then ./install.sh esp32 but get the below error. Error --> ERROR: Failed to download, and retry count has expired

Build or installation Logs.

latheefth@Abduls-MBP esp-idf % ./install.sh esp32
Detecting the Python interpreter
Checking "python3" ...
Python 3.13.0
"python3" has been detected
Checking Python compatibility
Installing ESP-IDF tools
Selected targets are: esp32c2, esp32s3, esp32c6, esp32p4, esp32c3, esp32, esp32s2, esp32c5, esp32h2, esp32c61
Current system platform: macos
Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp-elf, riscv32-esp-elf, esp32ulp-elf, openocd-esp32, esp-rom-elfs
Skipping xtensa-esp-elf-gdb@14.2_20240403 (already installed)
Skipping riscv32-esp-elf-gdb@14.2_20240403 (already installed)
Installing xtensa-esp-elf@esp-14.2.0_20240906
Using GitHub assets mirror for URL: https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz => https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz
Downloading https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz
Destination: /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
98%WARNING: file size mismatch for /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp, expected 182793460, got 180173727
WARNING: Download failure: <urlopen error retrieval incomplete: got only 180173727 out of 182793460 bytes>
WARNING: Failed to download https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz to /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
Downloading https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz
Destination: /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
98%WARNING: file size mismatch for /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp, expected 182793460, got 180224867
WARNING: Download failure: <urlopen error retrieval incomplete: got only 180224867 out of 182793460 bytes>
WARNING: Failed to download https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz to /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
Downloading https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz
Destination: /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
97%WARNING: file size mismatch for /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp, expected 182793460, got 178382928
WARNING: Download failure: <urlopen error retrieval incomplete: got only 178382928 out of 182793460 bytes>
WARNING: Failed to download https://dl.espressif.com/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20240906/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz to /Users/latheefth/.espressif/dist/xtensa-esp-elf-14.2.0_20240906-x86_64-apple-darwin.tar.xz.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.

More Information.

No response

latheefth commented 6 hours ago

I have Sonoma os installed on Mac pro15 using open core patcher.