Issue 125437
Summary Cannot find "docs/ocamldoc/html/." error while installing llvm on Debian Trixie (current testing)
Labels
Assignees
Reporter nataraj-hates-MS-for-stealing-github
    Hi I am building current (a5e969a82b6ec9e799235897973f83ae4f1e4245)  main branch on Debian Trixie (Current Testing) and getting "file INSTALL cannot find" error for docs/ocamldoc/html/.

How to reporoduce:

to get all build dependencies that are needed I do
```
sudo apt-get build-dep llvm-toolchain-19
```
then
```
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
cmake -S llvm -B build -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Debug
cd build/
make -j16
sudo make install
```

And you will finally get an error
```
-- Installing: /usr/local/bin/verify-uselistorder
-- Set non-toolchain portion of runtime path of "/usr/local/bin/verify-uselistorder" to "$ORIGIN/../lib"
CMake Error at docs/cmake_install.cmake:46 (file):
  file INSTALL cannot find
 "/home/nataraj/dev/clang/bugreport/llvm-project/build/docs/ocamldoc/html/.":
 No such file or directory.
Call Stack (most recent call first):
 cmake_install.cmake:162 (include)
```

This can be manually fixed by manually creating docs/ocamldoc/html/. dir, but I guess it would be better if it work well out of box.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to