On Thu, Nov 18, 2021 at 09:14:22PM +0200, Leon Romanovsky wrote: > On Thu, Nov 18, 2021 at 06:09:55PM +0100, Bob Dröge wrote: > > Hi, > > > > I'm trying to install rdma-core 37.1 from source on a Gentoo Prefix system > > which does not have pandoc nor rst2man installed. I'm using the release > > tarball from the GitHub release page (https://github.com/linux-rdma/rdma-core/releases/download/v37.1/rdma-core-37.1.tar.gz), > > though, and was expecting that it would use the prebuilt man pages in this > > case. However, this fails at some point with the following error: > > > > CMake Error at infiniband-diags/man/cmake_install.cmake:66 (file): > > file INSTALL cannot find > > "/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/work/rdma-core-37.1/buildlib/pandoc-prebuilt/8db9dce39d3eaf2d3992fd9198060d4bdfeb83d6": > > No such file or directory. > > Call Stack (most recent call first): > > cmake_install.cmake:222 (include) > > > > FAILED: CMakeFiles/install.util > > cd /cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/work/rdma-core-37.1_build > > && /cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/usr/bin/cmake -P > > cmake_install.cmake > > ninja: build stopped: subcommand failed. > > > > Though the directory does exist and contains a bunch of files, this one is > > indeed missing. Is this expected (does it only work for certain cases?), or > > is something missing in this tarball? > > It is definitely a bug. The prebuilt docs assume that the standard installation paths are used, it fails if the paths are abnormal, eg /etc/ and so on. IIRC we had a no docs cmake option that is intended for the no-pandoc environments. Jason