On 06/05/2015 02:18 PM, Sean Caron wrote:
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:
...
--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 ...
This is coming from the specfile:
144 Requires: kernel = %{krequires}
so krequires is probably not set on your setup for some reason.