Space in path prevents build #100957
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I'm trying to build rust from commit 4a24f08 by running
x.py build
, but keep getting the build errorc++: error: TB/repositories/rust/build/x86_64-unknown-linux-gnu/llvm/build/./lib: No such file or directory
. I've pasted the complete build output towards the bottom of this but report, but the issue is that I have a space in my path; the complete path to the location the build system is looking for is/mnt/2.0 TB/repositories/rust/build/x86_64-unknown-linux-gnu/llvm/build/./lib
.Dealing with it is trivial, just rename paths to not have spaces, but this is annoying so if it's an easy fix it should be fixed. If it's difficult, then just put a note somewhere that paths cannot have whitespace in them. Better yet, modify
x.py
to verify that there aren't any spaces in the path, and quit with an error message if there are any.The bug in full
Meta
The text was updated successfully, but these errors were encountered: