mozilla/rust — Issue #1949: Cannot build in debootstrap/chroot environment
Author: cko
Created: 2012-03-09 16:34:56+00:00
State: open

I tried to build the source in a debootstrap environment of Debian Wheezy (testing) and got the following error for make:

```
make[3]: Entering directory `/home/user/rust/llvm/x86_64-unknown-linux-gnu/tools/opt'
llvm[3]: Compiling AnalysisWrappers.cpp for Release+Asserts build
llvm[3]: Compiling GraphPrinters.cpp for Release+Asserts build
llvm[3]: Compiling PrintSCC.cpp for Release+Asserts build
llvm[3]: Compiling opt.cpp for Release+Asserts build
make[3]: *** No rule to make target `/home/user/rust/llvm/x86_64-unknown-linux-gnu/tools/lib/libLLVMipo.a', needed by `/home/user/rust/llvm/x86_64-unknown-linux-gnu/Release+Asserts/bin/opt'. Stop.
make[3]: Leaving directory `/home/user/rust/llvm/x86_64-unknown-linux-gnu/tools/opt'
make[2]: *** [opt/.makeall] Error 2
make[2]: Leaving directory `/home/user/rust/llvm/x86_64-unknown-linux-gnu/tools'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/user/rust/llvm/x86_64-unknown-linux-gnu'
make: *** [/home/user/rust/llvm/x86_64-unknown-linux-gnu/Release+Asserts/bin/llvm-config] Error 2
```