Yes, this commit bring this issue. I propose the following fix
http://review.whamcloud.com/15181/.
Dmitry.
From: HPDD-discuss [mailto:hpdd-discuss-bounces@lists.01.org] On Behalf Of Patrick
Farrell
Sent: Monday, June 08, 2015 11:27 PM
To: Patrick Farrell; Sean Caron; Stephen Champion
Cc: hpdd-discuss(a)lists.01.org
Subject: Re: [HPDD-discuss] Performing "make rpms" on current Git pull fails
with "error: line 144: Version required: Requires: kernel ="
I’ve identified the problematic commit:
http://review.whamcloud.com/#/c/12961/
LU-5919<https://jira.hpdd.intel.com/browse/LU-5919>
build: Make "make rpms" use "make srpm" output
Hash: a71ab04971382c77f708d6a082e8ee2fa845e9be
I haven’t dug in to this in detail yet, but that commit is the culprit. That commit
breaks the build process described here:
https://wiki.hpdd.intel.com/display/PUB/Building+Lustre+from+Source
Resulting in the error described earlier in this thread:
error: line 144: Version required: Requires: kernel =
Hmmmm… I’ll see what I can figure out.
- Patrick Farrell
From: Patrick Farrell <paf@cray.com<mailto:paf@cray.com>>
Date: Friday, June 5, 2015 at 3:20 PM
To: Sean Caron <scaron@umich.edu<mailto:scaron@umich.edu>>, Stephen Champion
<schamp@sgi.com<mailto:schamp@sgi.com>>
Cc: "hpdd-discuss@lists.01.org<mailto:hpdd-discuss@lists.01.org>"
<hpdd-discuss@lists.01.org<mailto:hpdd-discuss@lists.01.org>>
Subject: Re: [HPDD-discuss] Performing "make rpms" on current Git pull fails
with "error: line 144: Version required: Requires: kernel ="
I've hit this as well. Some relatively recent commit - 2.7.0 is fine - has broken
this process. I tried to figure out what and gave up, I am now bisecting. The specific
issue seems to be that %kversion is not being read out, but I'm not sure of the why.
- Patrick Farrell
________________________________
From: HPDD-discuss
[hpdd-discuss-bounces@lists.01.org<mailto:hpdd-discuss-bounces@lists.01.org>] on
behalf of Sean Caron [scaron@umich.edu<mailto:scaron@umich.edu>]
Sent: Friday, June 05, 2015 3:01 PM
To: Stephen Champion; Sean Caron
Cc: hpdd-discuss@lists.01.org<mailto:hpdd-discuss@lists.01.org>
Subject: Re: [HPDD-discuss] Performing "make rpms" on current Git pull fails
with "error: line 144: Version required: Requires: kernel ="
Sorry for the confusion; that was a typo in my e-mail trying to copy and paste from my
log; every time I've run that ./configure I did actually get the leading slash in
there:
[build@lustre-mgs lustre-release]$ history | grep configure
70 ./configure
--with-linux=/home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/
72 ./configure
--with-linux=/home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/
97 ./configure
--with-linux=/home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/
122 history | grep configure
[build@lustre-mgs lustre-release]$
I've tried a few "make clean" and retry attempts and I reach the same end;
the make completes with no errors, but "make rpms" fails with that line 144
error.
I looked at the page Richard sent me and I don't see any material changes from section
30.2.2 on in the administrator's guide; there's a few extra packages in there that
aren't mentioned in my printing of the Lustre 2.x operations manual ... but I never
hit any errors previous in the build process; the kernel builds fine ... just trying to
build the Lustre RPMs fails ... final step ... I feel like anything I would have made a
hash of so grievously would have caused fatal errors earlier in the process, no?
Best,
Sean
On Fri, Jun 5, 2015 at 3:49 PM, Stephen Champion
<schamp@sgi.com<mailto:schamp@sgi.com>> wrote:
On 6/5/2015 12:41 PM, Sean Caron wrote:
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?
At configure.
Right at momentary freeze as my mail client was sending, I saw the problem.
./configure
--with-linux=home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/
the leading slash is missing.
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.