<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 July 2014 10:25, Sean Brisbane <span dir="ltr"><<a href="mailto:s.brisbane1@physics.ox.ac.uk" target="_blank">s.brisbane1@physics.ox.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Hi Andrew,<br>
<br>
To get l2.5 to build on el6.5 I needed to disable building the server modules.<br>
<br>
rpmbuild --rebuild --define "lustre_name lustre-client" --define "configure_args --disable-server --enable-client" --without servers lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.src.rpm<br></div></div>
</blockquote><div><br></div><div>Hi Sean,</div><div><br></div><div>Yea I have tried various permutations of the command, all to no avail.  I am trying the following:</div><div><br></div><div>rpmbuild --rebuild --without servers --define 'kversion $(uname -r)' --define 'kdir /usr/src/kernels/2.6.32-431.20.3.el6.x86_64/' --rebuild 'lustre-client-2.5.1-2.6.32_431.5.1.el6.x86_64.src.rpm'<br>
</div><div><p class="">And see the same error:</p><p class="">







</p><p class="">+ cp /root/rpmbuild/BUILD/lustre-2.5.1/lustre/obdclass/llog_test.ko /root/rpmbuild/BUILDROOT/lustre-client-2.5.1-2.6.32_431.5.1.el6.x86_64.x86_64/lib/modules/2.6.32-431.el6.x86_64/extra/kernel/fs/lustre</p>
<p class="">cp: cannot create regular file `/root/rpmbuild/BUILDROOT/lustre-client-2.5.1-2.6.32_431.5.1.el6.x86_64.x86_64/lib/modules/2.6.32-431.el6.x86_64/extra/kernel/fs/lustre': No such file or directory</p><p class="">










</p><p class="">error: Bad exit status from /var/tmp/rpm-tmp.rJHw4x (%install)</p></div></div></div></div>