X build tries installing, despite install being a separate command
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.2k
- PR merge metrics
- PR metrics pending
Description
Summary
./x.py build
or
./x.py dist
fails with
[3945/3946] Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libLLVMDemangle.a
CMake Error at lib/Demangle/cmake_install.cmake:46 (file):
file INSTALL cannot copy file
"/src/rust/build/x86_64-unknown-linux-gnu/llvm/build/lib/libLLVMDemangle.a"
to "/usr/local/lib/libLLVMDemangle.a": Permission denied.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
Expected behaviour
Build shouldnt be installing
Actual behaviour
Build commands try installing
Bootstrap configuration (bootstrap.toml)
<config>
Operating system
HEAD
Additional context
Build Log
<log>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with ./x.py build or ./x.py dist and inspect the CMake install step shown in the build log, including lib/Demangle/cmake_install.cmake. Check how bootstrap.toml and the x.py entry point configure build versus install actions. Done means build and dist complete without attempting to install files into /usr/local.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100