<div dir="ltr">So I'm building off the 2.5 branch and when I'm trying to build out the debian packages I get a general failure <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'</div>
<div>Making distclean in .</div><div>make[4]: Entering directory `/home/imemadmin/Desktop/lustre-release/debian/lustre-source/usr/src/modules/lustre'</div><div>test -z ".*.cmd .*.flags *.o *.ko *.mod.c .depend .*.1.* Modules.symvers Module.symvers" || rm -f .*.cmd .*.flags *.o *.ko *.mod.c .depend .*.1.* Modules.symvers Module.symvers</div>
<div>test -z "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" || 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'</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'</div><div>rm -rf  debian/substvars debian/*.bak debian/*~ *~  *-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 [ "$MA_SOURCE_PKG" = "" ]; then \</div>
<div><span class="" style="white-space:pre">            </span>rm -rf  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'</div><div># Create the module-source tarball.</div>
<div>cd debian/lustre-source/usr/src && tar jcf lustre.tar.bz2 modules </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 </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' in `../lustre-source_2.5.1-1_all.deb'.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p lustre-utils</div><div>dh_installdocs -p  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' in `../lustre-utils_2.5.1-1_amd64.deb'.</div>
<div>dh_testdir</div><div>dh_testroot</div><div>dh_installdirs -p lustre-tests</div><div>dh_installdocs -p  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' in `../lustre-tests_2.5.1-1_amd64.deb'.</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' in `../lustre-dev_2.5.1-1_amd64.deb'.</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' in `../liblustre_2.5.1-1_amd64.deb'.</div><div>make[1]: Leaving directory `/home/imemadmin/Desktop/lustre-release'</div>
<div>dpkg-buildpackage: full upload; Debian-native package (full source is included)</div><div>export KPKG_DEST_DIR="$(pwd)/.." && \</div><div><span class="" style="white-space:pre">        </span>version=$(sed -ne '1s/^lustre (\(.*\)).*$/\1/p' debian/changelog) && \</div>
<div><span class="" style="white-space:pre">    </span>rm -rf debian/tmp/modules-deb && \</div><div><span class="" style="white-space:pre"> </span>mkdir debian/tmp/modules-deb && \</div><div><span class="" style="white-space:pre">  </span>pushd debian/tmp/modules-deb && \</div>
<div><span class="" style="white-space:pre">    </span>dpkg -x ../../../../lustre-source_${version}_all.deb $(pwd) && \</div><div><span class="" style="white-space:pre">   </span>mkdir usr_src/ && \</div><div><span class="" style="white-space:pre">        </span>tar -C usr_src/ -xjf usr/src/lustre.tar.bz2 && \</div>
<div><span class="" style="white-space:pre">    </span>chmod 755 usr_src/modules/lustre/debian/rules && \</div><div><span class="" style="white-space:pre"> </span>mkdir -p usr_share_modass && \</div><div><span class="" style="white-space:pre">     </span>ln -s /usr/share/modass/include/ usr_share_modass/ && \</div>
<div><span class="" style="white-space:pre">    </span>ln -s /usr/share/modass/packages/ usr_share_modass/ && \</div><div><span class="" style="white-space:pre">   </span>echo "lustre" > usr_share_modass/compliant.list && \</div>
<div><span class="" style="white-space:pre">    </span>export MA_DIR=$(pwd)/usr_share_modass && \</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 && \</div>
<div><span class="" style="white-space:pre">    </span>popd && \</div><div><span class="" style="white-space:pre">  </span>VER=$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$/\1/p' debian/changelog); \</div><div>
<span class="" style="white-space:pre">       </span>mkdir -p debs && \</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't find library liblustreapi.so needed by debian/lustre-tests/usr/lib/lustre/tests/ll_dirstripe_verify (ELF format: 'elf64-x86-64'; RPATH: '')</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> dpkg-genchanges  >../lustre_2.5.1-1_amd64.changes</div>
<div>dpkg-genchanges: including full source code in upload</div><div> 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 ‘../liblustre__*.deb’: No such file or directory</div>
<div>mv: cannot stat ‘../linux-patch-lustre__all.deb’: No such file or directory</div><div>mv: cannot stat ‘../lustre-dev__*.deb’: No such file or directory</div><div>mv: cannot stat ‘../lustre-source__all.deb’: No such file or directory</div>
<div>mv: cannot stat ‘../lustre-tests__*.deb’: No such file or directory</div><div>mv: cannot stat ‘../lustre-utils__*.deb’: No such file or directory</div><div>mv: cannot stat ‘../lustre_.dsc’: No such file or directory</div>
<div>mv: cannot stat ‘../lustre__*.changes’: No such file or directory</div><div>mv: cannot stat ‘../lustre_.orig.tar.gz’: No such file or directory</div><div>mv: cannot stat ‘../lustre_.diff.gz’: No such file or directory</div>
<div>mv: cannot stat ‘../lustre-client-modules-__*.deb’: 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.  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"><<a href="mailto:keith.mannthey@intel.com" target="_blank">keith.mannthey@intel.com</a>></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.  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>
 Keith<br>
<div><div><br>
<br>
<br>
<br>
On Thu, 2014-05-01 at 15:03 -0700, Steven Lokie wrote:<br>
> Trying to run a specific version of lustre client for our setup at<br>
> work - I am running into a weird error message on ./configure<br>
><br>
><br>
> personally never seen this error before - checking for external module<br>
> build support... configure: error: unknown; check config.log for<br>
> details<br>
><br>
><br>
> GIT BUILD:<br>
><br>
><br>
> git clone git://<a href="http://git.whamcloud.com/fs/lustre-release.git" target="_blank">git.whamcloud.com/fs/lustre-release.git</a><br>
> cd lustre-release/<br>
> git checkout --track -b b2_3 origin/b2_3<br>
> sh ./autogen.sh<br>
> ./configure --disable-server<br>
><br>
><br>
> Log:<br>
><br>
><br>
> root@linux-desktop:/home/imemadmin/lustre-release# ./configure<br>
> --without-server<br>
><br>
> checking build system type... x86_64-unknown-linux-gnu<br>
> checking host system type... x86_64-unknown-linux-gnu<br>
> checking target system type... x86_64-unknown-linux-gnu<br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
> checking whether build environment is sane... yes<br>
> checking for gawk... no<br>
> checking for mawk... mawk<br>
> checking whether make sets $(MAKE)... yes<br>
> checking how to create a ustar tar archive... gnutar<br>
> checking for gcc... gcc<br>
> checking whether the C compiler works... yes<br>
> checking for C compiler default output file name... a.out<br>
> checking for suffix of executables...<br>
> checking whether we are cross compiling... no<br>
> checking for suffix of object files... o<br>
> checking whether we are using the GNU C compiler... yes<br>
> checking whether gcc accepts -g... yes<br>
> checking for gcc option to accept ISO C89... none needed<br>
> checking for style of include used by make... GNU<br>
> checking dependency style of gcc... gcc3<br>
> checking how to run the C preprocessor... gcc -E<br>
> checking for grep that handles long lines and -e... /bin/grep<br>
> checking for egrep... /bin/grep -E<br>
> checking for ANSI C header files... yes<br>
> checking for sys/types.h... yes<br>
> checking for sys/stat.h... yes<br>
> checking for stdlib.h... yes<br>
> checking for string.h... yes<br>
> checking for memory.h... yes<br>
> checking for strings.h... yes<br>
> checking for inttypes.h... yes<br>
> checking for stdint.h... yes<br>
> checking for unistd.h... yes<br>
> checking whether to configure just enough for make dist... no<br>
> checking if this distro uses dpkg... yes<br>
> checking for buildid... none... congratulations, you must be on a tag<br>
> checking whether to build BGL features... no<br>
> checking for ranlib... ranlib<br>
> checking for buggy compiler... no known problems<br>
> checking size of unsigned long long... 8<br>
> ---> size SIZEOF<br>
> ---> size SIZEOF 8<br>
> checking whether to enable uoss... no<br>
> checking whether to enable posix osd... no<br>
> checking whether to build docs... no<br>
> checking whether to build utilities... yes<br>
> checking whether to install init scripts... no<br>
> checking whether to build Lustre tests... yes<br>
> checking whether to build Lustre server support... yes<br>
> checking whether to build Lustre client support... yes<br>
> checking whether to enable split support... no<br>
> checking whether to enable CDEBUG, CWARN... yes<br>
> checking whether to enable ENTRY/EXIT... yes<br>
> checking whether to enable LASSERT, LASSERTF... yes<br>
> checking sys/quota.h usability... yes<br>
> checking sys/quota.h presence... yes<br>
> checking for sys/quota.h... yes<br>
> checking whether to build kernel modules... yes (linux-gnu)<br>
> /usr/src/linux-headers-3.13.0-24-generic<br>
> /usr/src/linux-headers-3.13.0-24-generic<br>
> checking for Linux sources... /lib/modules/3.13.0-24-generic/build<br>
> checking for /lib/modules/3.13.0-24-generic/build... yes<br>
> checking for Linux objects dir... /lib/modules/3.13.0-24-generic/build<br>
> checking for /boot/kernel.h... no<br>
> checking for /var/adm/running-kernel.h... no<br>
> checking for /lib/modules/3.13.0-24-generic/build/.config... yes<br>
> checking<br>
> for /lib/modules/3.13.0-24-generic/build/include/generated/autoconf.h... yes<br>
> checking<br>
> for /lib/modules/3.13.0-24-generic/build/include/linux/version.h...<br>
> yes<br>
> checking<br>
> for /lib/modules/3.13.0-24-generic/build/include/linux/kconfig.h...<br>
> yes<br>
> checking if you are running user mode linux for x86_64... no (asm-um<br>
> missing)<br>
> checking<br>
> for /lib/modules/3.13.0-24-generic/build/include/linux/namei.h... yes<br>
> checking if you are using Linux 2.6... yes<br>
> checking for external module build support... configure: error:<br>
> unknown; check config.log for details<br>
</div></div>> _______________________________________________<br>
> Lustre-discuss mailing list<br>
> <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
> <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>