Hmmm. There are certainly some puzzling things done in the lustre build
system around O2IB options and debian packaging. Sorry, don't think
I'll be of much help on this one.
chris
On 07/15/2015 02:25 PM, Christopher J. Morrone wrote:
What version of Lustre are you using? I don't can't reproduce your
problem on master.
Chris
On 07/15/2015 02:10 PM, Christopher J. Morrone wrote:
You could try seeing if "--without-o2ib" gets you what you want. It
might not, but at least it is quick to try.
Chris
On 07/15/2015 01:41 PM, Sean Caron wrote:
Hi all,
Sorry for the cross-post from the Intel Lustre list but hoping I might
get more traction here...
Working with my Git pull of the Intel Lustre codebase from a few weeks
ago, I'm trying to build the client on Ubuntu 12.04 with a house-built
3.4.61 kernel.
Running through the build procedure roughly outlined in bug report
LU-1706 but with some changes since the last time I tried:
# tar xvfp lustre-release.tar
# cd lustre-release
# sh autogen.sh
# ./configure --disable-server --with-o2ib=no
--with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux
# make debs
Build fails at the module stage with the following error:
configure: error: bad --with-o2ib path
make[2]: *** [kdist_config] Error 1
make[2]: Leaving directory
`/usr/src/lustre-release/debian/tmp/modules-deb/usr_src/modules/lustre'
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory
`/usr/src/lustre-release/debian/tmp/modules-deb/usr_src/modules/lustre'
BUILD FAILED!
See
/usr/src/lustre-release/debian/tmp/modules-deb/var_cache_modass/lustre.buildlog.3.4.61.1436900735
for details.
make: *** [debs] Error 7
It appears it's not recognizing --with-o2ib=no as outlined in
./configure --help or i.e. bug report LU-5953.
If I take that out, build chokes because it can't find Infiniband stuff
which I suppose is to be expected since this site is not using
Infiniband.
I've tried moving the parameter around towards the beginning of the
./configure parameter list or towards the end and it doesn't seem to
make a difference.
Noting the place where the install hung; I went in and modified line 338
in file:
lustre-release/debian/rules
to completely remove $(IB_OPTIONS) from the ./configure statement on
that line; the build still fails, but in a way that's not really clear
what the cause is:
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
Is this a legit bug? Am I missing something here? Maybe resolved if I do
a fresh Git pull? Any suggestions would be a huge help.
Thanks,
Sean
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
.
.
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org