Hi James, Frank,
Sorry for the junk e-mail just previous; I'm no huge fan of Google Mail;
sometimes it just sends messages when you copy and paste certain things
into it. Sigh.
Anyway, ah, okay, I see it now, line 144 of the file
lustre-release/lustre.spec. Should I replace that manually with the text
string that I used as EXTRAVERSION in the Makefile when performing the
"Patching the Kernel Source with the Lustre Code" step? Or comment it out
entirely?
I'm trying to bring up servers, here; the clients will be Ubuntu machines
... hope to get that figured out later ... I'm brand new at this and we're
doing it ourselves on white box hardware, no systems integrator involved,
so just trying to understand how everything fits together.
My kernel patched and built successfully; I have the RPM for that, but I
haven't installed it yet; I assume there was some userland binary stuff
that needed to be built and installed in step 30.3.2 in the manual.
So, I do have some files in that path; I believe for me on CentOS 7 that
will be:
/home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/include/generated/
The files are:
asm-offsets.h autoconf.h bounds.h compile.h uapi utsrelease.h
I assume all this stuff was generated when I went through and built the
kernel. As I say, the actual "make" proper of section 30.3.2 completed
without error, it's just the "make rpms" that fails; it seems more a
packaging issue ... I'm mostly a Debian/Ubuntu guy so I might just be
missing something... I am not as familiar with the process for building
RPMs as for .debs but I assume a sort of "package information file" is
being automatically generated here and it's missing a line, basically ... I
understand this is line 144 in lustre.spec now; just not sure how to handle
this?
There is no "krequires" package that I can find ... unless it is in there
by another name? Still searching on that while I see if anything further
comes in here.
Thanks,
Sean
On Fri, Jun 5, 2015 at 3:26 PM, Sean Caron <scaron(a)umich.edu> wrote:
Hi James, Frank,
On Fri, Jun 5, 2015 at 3:25 PM, Simmons, James A. <simmonsja(a)ornl.gov>
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:
>
> >
>
> >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:
>
>
>
> First question is do you want to build server rpms or client rpms?
>
>
>
> Second question is do you have the
> “linux-source-tree”/include/generated/* files. The kversion is based on
> that. If not you need to do a make oldconfig;make prepare in your
>
> Kernel source tree. Especially in the case were you are not using linux
> kernel obj tree from kernel-devel-*.rpm.
>
>
>