Hi Steve,
I've got the following two available; I assumed to use the "lustre" one
consistent with 30.3.2 in the manual; here's what I'm looking at:
[build@lustre-mgs BUILD]$ ls -la
total 16
drwxrwxr-x. 4 build build 4096 Jun 4 17:07 .
drwxrwxr-x. 8 build build 4096 Jun 4 17:00 ..
drwxr-xr-x. 3 build build 4096 Jun 4 17:00 kernel-3.10.0-229.4.2.el7
drwxr-xr-x. 24 build build 4096 Jun 4 17:13
kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64
[build@lustre-mgs BUILD]$ pwd
/home/build/kernel/rpmbuild/BUILD
[build@lustre-mgs BUILD]$
I've been following the build directions explicitly from section 30.2.2 on
only correcting for differences between CentOS 7 and RHEL 7 ... everything
built clean until now, as far as I can tell. At what point in the build
process would I have gone awry for that to happen?
Best,
Sean
On Fri, Jun 5, 2015 at 3:37 PM, Stephen Champion <schamp(a)sgi.com> wrote:
On 6/5/2015 12:18 PM, Sean Caron wrote:
> 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:
>
>
> error: line 144: Version required: Requires: kernel =
>
>
make invokes rpmbuild. While parsing the spec file, an rpm dependency for
a specific kernel version was mangled. Look for 'Requires: kernel =' in
the spec. This will be %{krequires}, which is defined as :
%define krequires %(bash -c "echo %{kversion} | sed -e 's/\.x86_64$//' -e
's/\.i[3456]86$//' -e 's/-smp$//' -e 's/-bigsmp$//' -e
's/-ppc64$//' -e
's/-default$//'")
Which makes me guess that %{kversion} is undefined. kversion is defined
from the linux kernel headers. That it is all coming up empty makes me
think you've probably got the wrong path to the linux kernel objects and/or
sources.
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss(a)lists.01.org
https://lists.01.org/mailman/listinfo/hpdd-discuss