[Lustre-discuss] RPM Build Errors

Ender Güler enderguler at gmail.com
Thu Mar 26 00:08:40 PDT 2009


Hello there,
I've applied two kinds of patches rhel 5.1 kernel. The first one is perfctr
patch from the package papi-3.6.2. And the second one is lustre's kernel
patch series for rhel 5.1 kernels. Then built the kernel rpms without any
error and reboot the host. After rebooting the host, I've build ofed 1.4
software stack against the patched kernel source. And again, there are no
problems about ofed stuff. All the things works great. And finally when try
to build lustre rpms against patched kernel using the ofed 1.4 ofa_kernel
for o2ib things I encountered problems during rpm build stage. Belov, you
can find my configure command:

./configure
--with-linux=/root/customLustreAndKernelPackagesForUybhmCns/try1/rpmbuild/BUILD/kernel-2.6.18k3di_lustre.1
--enable-uoss --enable-posix-osd --enable-adaptive-timeouts --enable-efence
--enable-libwrap --disable-snmp --enable-quota --enable-libpthread
--enable-panic_dumplog --with-o2ib=/usr/src/openib --disable-server
--enable-modules

I know that some of the options enabled by default, but i tried lots of
configure options to got it work. But no luck... The configure and make
commands did not return any errors. But the make rpms command returns the
following error:

...
...
...
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.68313
+ umask 022
+ cd /root/customLustreAndKernelPackagesForUybhmCns/try1/rpmbuild/BUILD
+ cd lustre-1.6.5.1
+ DOCDIR=/var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1
+ export DOCDIR
+ rm -rf /var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1
+ /bin/mkdir -p
/var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1
+ cp -pr COPYING
/var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1
+ exit 0
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: modutils >= 2.4.10
Processing files: lustre-source-1.6.5.1-2.6.18_k3di_lustre.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /bin/sh /usr/bin/expect /usr/bin/perl perl(Cwd)
perl(File::Basename) perl(File::Copy) perl(FileHandle) perl(Getopt::Long)
perl(Getopt::Std) perl(POSIX) perl(Socket) perl(Sys::Hostname) perl(strict)
perl(vars)
Processing files: lustre-tests-1.6.5.1-2.6.18_k3di_lustre.1
error: File not found by glob:
/var/tmp/lustre-1.6.5.1-root/usr/lib64/lustre/tests/*
error: File not found by glob:
/var/tmp/lustre-1.6.5.1-root/lib/modules/2.6.18-k3di_lustre.1/kernel/fs/lustre/llog_test.*
Processing files: lustre-debuginfo-1.6.5.1-2.6.18_k3di_lustre.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
    File not found by glob:
/var/tmp/lustre-1.6.5.1-root/usr/lib64/lustre/tests/*
    File not found by glob:
/var/tmp/lustre-1.6.5.1-root/lib/modules/2.6.18-k3di_lustre.1/kernel/fs/lustre/llog_test.*
make[1]: *** [rpms-real] Error 1
make[1]: Leaving directory
`/root/customLustreAndKernelPackagesForUybhmCns/try1/lustre-1.6.5.1'
make: *** [rpms] Error 2

What can be the problem? What kind of info you need for identifying this
problem? Thanks in advance.

Ender GULER
System Administrator
UYBHM
Istanbul Techincal University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20090326/380e12cd/attachment.htm>


More information about the lustre-discuss mailing list