* Installation with prebuilt docs failing
@ 2021-11-18 17:09 Bob Dröge
2021-11-18 19:14 ` Leon Romanovsky
0 siblings, 1 reply; 3+ messages in thread
From: Bob Dröge @ 2021-11-18 17:09 UTC (permalink / raw)
To: linux-rdma
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:
-- Installing:
/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/image/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/usr/share/perl5/IBswcountlimits.pm
-- Installing:
/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/image/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/usr/share/man/man8/check_lft_balance.8
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?
Best regards,
Bob Dröge
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Installation with prebuilt docs failing
2021-11-18 17:09 Installation with prebuilt docs failing Bob Dröge
@ 2021-11-18 19:14 ` Leon Romanovsky
2021-11-19 13:34 ` Jason Gunthorpe
0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2021-11-18 19:14 UTC (permalink / raw)
To: Bob Dröge, Nicolas Morey-Chaisemartin; +Cc: linux-rdma
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:
>
> -- Installing: /cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/image/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/usr/share/perl5/IBswcountlimits.pm
> -- Installing: /cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/var/tmp/portage/sys-cluster/rdma-core-37.1/image/cvmfs/pilot.eessi-hpc.org/2021.06/compat/linux/x86_64/usr/share/man/man8/check_lft_balance.8
> 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.
Thanks
>
> Best regards,
> Bob Dröge
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Installation with prebuilt docs failing
2021-11-18 19:14 ` Leon Romanovsky
@ 2021-11-19 13:34 ` Jason Gunthorpe
0 siblings, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2021-11-19 13:34 UTC (permalink / raw)
To: Leon Romanovsky; +Cc: Bob Dröge, Nicolas Morey-Chaisemartin, linux-rdma
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-19 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 17:09 Installation with prebuilt docs failing Bob Dröge
2021-11-18 19:14 ` Leon Romanovsky
2021-11-19 13:34 ` Jason Gunthorpe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.