<div dir="ltr"><div dir="ltr"><div>I have been building llvm 8.0.0 as a cross compiler for the AROS operating system and have been stuck with this error:</div><div><br></div><div>-- Installing: /home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/tools/crosstools/lib/libLLVMWindowsManifest.so.8<br>-- Installing: /home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/tools/crosstools/lib/libLLVMWindowsManifest.so<br>-- Installing: /usr/lib/ocaml/llvm/llvm.mli<br>CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):<br>  file INSTALL cannot copy file<br>  "/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/bindings/ocaml/llvm/llvm.mli"<br>  to "/usr/lib/ocaml/llvm/llvm.mli".<br>Call Stack (most recent call first):<br>  bindings/ocaml/cmake_install.cmake:42 (include)<br>  cmake_install.cmake:67 (include)<br><br>mmakefile:346: recipe for target '/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/.installed' failed<br>make[1]: *** [/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/.installed] Error 1<br>[MMAKE] Error: Error while running make in tools/crosstools/llvm: No such file or directory</div><div>...</div><div><br></div><div>llvm is the second program built bythe compiler llvm 8 for this project. <br></div><div>Why is it failing? <br></div><div>What log or error files should I be looking at with an llvm build? <br></div><div>Why is llvm (cmake) writing back the files it copied from my system?</div><div> Are write permissions really necessary to let llvm (cmake) write back these files?<br></div><div><br></div><div>Thank you for any help!<br></div><div>-- <br><div dir="ltr" class="gmail_signature">Regards,<br>David Gilmore<br>dmgaust at gmail dot com</div></div></div></div>