-- Installing: /var/tmp/portage/dev-lang/rust-1.19.0/work/rustc-1.19.0-src/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVMLibDriver.a -- Installing: /var/tmp/portage/dev-lang/rust-1.19.0/work/rustc-1.19.0-src/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVMXRay.a CMake Error at bindings/ocaml/llvm/cmake_install.cmake:44 (file): file cannot create directory: /usr/lib64/ocaml/llvm. Maybe need administrative privileges. Call Stack (most recent call first): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0_20170716-131855 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python3.5 (fallback) [4] python2.7 (fallback) [5] pypy3 (fallback) [6] pypy (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * [2] ruby22 (with Rubygems)
Created attachment 486818 [details] emerge-info.txt
Created attachment 486820 [details] dev-lang:rust-1.19.0:20170724-210910.log
Created attachment 486822 [details] emerge-history.txt
Created attachment 486824 [details] environment
Created attachment 486826 [details] etc.portage.tbz2
Created attachment 486828 [details] logs.tbz2
Created attachment 486830 [details] temp.tbz2
I have similar error. -- Installing: /var/tmp/portage/dev-lang/rust-1.19.0/work/rustc-1.19.0-src/build /x86_64-unknown-linux-gnu/llvm/lib/libLLVMXRay.a -- Installing: /usr/lib64/ocaml/llvm/llvm.mli * ACCESS DENIED: unlink: /usr/lib64/ocaml/llvm/llvm.mli * ACCESS DENIED: fopen_wr: /usr/lib64/ocaml/llvm/llvm.mli CMake Error at bindings/ocaml/llvm/cmake_install.cmake:44 (file): file INSTALL cannot copy file "/var/tmp/portage/dev-lang/rust-1.19.0/work/rustc-1.19.0-src/build/x86_64-unkn own-linux-gnu/llvm/build/bindings/ocaml/llvm/llvm.mli" to "/usr/lib64/ocaml/llvm/llvm.mli". Call Stack (most recent call first): bindings/ocaml/cmake_install.cmake:37 (include) cmake_install.cmake:60 (include) Just recently switched to gcc-5.4.0, and emerged world. I can post the output of emerge --info/environment/build log, if required. Thanks, Pankaj
Created attachment 510056 [details, diff] rust-1.19.0-config-ix.cmake-llvm_ocaml_bindings.patch
Comment on attachment 510056 [details, diff] rust-1.19.0-config-ix.cmake-llvm_ocaml_bindings.patch patch to prevent "rust" from trying to copy his llvm ocaml bindings to the system
Created attachment 510058 [details, diff] rust-1.19.0-config-ix.cmake-no_llvm_ocaml_bindings.patch patch to disable buld of llvm ocaml bindings if you don't have installed dev-ml/llvm-ocaml
Created attachment 510062 [details] rust-1.19.0-r1.ebuild This ebuild use attachments 510056 rust-1.19.0-config-ix.cmake-llvm_ocaml_bindings.patch 510058 rust-1.19.0-config-ix.cmake-no_llvm_ocaml_bindings.patch
No longer seems to happen with more recent versions, closing.