Hello there,<div><br></div><div>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:</div>
<div><br></div><div>./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</div>
<div><br></div><div>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:</div>
<div><br></div><div>...</div><div>...</div><div>...</div><div>Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.68313</div><div>+ umask 022</div><div>+ cd /root/customLustreAndKernelPackagesForUybhmCns/try1/rpmbuild/BUILD</div>
<div>+ cd lustre-1.6.5.1</div><div>+ DOCDIR=/var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1</div><div>+ export DOCDIR</div><div>+ rm -rf /var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1</div>
<div>+ /bin/mkdir -p /var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1</div><div>+ cp -pr COPYING /var/tmp/lustre-1.6.5.1-root/usr/share/doc/lustre-modules-1.6.5.1</div><div>+ exit 0</div><div>Requires(interp): /bin/sh /bin/sh</div>
<div>Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</div><div>Requires(post): /bin/sh</div><div>Requires(postun): /bin/sh</div><div>Requires: modutils >= 2.4.10</div>
<div>Processing files: lustre-source-1.6.5.1-2.6.18_k3di_lustre.1</div><div>Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</div><div>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)</div>
<div>Processing files: lustre-tests-1.6.5.1-2.6.18_k3di_lustre.1</div><div>error: File not found by glob: /var/tmp/lustre-1.6.5.1-root/usr/lib64/lustre/tests/*</div><div>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.*</div>
<div>Processing files: lustre-debuginfo-1.6.5.1-2.6.18_k3di_lustre.1</div><div>Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</div><div><br></div><div><br></div><div>
RPM build errors:</div><div>    File not found by glob: /var/tmp/lustre-1.6.5.1-root/usr/lib64/lustre/tests/*</div><div>    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.*</div>
<div>make[1]: *** [rpms-real] Error 1</div><div>make[1]: Leaving directory `/root/customLustreAndKernelPackagesForUybhmCns/try1/lustre-1.6.5.1'</div><div>make: *** [rpms] Error 2</div><div><br></div><div>What can be the problem? What kind of info you need for identifying this problem? Thanks in advance.</div>
<div><br></div><div>Ender GULER</div><div>System Administrator</div><div>UYBHM</div><div>Istanbul Techincal University</div><div><br></div>