Skip to content

Cannot find "docs/ocamldoc/html/." error while installing llvm on Debian Trixie (current testing) #125437

@nataraj-hates-MS-for-stealing-github

Description

Hi I am building current (a5e969a) 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions