[Lustre-discuss] Lustre Client building problem on Centos 6.5

Sean Brisbane s.brisbane1 at physics.ox.ac.uk
Mon Jul 21 01:25:08 PDT 2014


Hi Andrew,

To get l2.5 to build on el6.5 I needed to disable building the server modules.

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

Cheers,
Sean

________________________________
From: lustre-discuss-bounces at lists.lustre.org [lustre-discuss-bounces at lists.lustre.org] on behalf of Andrew Holway [andrew.holway at gmail.com]
Sent: 21 July 2014 08:14
To: lustre-discuss at lists.lustre.org
Subject: Re: [Lustre-discuss] Lustre Client building problem on Centos 6.5

On a different system I am getting as follows:


+ 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

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

error: Bad exit status from /var/tmp/rpm-tmp.yp1duv (%install)

RPM build errors:

    user jenkins does not exist - using root

    group jenkins does not exist - using root

    user jenkins does not exist - using root

    group jenkins does not exist - using root

    Bad exit status from /var/tmp/rpm-tmp.yp1duv (%install)


On 21 July 2014 08:16, Andrew Holway <andrew.holway at gmail.com<mailto:andrew.holway at gmail.com>> wrote:
Hi Lustre folks,

I'm getting this error when I try to compile the Lustre client.

test -n "" \
|| find "lustre-source/lustre-2.5.2" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/sh /usr/src/redhat/BUILD/lustre-2.5.2/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "lustre-source/lustre-2.5.2"
+ chmod -R go-w lustre-source/lustre-2.5.2
+ xargs chmod +x
+ find /usr/src/redhat/BUILDROOT/lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.x86_64 -name '*.so'
+ cat
+ 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
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
error: Bad exit status from /var/tmp/rpm-tmp.QBYgh0 (%install)


RPM build errors:
    user jenkins does not exist - using root
    group jenkins does not exist - using root
    user jenkins does not exist - using root
    group jenkins does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.QBYgh0 (%install)

Im building with:

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

Cheers,

Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20140721/cfe08400/attachment.htm>


More information about the lustre-discuss mailing list