Bug description
Running espup install fails while installing the Xtensa Rust toolchain.
The error reported is:
Error: espup::toolchain::unsupported_file_extension
× Unsuported file extension: 'part'
This appears to happen because espup downloads the Xtensa Rust archive to a temporary *.part file and then tries to extract that temporary file, so the extractor sees the extension part instead of the real archive type.
I think this is a regression that came up with 0.17.0 as 0.16.0 is working fine.
- Would you like to work on a fix? [n]
To Reproduce
Steps to reproduce the behavior:
- Install the latest
espup
- Run
espup install
- Wait for the Xtensa Rust installation step
- Observe the failure with
unsupported_file_extension: 'part'
Expected behavior
espup install should complete successfully and extract the downloaded Xtensa Rust archive instead of failing on the temporary .part file.
Screenshots
Not applicable.
Environment
- OS: Linux (Ubuntu 24.04.4)
- espup version: v0.17.0
Additional context
Full output:
[info]: Installing the Espressif Rust ecosystem
[info]: Checking Rust installation
[info]: Installing Xtensa Rust 1.93.0.0 toolchain
[info]: Installing Xtensa LLVM
[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]: Installation for 'Xtensa Rust' failed, retrying. Error: Unsuported file extension: 'part'
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.93.0.0 toolchain
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: Unsuported file extension: 'part'
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.93.0.0 toolchain
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: Unsuported file extension: 'part'
[warn]: Failed to detect version of Xtensa Rust, reinstalling it
[info]: Uninstalling Xtensa Rust toolchain
[info]: Installing Xtensa Rust 1.93.0.0 toolchain
[warn]: Installation for 'Xtensa Rust' failed, retrying. Error: Unsuported file extension: 'part'
[00:00:00] ######################################## 4047448/4047448 rust-src.tar.xz download complete
[00:00:00] ######################################## 4047448/4047448 rust-src.tar.xz download complete
[00:00:00] ######################################## 4047448/4047448 rust-src.tar.xz download complete
[00:00:00] ######################################## 4047448/4047448 rust-src.tar.xz download complete Error: espup::toolchain::unsupported_file_extension
× Unsuported file extension: 'part'
From reviewing the current install flow, this looks like a regression in espup rather than an environment issue.
Bug description
Running
espup installfails while installing the Xtensa Rust toolchain.The error reported is:
This appears to happen because
espupdownloads the Xtensa Rust archive to a temporary*.partfile and then tries to extract that temporary file, so the extractor sees the extensionpartinstead of the real archive type.I think this is a regression that came up with 0.17.0 as 0.16.0 is working fine.
To Reproduce
Steps to reproduce the behavior:
espupespup installunsupported_file_extension: 'part'Expected behavior
espup installshould complete successfully and extract the downloaded Xtensa Rust archive instead of failing on the temporary.partfile.Screenshots
Not applicable.
Environment
Additional context
Full output:
From reviewing the current install flow, this looks like a regression in
espuprather than an environment issue.