[ewg] perftest build issue with OFED
Amrani, Ram
Ram.Amrani at cavium.com
Mon Dec 18 09:29:57 PST 2017
Hi Vlad,
I'm hitting an issue when building OFED from git repos that complains about perftest:
This is seen on screen:
[root at lbtlvb-pcie127 OFED-4.8-2-rx]# ./install.pl -c ofed-all.conf
Below is the list of OFED packages that you have chosen
(some may have been added by the installer due to package dependencies):
ofed-scripts
compat-rdma
rdma-core
libibverbs
librdmacm
libibumad
libibcm
perftest
Uninstalling the previous version of OFED
Install ofed-scripts RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/ofed-scripts-4.8-2.1.g2af9969.x86_64.rpm
Build compat-rdma RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir' --nodeps --define '_dist .rhel7u4' --define 'configure_options --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-qed-mod --with-firmware-mod --with-qede-mod --with-qedr-mod' --define 'KVERSION 3.10.0-693.el7.x86_64' --define 'K_SRC /lib/modules/3.10.0-693.el7.x86_64/source' --define 'K_SRC_OBJ /lib/modules/3.10.0-693.el7.x86_64/build' --define '_release 2.1.g1b2e6e1.3.10.0_693.el7.x86_64' --define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr' --define '__arch_install_post %{nil}' /tmp/OFED-4.8-2-rx/SRPMS/compat-rdma-4.8-2.1.g1b2e6e1.src.rpm
Install compat-rdma RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/compat-rdma-4.8-2.1.g1b2e6e1.3.10.0_693.el7.x86_64.x86_64.rpm
Build rdma-core RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir' --define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define '_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' /tmp/OFED-4.8-2-rx/SRPMS/RH/rdma-core-16.0-1.src.rpm
Install rdma-core RPM:
Running rpm -iv --nodeps /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/rdma-core-16.0-1.x86_64.rpm
Install libibverbs RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibverbs-16.0-1.x86_64.rpm
Install librdmacm RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/librdmacm-16.0-1.x86_64.rpm
Install libibumad RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibumad-16.0-1.x86_64.rpm
Install libibcm RPM:
Running rpm -iv /tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibcm-16.0-1.x86_64.rpm
Build perftest RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir' --define 'dist %{nil}' --target x86_64 --nodeps --define '_prefix /usr' --define '_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' /tmp/OFED-4.8-2-rx/SRPMS/perftest-4.1-0.2.g770623f.src.rpm
Failed to build perftest RPM
See /tmp/OFED.65000.logs/perftest.rpmbuild.log
The file contents:
...
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-redhat-linux-gnu-ranlib... ranlib
checking for ANSI C header files... (cached) yes
checking infiniband/verbs.h usability... no
checking infiniband/verbs.h presence... no
checking for infiniband/verbs.h... no
configure: error: ibverbs header files not found
error: Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)
RPM build errors:
bogus date in %changelog: Sat Oct 21 2012 - idos at mellanox.com
bogus date in %changelog: Sun May 14 2012 - idos at mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - idos at mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - idos at mellanox.com
bogus date in %changelog: Mon Jan 01 2012 - idos at mellanox.com
Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)
It seems as if the perftest aren't built against rdma-core that is included.
Thanks,
Ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20171218/1ab51ab5/attachment.html>
More information about the ewg
mailing list