* Odd build failure in el7 mock
@ 2017-03-22 15:44 Jarod Wilson
[not found] ` <16cf8400-4920-c7ae-e0e5-c77a65a71460-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Jarod Wilson @ 2017-03-22 15:44 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
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:
-- Removed runtime path from
"/builddir/build/BUILDROOT/rdma-core-13-1.el7.centos.x86_64/usr/lib64/libmlx5.so.1.0.13"
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".
Call Stack (most recent call first):
cmake_install.cmake:52 (INCLUDE)
make: *** [install] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.MsCuJ7 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.MsCuJ7 (%install)
ERROR: Exception(rdma-core-13-1.el7.src.rpm) Config(epel-7-x86_64) 0
minutes 53 seconds
INFO: Results and/or logs in: /var/lib/mock/epel-7-x86_64/result
ERROR: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps
/builddir/build/SPECS/rdma-core.spec
Just starting to dig into it, but if anyone has an "aha, that's XYZ",
that might save me some time and effort. :)
(I get this with both rdma-core.spec and redhat/rdma-core.spec, btw)
--
Jarod Wilson
jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Odd build failure in el7 mock
[not found] ` <16cf8400-4920-c7ae-e0e5-c77a65a71460-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-03-22 16:22 ` Jason Gunthorpe
[not found] ` <20170322162245.GA18200-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Jason Gunthorpe @ 2017-03-22 16:22 UTC (permalink / raw)
To: Jarod Wilson; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
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 <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Odd build failure in el7 mock
[not found] ` <20170322162245.GA18200-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2017-03-22 19:11 ` Leon Romanovsky
2017-03-22 20:43 ` Jarod Wilson
1 sibling, 0 replies; 5+ messages in thread
From: Leon Romanovsky @ 2017-03-22 19:11 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: Jarod Wilson, linux-rdma-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]
On Wed, Mar 22, 2017 at 10:22:45AM -0600, Jason Gunthorpe wrote:
> 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 works in docker too.
>
> It was added in this patch:
>
> commit 07764bc805ba8f50539a7b1e2655e86acbdb87ed
> Author: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Odd build failure in el7 mock
[not found] ` <20170322162245.GA18200-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-22 19:11 ` Leon Romanovsky
@ 2017-03-22 20:43 ` Jarod Wilson
[not found] ` <1afb222d-5553-90d1-e18b-437e62012fff-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Jarod Wilson @ 2017-03-22 20:43 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 2017-03-22 12:22 PM, Jason Gunthorpe wrote:
> 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 <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> 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??
The addition of 'relpath' in that commit means that python is now a
BuildRequires of the rdma-core package. Once I added that, the package
built in mock just fine. Will send a patch for it shortly.
--
Jarod Wilson
jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Odd build failure in el7 mock
[not found] ` <1afb222d-5553-90d1-e18b-437e62012fff-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-03-22 21:06 ` Jason Gunthorpe
0 siblings, 0 replies; 5+ messages in thread
From: Jason Gunthorpe @ 2017-03-22 21:06 UTC (permalink / raw)
To: Jarod Wilson; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
On Wed, Mar 22, 2017 at 04:43:38PM -0400, Jarod Wilson wrote:
> The addition of 'relpath' in that commit means that python is now a
> BuildRequires of the rdma-core package. Once I added that, the package built
> in mock just fine. Will send a patch for it shortly.
Ah, yes..
I've also realized that execute_process does not abort cmake if it
fails, which is why this was hard for you to observe. That should be
fixed also..
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-22 21:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 15:44 Odd build failure in el7 mock Jarod Wilson
[not found] ` <16cf8400-4920-c7ae-e0e5-c77a65a71460-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-03-22 16:22 ` Jason Gunthorpe
[not found] ` <20170322162245.GA18200-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-22 19:11 ` Leon Romanovsky
2017-03-22 20:43 ` Jarod Wilson
[not found] ` <1afb222d-5553-90d1-e18b-437e62012fff-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-03-22 21:06 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).