From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: Odd build failure in el7 mock Date: Wed, 22 Mar 2017 10:22:45 -0600 Message-ID: <20170322162245.GA18200@obsidianresearch.com> References: <16cf8400-4920-c7ae-e0e5-c77a65a71460@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <16cf8400-4920-c7ae-e0e5-c77a65a71460-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jarod Wilson Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Wed, Mar 22, 2017 at 11:44:49AM -0400, Jarod Wilson wrote: > I'm attempting to build rdma-core v13 rpms... On my el7 host, they build > just fine. But when I try to build them in mock (using the epel-7-x86_64 > target), I hit this: > > CMake Error at providers/mlx5/cmake_install.cmake:98 (FILE): > file INSTALL cannot find > "/builddir/build/BUILD/rdma-core-13/providers/mlx5/libmlx5-rdmav2.so". I am not sure why mock would be different, but that file should be a symlink, it is created during the initial run of cmake. It was added in this patch: commit 07764bc805ba8f50539a7b1e2655e86acbdb87ed Author: Leon Romanovsky Date: Mon Jan 30 11:12:52 2017 +0200 mlx5: Export mlx5 direct verbs interface Install direct verbs header file into /usr/include/infiniband/ folder and allow for possible users to explicitly include it into their applications. And it is created by this call here: + rdma_install_symlink("${DEST_LINK_PATH}" "${VERBS_PROVIDER_DIR}/lib${DEST}-rdmav2.so") Make sure there are no errors from the cmake step?? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html