Skip to content

espup install: Could not find EOCD #526

@redcell2323

Description

@redcell2323

PS C:\windows\system32> espup install
[info]: Installing the Espressif Rust ecosystem
[info]: Checking Rust installation
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'stable' toolchain
[info]: Installing GCC (xtensa-esp-elf)
[warn]: Previous installation of LLVM exists in: 'E:\Rust.rustup\toolchains\esp\xtensa-esp32-elf-clang'. Reusing this installation
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.88.0.0 toolchain
[warn]: Installation for 'RISC-V Rust target' failed, retrying. Error: Failed to Install RISC-V targets for 'stable' toolchain
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'stable' toolchain
[warn]: Installation for 'RISC-V Rust target' failed, retrying. Error: Failed to Install RISC-V targets for 'stable' toolchain
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'stable' toolchain
[warn]: Installation for 'RISC-V Rust target' failed, retrying. Error: Failed to Install RISC-V targets for 'stable' toolchain
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'stable' toolchain
[warn]: Installation for 'RISC-V Rust target' failed, retrying. Error: Failed to Install RISC-V targets for 'stable' toolchain
[info]: All downloads complete
[00:00:06] ######################################## 156449538/156449538 rust.zip download complete
thread 'tokio-runtime-worker' panicked at src\toolchain\mod.rs:170:60:
called Result::unwrap() on an Err value: InvalidArchive("Could not find EOCD")
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

thread 'tokio-runtime-worker' panicked at src\toolchain\mod.rs:170:60:
called Result::unwrap() on an Err value: InvalidArchive("Could not find EOCD")
Error: espup::toolchain::rust::install_riscv_target

x Failed to Install RISC-V targets for 'stable' toolchain

Current environment : windows 11
rustc 1.89.0 (29483883e 2025-08-04)
espup 0.15.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions