Hi all,

I'm running through and documenting the build process of the latest Lustre now from Git according to the procedure in the Lustre Administrator's Manual and everything was going fine until I get to 30.3.2 Configuring and Building Lustre RPMs.

I can kick off the configure and it completes, no problem:

cd ~/lustre-release
./configure --with-linux=home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/

If I go and run a straight "make" that will complete without any errors, however, if I try to then run a "make rpms", it fails quite quickly with the following spew:

make  \
  top_distdir="lustre-2.7.54" distdir="lustre-2.7.54" \
  dist-hook
make[2]: Entering directory `/home/build/lustre-release'
find lustre-2.7.54 -name .deps -o \
                -name CVS -o \
                -name .svn -o \
                -name .git -o \
                -name .#* -exec rm -rf {} \;
make  \
        top_distdir="lustre-2.7.54" distdir="lustre-2.7.54" \
        module-dist-hook
make[3]: Entering directory `/home/build/lustre-release'
make[3]: Leaving directory `/home/build/lustre-release'
make[2]: Leaving directory `/home/build/lustre-release'
test -n "" \
|| find "lustre-2.7.54" -type d ! -perm -755 \
        -exec chmod u+rwx,go+rx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/sh /home/build/lustre-release/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "lustre-2.7.54"
tardir=lustre-2.7.54 && tar --format=ustar -chf - "$tardir" | GZIP=--best gzip -c >lustre-2.7.54.tar.gz
make[1]: Leaving directory `/home/build/lustre-release'
if test -d "lustre-2.7.54"; then find "lustre-2.7.54" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "lustre-2.7.54" || { sleep 5 && rm -rf "lustre-2.7.54"; }; else :; fi
rpmbuilddir=`mktemp -t -d rpmbuild-lustre-$USER-XXXXXXXX`; \
make  \
        rpmbuilddir="$rpmbuilddir" rpm-local || exit 1; \
/bin/rpmbuild \
        --define "_tmppath $rpmbuilddir/TMP" \
        --define "_topdir $rpmbuilddir" \
        --define "build_src_rpm 1" \
        --define "dist %{nil}" \
        -ts lustre-2.7.54.tar.gz || exit 1; \
cp $rpmbuilddir/SRPMS/lustre-2.7.54-*.src.rpm . || exit 1; \
rm -rf $rpmbuilddir
make[1]: Entering directory `/home/build/lustre-release'
make[1]: Leaving directory `/home/build/lustre-release'
error: line 144: Version required: Requires: kernel =
make: *** [srpm] Error 1

Does that make sense to anyone? I was pretty meticulous about following the build procedure, I did have to do a few substitutions for things in CentOS 7 but everything appeared to complete clean. I only encountered some trouble when actually trying to produce the RPMs ...

Did I make a silly error upstream that's only affecting me now? Is this just something I need to adjust for in CentOS (how?) or should I just file a bug report?

I can't figure out what's producing this "Version required: Requires: kernel =" message. I can't find it grepping through all the various Makefiles... anyone got any ideas?

Thanks,

Sean