./configure --with-linux=/lib/modules/3.4.61/build \
--with-linux-obj=/lib/modules/3.4.61/build \
--disable-server \
--disable-quilt \
--disable-dependency-tracking \
--disable-doc \
--disable-utils \
--disable-iokit \
--disable-snmp \
--disable-tests \
--enable-quota \
--with-o2ib=/lib/modules/3.4.61/build /lib/modules/3.4.61/build/drivers/infiniband
So, I went and edited the file lustre-release/debian/rules and I edited line 338 so as to completely remove $(IB_OPTIONS) from that ./configure statement.
I ran "make debs" again and now it fails with Error 1 but no clear error message; can anyone help troubleshoot this?
export KPKG_DEST_DIR="$(pwd)/.." && \
version=$(sed -ne '1s/^lustre (\(.*\)).*$/\1/p' debian/changelog) && \
rm -rf debian/tmp/modules-deb && \
mkdir debian/tmp/modules-deb && \
pushd debian/tmp/modules-deb && \
dpkg -x ../../../../lustre-source_${version}_all.deb $(pwd) && \
mkdir usr_src/ && \
tar -C usr_src/ -xjf usr/src/lustre.tar.bz2 && \
chmod 755 usr_src/modules/lustre/debian/rules && \
mkdir -p usr_share_modass && \
ln -s /usr/share/modass/include/ usr_share_modass/ && \
ln -s /usr/share/modass/packages/ usr_share_modass/ && \
echo "lustre" > usr_share_modass/compliant.list && \
export MA_DIR=$(pwd)/usr_share_modass && \
KVERS=${KVERS:-} && \
[ "x" != "x" ] && \
export IB_OPTIONS="--with-o2ib=" && \
export KSRC_TREE= && \
KSRC=${KSRC:-} && \
m-a build ${KSRC:+-k $KSRC} ${KVERS:+-l $KVERS} -i -u $(pwd) lustre && \
popd && \
VER=$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$/\1/p' debian/changelog) && \
mkdir -p debs && \
mv ../linux-patch-lustre_${VER}_all.deb ../lustre-dev_${VER}_*.deb \
../lustre-source_${VER}_all.deb ../lustre-tests_${VER}_*.deb \
../lustre-utils_${VER}_*.deb ../lustre_${VER}.dsc \
../lustre_${VER}_*.changes ../lustre_${VER}.tar.gz \
../lustre-client-modules-${KVERS}_${VER}_*.deb debs/
/usr/src/lustre-release/debian/tmp/modules-deb /usr/src/lustre-release
make: *** [debs] Error 1
I suppose the next thing I'll do is just try a fresh Git pull and see how that behaves ... perhaps some of these issues have since been fixed?