[ewg] separating open-iscsi packages

Erez Zilber erezz at Voltaire.COM
Mon Dec 24 06:11:03 PST 2007


Vladimir Sokolovsky wrote:
>
> Erez Zilber wrote:
> > Vlad,
> >
> > We would like to separate the open-iscsi userspace package into 2
> > packages: one for RH4 (open-iscsi-rh4.git) and another one for SLES 10 &
> > RHEL5 (open-iscsi.git). This will help us solving bug #804. Can you add
> > this support to install.pl?
> >
> > Thanks,
> > Erez
> >
>
> Hi Erez,
> I am busy with other tasks.
> If you are going to make these changes, please make sure to update:
>
> 1) build_ofed.sh script (git://git.openfabrics.org/~vlad/ofabuild.git
> ofed_1_3) - get_open_iscsi function.
> 2) install.pl script
> (git://git.openfabrics.org/~vlad/ofed_1_3_scripts.git master)
>
> Regards,
> Vladimir
>

I made the required changes in build_ofed.sh, and was able to build the
OFED package:

./build_ofed.sh -v 1.3-rc1

Now, when I try to build OFED, I get the following error:

[root at noni OFED-1.3-rc1]# ./install.pl -c ofed.conf
Unsupported package: dapl

Below is the list of OFED packages that you have chosen
(some may have been added by the installer due to package dependencies):

kernel-ib
ofed-scripts
libibverbs
libibverbs-devel
libibverbs-devel-static
libibverbs-utils
libmthca
libmlx4
mstflint
libibcommon
libibcommon-devel
libibumad
libibumad-devel
opensm-libs
opensm-devel
ibutils
libibmad
libibmad-devel
infiniband-diags
ofed-docs
open-iscsi-generic

Uninstalling the previous version of OFED
Build ofa_kernel RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir'
--define 'configure_options   --with-core-mod --with-user_mad-mod
--with-user_access-mod --with-addr_trans-mod --with-mthca-mod
--with-mlx4-mod --with-ipoib-mod --with-iser-mod' --define
'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define
'KVERSION 2.6.9-42.ELsmp' --define 'K_SRC
/lib/modules/2.6.9-42.ELsmp/build' --define 'network_dir
/etc/sysconfig/network-scripts' --define '_prefix /usr'
/home/erezz/work/ofed/ofabuild.git/OFED-1.3-rc1/SRPMS/ofa_kernel-1.3-ofed20071224.src.rpm
Install kernel-ib RPM:
Running rpm -iv
/home/erezz/work/ofed/ofabuild.git/OFED-1.3-rc1/RPMS/redhat-release-4AS-5.5/kernel-ib-1.3-2.6.9_42.ELsmp.x86_64.rpm
Build ofed-scripts RPM
Running  rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir'
--target x86_64 --define '_prefix /usr' --define '_exec_prefix /usr'
--define '_sysconfdir /etc' --define '_usr /usr'
/home/erezz/work/ofed/ofabuild.git/OFED-1.3-rc1/SRPMS/ofed-scripts-1.3-0.src.rpm
Install ofed-scripts RPM:
Running rpm -iv
/home/erezz/work/ofed/ofabuild.git/OFED-1.3-rc1/RPMS/redhat-release-4AS-5.5/ofed-scripts-1.3-0.x86_64.rpm
Build libibverbs RPM
Running  rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir'
--target x86_64 --define '_prefix /usr' --define '_exec_prefix /usr'
--define '_sysconfdir /etc' --define '_usr /usr'
/home/erezz/work/ofed/ofabuild.git/OFED-1.3-rc1/SRPMS/libibverbs-1.1.1-0.1.ofed20071224.src.rpm
Failed to build libibverbs RPM
See /tmp/OFED.18324.logs/libibverbs.rpmbuild.log

Here's libibverbs.rpmbuild.log:

Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.519
+ umask 022
+ cd /var/tmp/OFED_topdir/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /var/tmp/OFED_topdir/BUILD
+ rm -rf libibverbs-1.1.1
+ /usr/bin/gzip -dc
/var/tmp/OFED_topdir/SOURCES/libibverbs-1.1.1-0.1.ofed20071224.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libibverbs-1.1.1
++ /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,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.519
+ umask 022
+ cd /var/tmp/OFED_topdir/BUILD
+ cd libibverbs-1.1.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -m64'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -m64'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -m64'
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ ./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info
/var/tmp/rpm-tmp.519: line 34: ./configure: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.519 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.519 (%build)

What is the problem here?

Thanks,
Erez



More information about the ewg mailing list