<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;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>
<br>
Cheers,<br>
Sean<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF258716"><font color="#000000" face="Tahoma" size="2"><b>From:</b> lustre-discuss-bounces@lists.lustre.org [lustre-discuss-bounces@lists.lustre.org] on behalf of Andrew Holway [andrew.holway@gmail.com]<br>
<b>Sent:</b> 21 July 2014 08:14<br>
<b>To:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [Lustre-discuss] Lustre Client building problem on Centos 6.5<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">On a different system I am getting as follows: 
<div><br>
</div>
<div>
<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="">error: Bad exit status from /var/tmp/rpm-tmp.yp1duv (%install)</p>
<p class="">RPM build errors:</p>
<p class="">    user jenkins does not exist - using root</p>
<p class="">    group jenkins does not exist - using root</p>
<p class="">    user jenkins does not exist - using root</p>
<p class="">    group jenkins does not exist - using root</p>
<p class="">    Bad exit status from /var/tmp/rpm-tmp.yp1duv (%install)</p>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 21 July 2014 08:16, Andrew Holway <span dir="ltr"><<a href="mailto:andrew.holway@gmail.com" target="_blank">andrew.holway@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-family:arial,sans-serif; font-size:12.727272033691406px">Hi Lustre folks,</div>
<div style="font-family:arial,sans-serif; font-size:12.727272033691406px"><br>
</div>
<div style="font-family:arial,sans-serif; font-size:12.727272033691406px">I'm getting this error when I try to compile the Lustre client.</div>
<div style="font-family:arial,sans-serif; font-size:12.727272033691406px"><br>
</div>
<div style="font-family:arial,sans-serif; font-size:12.727272033691406px">
<div style="margin:0px; font-size:11px; font-family:Menlo">test -n "" \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>|| find "lustre-source/lustre-2.5.2" -type d ! -perm -755 \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>-exec chmod u+rwx,go+rx {} \; -o \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>  ! -type d ! -perm -444 -exec /bin/sh /usr/src/redhat/BUILD/lustre-2.5.2/config/install-sh -c -m a+r {} {} \; \</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="white-space:pre-wrap"></span>|| chmod -R a+r "lustre-source/lustre-2.5.2"</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">+ chmod -R go-w lustre-source/lustre-2.5.2</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">+ xargs chmod +x</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">+ find /usr/src/redhat/BUILDROOT/lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.x86_64 -name '*.so'</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">+ cat</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">+ ln -s Lustre.ha_v2 /usr/src/redhat/BUILDROOT/lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.x86_64/etc/ha.d/resource.d/Lustre</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">ln: creating symbolic link `/usr/src/redhat/BUILDROOT/lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.x86_64/etc/ha.d/resource.d/Lustre': No such file or directory</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">error: Bad exit status from /var/tmp/rpm-tmp.QBYgh0 (%install)</div>
<div style="margin:0px; font-size:11px; font-family:Menlo; min-height:13px"><br>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo; min-height:13px"><br>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">RPM build errors:</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">    user jenkins does not exist - using root</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">    group jenkins does not exist - using root</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">    user jenkins does not exist - using root</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">    group jenkins does not exist - using root</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">    Bad exit status from /var/tmp/rpm-tmp.QBYgh0 (%install)</div>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><br>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="font-family:Helvetica; font-size:12px">Im building with:</span></div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><br>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">rpmbuild --define 'kversion $(uname -r)' --define 'kdir /usr/src/kernels/$(uname -r)' --rebuild lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.src.rpm</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><br>
</div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="font-family:Helvetica; font-size:12px">Cheers,</span></div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="font-family:Helvetica; font-size:12px"><br>
</span></div>
<div style="margin:0px; font-size:11px; font-family:Menlo"><span style="font-family:Helvetica; font-size:12px">Andrew</span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>