[Lustre-discuss] Error building lustre modules rpm

Ashenafi D bashenafi at gmail.com
Thu Nov 8 18:34:48 PST 2007


Hi,

When building the lustre rpm modules, configure completes fine but "make
rpms" failed with the following error messages

./configure --with-linux=/usr/src/linux-2.6.9-55.0.9.EL_lustre.1.6.3/

make rpms

 -name .#* | xargs rm -rf
make[2]: Leaving directory `/usr/src/lustre-1.6.3'
find lustre-1.6.3 -type d ! -perm -777 -exec chmod a+rwx {} \; -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/lustre-1.6.3/install-sh -c
-m a+r {} {} \; \
|| chmod -R a+r lustre-1.6.3
/bin/sh /usr/src/lustre-1.6.3/missing --run tar chof - lustre-1.6.3 |
GZIP=--best gzip -c >lustre-1.6.3.tar.gz
{ test ! -d lustre-1.6.3 || { find lustre-1.6.3 -type d ! -perm -200 -exec
chmod u+w {} ';' && rm -fr lustre-1.6.3; }; }rpmbuild -ta
lustre-1.6.3.tar.gz
error: File /usr/src/lustre-1.6.3/lustre-ldiskfs-3.0.2.tar.gz: No such file
or directory
make[1]: *** [rpms-real] Error 1
make[1]: Leaving directory `/usr/src/lustre-1.6.3'
make: *** [rpms] Error 2
clus-65 <t at svbu-qaclus-65> lustre-1.6.3]#

Actually lustre-ldiskfs-3.0.2.tar.gz is located in
/usr/src/lustre-1.6.3/ldiskfs/
directory, but the script is checking one level higher.

The server is running:

Linux 2.6.9-55.0.9.EL_lustre.1.6.3smp #1 SMP Sun Oct 7 20:08:31 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux

Installed lustre-source rpm:
lustre-source-1.6.3-2.6.9_55.0.9.EL_lustre.1.6.3smp.x86_64.rpm

*Steps to reproduce:* copy .config from /usr/src/lustre-1.6.3
/lustre/kernel_patches/kernel_configs/kernel-
2.6.9-2.6-rhel4-x86_64-smp.config in to the kernel source tree and compile:

make include/asm
make include/linux/version.h
make SUBDIRS=scripts

cd to lustre sources tree and run:

./configure --with-linux=/usr/src/linux-2.6.9-55.0.9.EL_lustre.1.6.3/

make rpms

Any help is really appreciated, Thanks in advance

Ash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20071108/4e563c4a/attachment.htm>


More information about the lustre-discuss mailing list