Skip to content

when installing/updating/re-installing Xtensa Rust toolchain with espup MacOS #468

@madhugoundla

Description

@madhugoundla

Hello what is the manual steps for macos? can you please provide the exact steps?, i am having the same issue

Whenever installing/updating/re-installing, getting this error every time:

rust-src-nightly specialuser$ espup install
[info]: Installing the Espressif Rust ecosystem
[info]: Checking Rust installation
[warn]: Previous installation of LLVM exists in: '/Users/specialuser/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912'. Reusing this installation
[info]: Installing GCC (xtensa-esp-elf)
[warn]: Previous installation of GCC exists in: '/Users/specialuser/.rustup/toolchains/esp/xtensa-esp-elf/esp-14.2.0_20240906'. Reusing this installation
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'nightly' toolchain
[info]: Creating symlink between '/Users/specialuser/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib' and '/Users/specialuser/.espup/esp-clang'
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.84.0.0 toolchain
[info]: All downloads complete
[info]: All downloads complete
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: failed to iterate over archive
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.84.0.0 toolchain
[info]: All downloads complete
[info]: All downloads complete
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: failed to iterate over archive
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.84.0.0 toolchain
[info]: All downloads complete
[info]: All downloads complete
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: failed to iterate over archive
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.84.0.0 toolchain
[info]: All downloads complete
[info]: All downloads complete
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: failed to iterate over archive
Error:
× failed to iterate over archive
╰─▶ premature eof

To Reproduce
Steps to reproduce the behavior:

espup uninstall && espup install, or
espup install, or
espup update

Expected behavior
Xtensa Rust 1.84.0.0 toolchain properly insalled.

Environment
OS: MacOS 14.6.1 and MacOS 15.2
espup version: espup 0.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions