[openib-general] FW: /etc/rocks-release screws up OFED 1.1.1 build process

Woodruff, Robert J robert.j.woodruff at intel.com
Fri Oct 27 10:41:00 PDT 2006


 

-----Original Message-----
From: Worley, Chris B 
Sent: Friday, October 27, 2006 10:18 AM
To: Woodruff, Robert J
Subject: FW: /etc/rocks-release screws up OFED 1.1.1 build process

Woody,

I was unable to post this to the OpenIB list server.  Could you post it?

Chris
>---------- Forwarded message ----------
>From: Chris Worley <worleys at gmail.com>
>Date: Oct 26, 2006 3:20 PM
>Subject: /etc/rocks-release screws up OFED 1.1.1 build process
>To: openib-general at openib.org
>
>
>To fix it, make sure the test for rocks-release is at the end, or
>might as well delete it altogether, of build_env.sh:
>
># Set Distribuition dependency environment
>dist_rpm=""
>if [ -f /etc/SuSE-release ]; then
>   dist_rpm=$($RPM -qf /etc/SuSE-release)
>   DISTRIBUTION="SuSE"
>elif [ -f /etc/fedora-release ]; then
>   dist_rpm=$($RPM -qf /etc/fedora-release)
>   DISTRIBUTION="fedora"
>elif [ -f /etc/redhat-release ]; then
>   dist_rpm=$($RPM -qf /etc/redhat-release)
>   DISTRIBUTION="redhat"
>elif [ -f /etc/rocks-release ]; then
>   dist_rpm=$($RPM -qf /etc/rocks-release)
>   DISTRIBUTION="Rocks"
>else
>   dist_rpm="Unknown"
>   DISTRIBUTION=$(ls /etc/*-release | head -n 1 | xargs -iXXX
>basename XXX -release 2> $NULL)
>   [ -z "${DISTRIBUTION}" ] && DISTRIBUTION="Unknown"
>fi
>
>The problem is the rpm -qf returns an error:
>
>[root at c OFED-1.1.1]# rpm -qf /etc/redhat-release
>redhat-release-4AS-4.1
>[root at c OFED-1.1.1]# rpm -qf /etc/rocks-release
>file /etc/rocks-release is not owned by any package
>
>Which, during the build, generates the error:
>
>ERROR: Failed executing "/bin/mv -f
>/var/tmp/OFEDRPM/RPMS/x86_64/dapl-1.2.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/dapl-devel-1.2.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/ipoibtools-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/kernel-ib-1.1-2.6.9_34.ELsmp.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/kernel-ib-devel-1.1-2.6.9_34.ELsmp.x86_64.
rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibcm-0.9.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibcm-devel-0.9.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibcommon-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibcommon-devel-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibmad-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibmad-devel-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibumad-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibumad-devel-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibverbs-1.0.4-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibverbs-devel-1.0.4-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libibverbs-utils-1.0.4-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libipathverbs-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libipathverbs-devel-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libmthca-1.0.3-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libmthca-devel-1.0.3-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libopensm-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libopensm-devel-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libosmcomp-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libosmcomp-devel-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libosmvendor-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libosmvendor-devel-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/librdmacm-0.9.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/librdmacm-devel-0.9.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/librdmacm-utils-0.9.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/libsdp-1.1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/mstflint-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/openib-diags-1.1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/opensm-2.0.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/perftest-1.0-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/srptools-0.0.4-0.x86_64.rpm
>/var/tmp/OFEDRPM/RPMS/x86_64/tvflash-0.9.0-0.x86_64.rpm
>/export/tools/OFED-1.1.1/RPMS/file /etc/rocks-release is not owned by
>any package"




More information about the general mailing list