Skip to content

Instllation of 1.82.0.3 on M1 mac failed #455

Open
@georgik

Description

Command: espup install

Log:

[info]: Installing the Espressif Rust ecosystem
[info]: Checking Rust installation
[info]: Installing Xtensa Rust 1.82.0.3 toolchain
[info]: Installing RISC-V Rust targets ('riscv32imc-unknown-none-elf', 'riscv32imac-unknown-none-elf' and 'riscv32imafc-unknown-none-elf') for 'nightly' toolchain
[info]: Installing GCC (xtensa-esp-elf)
[info]: Installing Xtensa LLVM
[info]: Downloading 'rust.tar.xz'
[info]: Downloading 'xtensa-esp-elf.tar.xz'
[info]: Downloading 'idf_tool_xtensa_elf_clang.libs.tar.xz'
[info]: Creating symlink between '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib' and '/Users/georgik/.espup/esp-clang'
[warn]: Installation for 'LLVM' failed, retrying
[warn]: Previous installation of LLVM exists in: '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912'. Reusing this installation
[info]: Creating symlink between '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib' and '/Users/georgik/.espup/esp-clang'
[warn]: Installation for 'LLVM' failed, retrying
[warn]: Previous installation of LLVM exists in: '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912'. Reusing this installation
[info]: Creating symlink between '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib' and '/Users/georgik/.espup/esp-clang'
[warn]: Installation for 'LLVM' failed, retrying
[warn]: Previous installation of LLVM exists in: '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912'. Reusing this installation
[info]: Creating symlink between '/Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib' and '/Users/georgik/.espup/esp-clang'
[warn]: Installation for 'LLVM' failed, retrying
thread 'tokio-runtime-worker' panicked at /Users/georgik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/espup-0.13.0/src/toolchain/mod.rs:244:32:
called `Result::unwrap()` on an `Err` value: SendError { .. }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error:   × File exists (os error 17)

Expected behavior: Display error message with suggestion on remedy, not a RUST_BACKTRACE.

Workaround: rm -rf /Users/georgik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-18.1.2_20240912/esp-clang/lib /Users/georgik/.espup/esp-clang

After the removel the installation proceeds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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