<div dir="ltr">So I&#39;m building off the 2.5 branch and when I&#39;m trying to build out the debian packages I get a general failure&nbsp;<div><br></div><div><br></div><div><div>rm -f autoMakefile</div><div>make[4]: Leaving directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre/ldiskfs&#39;</div>
<div>Making distclean in .</div><div>make[4]: Entering directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre&#39;</div><div>test -z &quot;.*.cmd .*.flags *.o *.ko *.mod.c .depend .*.1.* Modules.symvers Module.symvers&quot; || rm -f .*.cmd .*.flags *.o *.ko *.mod.c .depend .*.1.* Modules.symvers Module.symvers</div>
<div>test -z &quot;Makefile Rules lustre.spec lustre/kernel_patches/targets/2.6-rhel6.target lustre/kernel_patches/targets/2.6-rhel5.target lustre/kernel_patches/targets/2.6-sles11.target lustre/kernel_patches/targets/3.0-sles11.target lustre/kernel_patches/targets/3.0-sles11sp3.target lustre/kernel_patches/targets/2.6-fc11.target lustre/kernel_patches/targets/2.6-fc12.target lustre/kernel_patches/targets/2.6-fc15.target lustre/kernel_patches/targets/3.x-fc18.target&quot; || rm -f Makefile Rules lustre.spec lustre/kernel_patches/targets/2.6-rhel6.target lustre/kernel_patches/targets/2.6-rhel5.target lustre/kernel_patches/targets/2.6-sles11.target lustre/kernel_patches/targets/3.0-sles11.target lustre/kernel_patches/targets/3.0-sles11sp3.target lustre/kernel_patches/targets/2.6-fc11.target lustre/kernel_patches/targets/2.6-fc12.target lustre/kernel_patches/targets/2.6-fc15.target lustre/kernel_patches/targets/3.x-fc18.target</div>
<div>rm -f config.h stamp-h1</div><div>rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags</div><div>make[4]: Leaving directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre&#39;</div><div>rm -f config.status config.cache config.log configure.lineno config.status.lineno</div>
<div>rm -f autoMakefile</div><div>make[3]: Leaving directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre&#39;</div><div>rm -rf &nbsp;debian/substvars debian/*.bak debian/*~ *~ &nbsp;*-stamp debian/linux-patch-lustre</div>
<div>ls -d debian/lustre-client-modules-* | grep -v _KVERS_ | xargs rm -f || true</div><div># only remove this if the clean was not called from kdist_clean</div><div>if [ &quot;$MA_SOURCE_PKG&quot; = &quot;&quot; ]; then \</div>
<div><span class="" style="white-space:pre">            </span>rm -rf &nbsp;debian/m-a_root; \</div><div><span class="" style="white-space:pre">        </span>fi</div><div>dh_clean</div><div># make sure we have at least a basic control in place (see build-stamp)</div>
<div>rm -f debian/control</div><div>cp debian/control.main debian/control</div><div>make[2]: Leaving directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre&#39;</div><div># Create the module-source tarball.</div>
<div>cd debian/lustre-source/usr/src &amp;&amp; tar jcf lustre.tar.bz2 modules&nbsp;</div><div>rm -rf debian/lustre-source/usr/src/modules</div><div>dh_install -plustre-source</div><div>dh_installchangelogs -p lustre-source lustre/ChangeLog</div>
<div>dh_installdocs -p lustre-source&nbsp;</div><div>dh_link -p lustre-source /usr/share/modass/packages/default.sh /usr/share/modass/overrides/lustre-source</div><div>dh_compress -p lustre-source</div><div>dh_installdeb -p lustre-source</div>
<div>dh_fixperms -p lustre-source</div><div>dh_gencontrol -p lustre-source</div><div>dh_md5sums -p lustre-source</div><div>dh_builddeb -p lustre-source</div><div>dpkg-deb: building package `lustre-source&#39; in `../lustre-source_2.5.1-1_all.deb&#39;.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p lustre-utils</div><div>dh_installdocs -p &nbsp;lustre-utils</div><div>dh_installman -p lustre-utils</div><div>dh_install -p lustre-utils</div><div>dh_makeshlibs -p lustre-utils</div>
<div>dh_shlibdeps -L liblustre -l debian/liblustre/usr/lib</div><div>dh_installexamples -p lustre-utils</div><div>dh_installchangelogs -p lustre-utils lustre/ChangeLog</div><div>dh_compress -p lustre-utils</div><div>dh_strip -p lustre-utils</div>
<div>dh_installdeb -p lustre-utils</div><div>dh_fixperms -p lustre-utils</div><div>dh_gencontrol -p lustre-utils</div><div>dh_md5sums -p lustre-utils</div><div>dh_builddeb -p lustre-utils</div><div>dpkg-deb: building package `lustre-utils&#39; in `../lustre-utils_2.5.1-1_amd64.deb&#39;.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p lustre-tests</div><div>dh_installdocs -p &nbsp;lustre-tests</div><div>dh_installman -p lustre-tests</div><div>dh_install -p lustre-tests</div><div>dh_makeshlibs -p lustre-tests</div>
<div>dh_shlibdeps -L liblustre -l debian/liblustre/usr/lib</div><div>dh_installexamples -p lustre-tests</div><div>dh_installchangelogs -p lustre-tests lustre/ChangeLog</div><div>dh_compress -p lustre-tests</div><div>dh_strip -p lustre-tests</div>
<div>dh_installdeb -p lustre-tests</div><div>dh_fixperms -p lustre-tests</div><div>dh_gencontrol -p lustre-tests</div><div>dh_md5sums -p lustre-tests</div><div>dh_builddeb -p lustre-tests</div><div>dpkg-deb: building package `lustre-tests&#39; in `../lustre-tests_2.5.1-1_amd64.deb&#39;.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p lustre-dev</div><div>dh_install -p lustre-dev</div><div>dh_installdocs -p lustre-dev</div><div>dh_installchangelogs -p lustre-dev lustre/ChangeLog</div><div>
dh_compress -p lustre-dev</div><div>dh_installdeb -p lustre-dev</div><div>dh_fixperms -p lustre-dev</div><div>dh_gencontrol -p lustre-dev</div><div>dh_md5sums -p lustre-dev</div><div>dh_builddeb -p lustre-dev</div><div>dpkg-deb: building package `lustre-dev&#39; in `../lustre-dev_2.5.1-1_amd64.deb&#39;.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p liblustre</div><div>dh_installdocs -p liblustre</div><div>dh_install -p liblustre</div><div>dh_makeshlibs -p liblustre</div><div>dh_shlibdeps -L liblustre -l debian/liblustre/usr/lib</div>
<div>dh_installchangelogs -p liblustre lustre/ChangeLog</div><div>dh_compress -p liblustre</div><div>dh_installdeb -p liblustre</div><div>dh_strip -p liblustre</div><div>dh_fixperms -p liblustre</div><div>dh_gencontrol -p liblustre</div>
<div>dh_md5sums -p liblustre</div><div>dh_builddeb -p liblustre</div><div>dpkg-deb: building package `liblustre&#39; in `../liblustre_2.5.1-1_amd64.deb&#39;.</div><div>make[1]: Leaving directory `/home/imemadmin/Desktop/lustre-release&#39;</div>
<div>dpkg-buildpackage: full upload; Debian-native package (full source is included)</div><div>export KPKG_DEST_DIR=&quot;$(pwd)/..&quot; &amp;&amp; \</div><div><span class="" style="white-space:pre">        </span>version=$(sed -ne &#39;1s/^lustre (\(.*\)).*$/\1/p&#39; debian/changelog) &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>rm -rf debian/tmp/modules-deb &amp;&amp; \</div><div><span class="" style="white-space:pre"> </span>mkdir debian/tmp/modules-deb &amp;&amp; \</div><div><span class="" style="white-space:pre">  </span>pushd debian/tmp/modules-deb &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>dpkg -x ../../../../lustre-source_${version}_all.deb $(pwd) &amp;&amp; \</div><div><span class="" style="white-space:pre">   </span>mkdir usr_src/ &amp;&amp; \</div><div><span class="" style="white-space:pre">        </span>tar -C usr_src/ -xjf usr/src/lustre.tar.bz2 &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>chmod 755 usr_src/modules/lustre/debian/rules &amp;&amp; \</div><div><span class="" style="white-space:pre"> </span>mkdir -p usr_share_modass &amp;&amp; \</div><div><span class="" style="white-space:pre">     </span>ln -s /usr/share/modass/include/ usr_share_modass/ &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>ln -s /usr/share/modass/packages/ usr_share_modass/ &amp;&amp; \</div><div><span class="" style="white-space:pre">   </span>echo &quot;lustre&quot; &gt; usr_share_modass/compliant.list &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>export MA_DIR=$(pwd)/usr_share_modass &amp;&amp; \</div><div><span class="" style="white-space:pre"> </span>KVERS=${KVERS:-}; \</div><div><span class="" style="white-space:pre">        </span>m-a build ${KVERS:+-l $KVERS} -i -u $(pwd) lustre &amp;&amp; \</div>
<div><span class="" style="white-space:pre">    </span>popd &amp;&amp; \</div><div><span class="" style="white-space:pre">  </span>VER=$(sed -ne &#39;1s/^lustre (\(.*-[0-9][0-9]*\)).*$/\1/p&#39; debian/changelog); \</div><div>
<span class="" style="white-space:pre">       </span>mkdir -p debs &amp;&amp; \</div><div><span class="" style="white-space:pre"> </span>mv ../liblustre_${VER}_*.deb ../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%-[0-9]*}.orig.tar.gz ../lustre_${VER}.diff.gz ../lustre-client-modules-${KVERS}_${VER}_*.deb debs/</div>
<div>/home/imemadmin/Desktop/lustre-release/debian/tmp/modules-deb /home/imemadmin/Desktop/lustre-release</div><div><br></div><div><br></div><div><div>dh_installdocs: This package will soon FTBFS; time to fix it!</div><div>
dh_installchangelogs: No compatibility level specified in debian/compat</div><div>dh_installchangelogs: This package will soon FTBFS; time to fix it!</div><div>dh_compress: No compatibility level specified in debian/compat</div>
<div>dh_compress: This package will soon FTBFS; time to fix it!</div><div>dh_installdeb: No compatibility level specified in debian/compat</div><div>dh_installdeb: This package will soon FTBFS; time to fix it!</div><div>dh_fixperms: No compatibility level specified in debian/compat</div>
<div>dh_fixperms: This package will soon FTBFS; time to fix it!</div><div>dh_gencontrol: No compatibility level specified in debian/compat</div><div>dh_gencontrol: This package will soon FTBFS; time to fix it!</div><div>dh_md5sums: No compatibility level specified in debian/compat</div>
<div>dh_md5sums: This package will soon FTBFS; time to fix it!</div><div>dh_builddeb: No compatibility level specified in debian/compat</div><div>dh_builddeb: This package will soon FTBFS; time to fix it!</div><div>dh_builddeb: No compatibility level specified in debian/compat</div>
<div>dh_builddeb: This package will soon FTBFS; time to fix it!</div><div>dh_installdirs: No compatibility level specified in debian/compat</div><div>dh_installdirs: This package will soon FTBFS; time to fix it!</div><div>
dh_installdocs: No compatibility level specified in debian/compat</div><div>dh_installdocs: This package will soon FTBFS; time to fix it!</div><div>dh_install: No compatibility level specified in debian/compat</div><div>dh_install: This package will soon FTBFS; time to fix it!</div>
<div>dh_makeshlibs: No compatibility level specified in debian/compat</div><div>dh_makeshlibs: This package will soon FTBFS; time to fix it!</div><div>dh_shlibdeps: No compatibility level specified in debian/compat</div><div>
dh_shlibdeps: This package will soon FTBFS; time to fix it!</div><div>dpkg-shlibdeps: warning: couldn&#39;t find library liblustreapi.so needed by debian/lustre-tests/usr/lib/lustre/tests/ll_dirstripe_verify (ELF format: &#39;elf64-x86-64&#39;; RPATH: &#39;&#39;)</div>
<div>dh_installchangelogs: No compatibility level specified in debian/compat</div><div>dh_installchangelogs: This package will soon FTBFS; time to fix it!</div><div>dh_compress: No compatibility level specified in debian/compat</div>
<div>dh_compress: This package will soon FTBFS; time to fix it!</div><div>dh_installdeb: No compatibility level specified in debian/compat</div><div>dh_installdeb: This package will soon FTBFS; time to fix it!</div><div>dh_strip: No compatibility level specified in debian/compat</div>
<div>dh_strip: This package will soon FTBFS; time to fix it!</div><div>dh_fixperms: No compatibility level specified in debian/compat</div><div>dh_fixperms: This package will soon FTBFS; time to fix it!</div><div>dh_gencontrol: No compatibility level specified in debian/compat</div>
<div>dh_gencontrol: This package will soon FTBFS; time to fix it!</div><div>dh_md5sums: No compatibility level specified in debian/compat</div><div>dh_md5sums: This package will soon FTBFS; time to fix it!</div><div>dh_builddeb: No compatibility level specified in debian/compat</div>
<div>dh_builddeb: This package will soon FTBFS; time to fix it!</div><div>dh_builddeb: No compatibility level specified in debian/compat</div><div>dh_builddeb: This package will soon FTBFS; time to fix it!</div><div>&nbsp;dpkg-genchanges &nbsp;&gt;../lustre_2.5.1-1_amd64.changes</div>
<div>dpkg-genchanges: including full source code in upload</div><div>&nbsp;dpkg-source -I.git -I*.out[0-9]* -I*.swp --after-build lustre-release</div><div>/bin/bash: line 15: m-a: command not found</div><div>mv: cannot stat &lsquo;../liblustre__*.deb&rsquo;: No such file or directory</div>
<div>mv: cannot stat &lsquo;../linux-patch-lustre__all.deb&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre-dev__*.deb&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre-source__all.deb&rsquo;: No such file or directory</div>
<div>mv: cannot stat &lsquo;../lustre-tests__*.deb&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre-utils__*.deb&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre_.dsc&rsquo;: No such file or directory</div>
<div>mv: cannot stat &lsquo;../lustre__*.changes&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre_.orig.tar.gz&rsquo;: No such file or directory</div><div>mv: cannot stat &lsquo;../lustre_.diff.gz&rsquo;: No such file or directory</div>
<div>mv: cannot stat &lsquo;../lustre-client-modules-__*.deb&rsquo;: No such file or directory</div><div>make: *** [debs] Error 1</div></div><div><br></div><div><br></div><div>the FTBFS says there might be a missing undocumented dependency or a bad build (working on my 5th build attempt) and still unable to get it to build. &nbsp;Any suggestions?</div>
<div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 1, 2014 at 7:21 PM, Keith Mannthey <span dir="ltr">&lt;<a href="mailto:keith.mannthey@intel.com" target="_blank">keith.mannthey@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

I recommended you use Lustre 2.5+ for modern Linux kernels. &nbsp;A large<br>
amount of build changes would be need to be ported to run Lustre 2.3<br>
version against your kernel version.<br>
<br>
Thanks,<br>
&nbsp;Keith<br>
<div><div><br>
<br>
<br>
<br>
On Thu, 2014-05-01 at 15:03 -0700, Steven Lokie wrote:<br>
&gt; Trying to run a specific version of lustre client for our setup at<br>
&gt; work - I am running into a weird error message on ./configure<br>
&gt;<br>
&gt;<br>
&gt; personally never seen this error before - checking for external module<br>
&gt; build support... configure: error: unknown; check config.log for<br>
&gt; details<br>
&gt;<br>
&gt;<br>
&gt; GIT BUILD:<br>
&gt;<br>
&gt;<br>
&gt; git clone git://<a href="http://git.whamcloud.com/fs/lustre-release.git" target="_blank">git.whamcloud.com/fs/lustre-release.git</a><br>
&gt; cd lustre-release/<br>
&gt; git checkout --track -b b2_3 origin/b2_3<br>
&gt; sh ./autogen.sh<br>
&gt; ./configure --disable-server<br>
&gt;<br>
&gt;<br>
&gt; Log:<br>
&gt;<br>
&gt;<br>
&gt; root@linux-desktop:/home/imemadmin/lustre-release# ./configure<br>
&gt; --without-server<br>
&gt;<br>
&gt; checking build system type... x86_64-unknown-linux-gnu<br>
&gt; checking host system type... x86_64-unknown-linux-gnu<br>
&gt; checking target system type... x86_64-unknown-linux-gnu<br>
&gt; checking for a BSD-compatible install... /usr/bin/install -c<br>
&gt; checking whether build environment is sane... yes<br>
&gt; checking for gawk... no<br>
&gt; checking for mawk... mawk<br>
&gt; checking whether make sets $(MAKE)... yes<br>
&gt; checking how to create a ustar tar archive... gnutar<br>
&gt; checking for gcc... gcc<br>
&gt; checking whether the C compiler works... yes<br>
&gt; checking for C compiler default output file name... a.out<br>
&gt; checking for suffix of executables...<br>
&gt; checking whether we are cross compiling... no<br>
&gt; checking for suffix of object files... o<br>
&gt; checking whether we are using the GNU C compiler... yes<br>
&gt; checking whether gcc accepts -g... yes<br>
&gt; checking for gcc option to accept ISO C89... none needed<br>
&gt; checking for style of include used by make... GNU<br>
&gt; checking dependency style of gcc... gcc3<br>
&gt; checking how to run the C preprocessor... gcc -E<br>
&gt; checking for grep that handles long lines and -e... /bin/grep<br>
&gt; checking for egrep... /bin/grep -E<br>
&gt; checking for ANSI C header files... yes<br>
&gt; checking for sys/types.h... yes<br>
&gt; checking for sys/stat.h... yes<br>
&gt; checking for stdlib.h... yes<br>
&gt; checking for string.h... yes<br>
&gt; checking for memory.h... yes<br>
&gt; checking for strings.h... yes<br>
&gt; checking for inttypes.h... yes<br>
&gt; checking for stdint.h... yes<br>
&gt; checking for unistd.h... yes<br>
&gt; checking whether to configure just enough for make dist... no<br>
&gt; checking if this distro uses dpkg... yes<br>
&gt; checking for buildid... none... congratulations, you must be on a tag<br>
&gt; checking whether to build BGL features... no<br>
&gt; checking for ranlib... ranlib<br>
&gt; checking for buggy compiler... no known problems<br>
&gt; checking size of unsigned long long... 8<br>
&gt; ---&gt; size SIZEOF<br>
&gt; ---&gt; size SIZEOF 8<br>
&gt; checking whether to enable uoss... no<br>
&gt; checking whether to enable posix osd... no<br>
&gt; checking whether to build docs... no<br>
&gt; checking whether to build utilities... yes<br>
&gt; checking whether to install init scripts... no<br>
&gt; checking whether to build Lustre tests... yes<br>
&gt; checking whether to build Lustre server support... yes<br>
&gt; checking whether to build Lustre client support... yes<br>
&gt; checking whether to enable split support... no<br>
&gt; checking whether to enable CDEBUG, CWARN... yes<br>
&gt; checking whether to enable ENTRY/EXIT... yes<br>
&gt; checking whether to enable LASSERT, LASSERTF... yes<br>
&gt; checking sys/quota.h usability... yes<br>
&gt; checking sys/quota.h presence... yes<br>
&gt; checking for sys/quota.h... yes<br>
&gt; checking whether to build kernel modules... yes (linux-gnu)<br>
&gt; /usr/src/linux-headers-3.13.0-24-generic<br>
&gt; /usr/src/linux-headers-3.13.0-24-generic<br>
&gt; checking for Linux sources... /lib/modules/3.13.0-24-generic/build<br>
&gt; checking for /lib/modules/3.13.0-24-generic/build... yes<br>
&gt; checking for Linux objects dir... /lib/modules/3.13.0-24-generic/build<br>
&gt; checking for /boot/kernel.h... no<br>
&gt; checking for /var/adm/running-kernel.h... no<br>
&gt; checking for /lib/modules/3.13.0-24-generic/build/.config... yes<br>
&gt; checking<br>
&gt; for /lib/modules/3.13.0-24-generic/build/include/generated/autoconf.h... yes<br>
&gt; checking<br>
&gt; for /lib/modules/3.13.0-24-generic/build/include/linux/version.h...<br>
&gt; yes<br>
&gt; checking<br>
&gt; for /lib/modules/3.13.0-24-generic/build/include/linux/kconfig.h...<br>
&gt; yes<br>
&gt; checking if you are running user mode linux for x86_64... no (asm-um<br>
&gt; missing)<br>
&gt; checking<br>
&gt; for /lib/modules/3.13.0-24-generic/build/include/linux/namei.h... yes<br>
&gt; checking if you are using Linux 2.6... yes<br>
&gt; checking for external module build support... configure: error:<br>
&gt; unknown; check config.log for details<br>
</div></div>&gt; _______________________________________________<br>
&gt; Lustre-discuss mailing list<br>
&gt; <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br>
</blockquote></div><br></div></div></div>