<div dir="ltr"><span style="font-size:12.8000001907349px">Hi all,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Sorry for the cross-post from the Intel Lustre list but hoping I might get more traction here...<br><br></div><div style="font-size:12.8000001907349px">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.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Running through the build procedure roughly outlined in bug report LU-1706 but with some changes since the last time I tried:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"># tar xvfp <span class="">lustre</span>-release.tar</div><div style="font-size:12.8000001907349px"># cd <span class="">lustre</span>-release</div><div style="font-size:12.8000001907349px"># sh autogen.sh</div><div style="font-size:12.8000001907349px"># ./configure --disable-server --with-o2ib=no  --with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux</div><div style="font-size:12.8000001907349px"># make debs</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Build fails at the module stage with the following error:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>configure: error: bad --with-o2ib path</div><div>make[2]: *** [kdist_config] Error 1</div><div>make[2]: Leaving directory `/usr/src/<span class="">lustre</span>-release/debian/tmp/modules-deb/usr_src/modules/<span class="">lustre</span>'</div><div>make[1]: *** [kdist_build] Error 2</div><div>make[1]: Leaving directory `/usr/src/<span class="">lustre</span>-release/debian/tmp/modules-deb/usr_src/modules/<span class="">lustre</span>'</div><div>BUILD FAILED!</div><div>See /usr/src/<span class="">lustre</span>-release/debian/tmp/modules-deb/var_cache_modass/<span class="">lustre</span>.buildlog.3.4.61.1436900735 for details.</div><div>make: *** [debs] Error 7</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">It appears it's not recognizing --with-o2ib=no as outlined in ./configure --help or i.e. bug report LU-5953.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">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.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">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.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Noting the place where the install hung; I went in and modified line 338 in file:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">lustre-release/debian/rules</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">to completely remove <span style="font-size:12.8000001907349px">$(IB_OPTIONS)</span><span style="font-size:12.8000001907349px"> from the ./configure statement on that line; the build still fails, but in a way that's not really clear what the cause is:</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px">export KPKG_DEST_DIR="$(pwd)/.." && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">     </span>version=$(sed -ne '1s/^<span class="">lustre</span> (\(.*\)).*$/\1/p' debian/changelog) && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">       </span>rm -rf debian/tmp/modules-deb && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">        </span>mkdir debian/tmp/modules-deb && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap"> </span>pushd debian/tmp/modules-deb && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap"> </span>dpkg -x ../../../../<span class="">lustre</span>-source_${version}_all.deb $(pwd) && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">      </span>mkdir usr_src/ && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">       </span>tar -C usr_src/ -xjf usr/src/<span class="">lustre</span>.tar.bz2 && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">      </span>chmod 755 usr_src/modules/<span class="">lustre</span>/debian/rules && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">    </span>mkdir -p usr_share_modass && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">    </span>ln -s /usr/share/modass/include/ usr_share_modass/ && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">   </span>ln -s /usr/share/modass/packages/ usr_share_modass/ && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">  </span>echo "<span class="">lustre</span>" > usr_share_modass/compliant.list && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">     </span>export MA_DIR=$(pwd)/usr_share_modass && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">        </span>KVERS=${KVERS:-} && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">     </span>[ "x" != "x" ] && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">   </span>export IB_OPTIONS="--with-o2ib=" && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">   </span>export KSRC_TREE= && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">    </span>KSRC=${KSRC:-} && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">       </span>m-a build ${KSRC:+-k $KSRC} ${KVERS:+-l $KVERS} -i -u $(pwd) <span class="">lustre</span> && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">    </span>popd && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap"> </span>VER=$(sed -ne '1s/^<span class="">lustre</span> (\(.*-[0-9][0-9]*\)).*$/\1/p' debian/changelog) && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">       </span>mkdir -p debs && \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">        </span>mv ../linux-patch-lustre_${VER}_all.deb ../<span class="">lustre</span>-dev_${VER}_*.deb \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">  </span>   ../<span class="">lustre</span>-source_${VER}_all.deb ../<span class="">lustre</span>-tests_${VER}_*.deb \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">       </span>   ../<span class="">lustre</span>-utils_${VER}_*.deb ../lustre_${VER}.dsc \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap">      </span>   ../lustre_${VER}_*.changes ../lustre_${VER}.tar.gz \</div><div style="font-size:12.8000001907349px"><span style="white-space:pre-wrap"> </span>   ../<span class="">lustre</span>-client-modules-${KVERS}_${VER}_*.deb debs/</div><div style="font-size:12.8000001907349px">/usr/src/<span class="">lustre</span>-release/debian/tmp/modules-deb /usr/src/<span class="">lustre</span>-release</div><div style="font-size:12.8000001907349px">make: *** [debs] Error 1</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">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.</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px">Thanks,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Sean</div></div>