-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
I tried this code, due to installing from source:
Line 1074 in b652d9a
tarball.add_renamed_file(etc.join("cargo.bashcomp.sh"), "etc/bash_completion.d", "cargo"); |
with the installation commands:
./configure --prefix=/path/to/installation/using/a/non/root/user/rust-1.69.0 --enable-extended
python3 ./x.py build
python3 ./x.py install
I expected to see the installation succeed.
Instead, the installation failed when processing the cargo installation. Only the cargo installation uses the Tarball
add_renamed_file
function, so the problem appears isolated to that single function call, due to the implementation of add_renamed_file
.
Meta
rustc --version --verbose
:
rustc 1.69.0-dev (84c898d65 2023-04-16) (built from a source tarball)
binary: rustc
commit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc
commit-date: 2023-04-16
host: x86_64-unknown-linux-gnu
release: 1.69.0-dev
LLVM version: 15.0.7
Backtrace
The output only describes the installation failing with only cargo installed. I didn't save the output.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)