[ofa-general] Build rpms kernel 2.6.5-7.283

H.N.HARAKE harake at cscs.ch
Tue Sep 4 08:51:39 PDT 2007


I tried to build OFED rpms so I can install it on my linux sles 9
kernel but I am facing a problem hope you can help me.

Log file below

Thanks and Best Regards
H. N. Harake




+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ofa_user-1.2.5
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.15799
+ umask 022
+ cd /var/tmp/OFEDRPM/BUILD
+ cd ofa_user-1.2.5
+ cd /var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5
+ install -d /var/tmp/OFED/etc/init.d
+ install -d /var/tmp/OFED//etc
+ install -d /var/tmp/OFED//usr/src
+ cp -a /var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5 /var/tmp/OFED//usr/src
+ ./configure --prefix=/usr --libdir=/usr/lib64 --with-libcxgb3 --
with-libibcm --with-libibverbs --with-libipathverbs --with-libmlx4 --
with-libmthca --with-librdmacm --with-mstflint --with-perftest --
sysconfdir=/etc --mandir=/usr/share/man
Quilt  does not exist... Going to use patch.
Created configure.mk.user:
prefix=/usr
PREFIX="--prefix /usr"
libdir=/usr/lib64

# Current working directory
CWD=/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5

# User level
WITH_IBVERBS=yes
WITH_MTHCA=yes
WITH_MLX4=yes
WITH_IPATHVERBS=yes
WITH_EHCA=no
WITH_CXGB3=yes
WITH_CM=yes
WITH_SDP=no
WITH_DAPL=no
WITH_RDMACM=yes
WITH_MANAGEMENT_LIBS=no
WITH_OSM=no
WITH_DIAGS=no
WITH_PERFTEST=yes
WITH_SRPTOOLS=no
WITH_IPOIBTOOLS=no
WITH_QLVNICTOOLS=no
WITH_TVFLASH=no
WITH_MSTFLINT=yes
WITH_SDPNETSTAT=no

mkdir -p /var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/patches
touch /var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/patches/quiltrc
	/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/user_patches/fixes/
libmlx4_05_fix_max_cap.patch
./configure: line 153: patch: command not found
Failed to apply patch: /var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/
user_patches/fixes/libmlx4_05_fix_max_cap.patch
error: Bad exit status from /var/tmp/rpm-tmp.15799 (%install)


RPM build errors:
      user vlad does not exist - using root
      user vlad does not exist - using root
      Bad exit status from /var/tmp/rpm-tmp.15799 (%install)
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/
tmp/OFEDRPM' --define '_prefix /usr' --define 'build_root /var/tmp/
OFED' --define 'configure_options --with-libcxgb3 --with-libibcm --
with-libibverbs --with-libipathverbs --with-libmlx4 --with-libmthca --
with-librdmacm --with-mstflint --with-perftest --sysconfdir=/etc --
mandir=/usr/share/man' --define 'configure_options32 --with-libcxgb3
--with-libibcm --with-libibverbs --with-libipathverbs --with-libmlx4
--with-libmthca --with-librdmacm --sysconfdir=/etc --mandir=/usr/
share/man' --define 'build_32bit 1' --define '_mandir /usr/share/
man' /root/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm"




More information about the general mailing list