[ewg] Re: [PATCH] ofed_1_4_scripts: Fix ppc64 building of rnfs-utils

Alexander Schmidt alexs at linux.vnet.ibm.com
Mon Mar 30 02:25:53 PDT 2009


On Fri, 27 Mar 2009 14:52:27 -0500
Jon Mason <jon at opengridcomputing.com> wrote:

> rnfs-utils will not build on ppc64 without a 32bit version of
> e2fsprogs-devel.  The 32bit version is needed due to logic previously
> added to install.pl to force the compile to be 32bit.  Another way to
> fix this issue would be to allow 64bit version of the rnfs-utils by
> removing the logic which forces it to be 32bit.
> 
> With the added dependency, rnfs-utils compiles on RHEL5.2 on ppc64
> without issue.
> 
> Thanks,
> Jon

Hi Jon,

thanks for the patch, it also works fine on RHEL5.3 now.

I've also tried to install the rnfs-utils package on SLES11, and there I run
into another problem. The SRPM has the following dependencies:

[alexschm at BL3D1974 SRPMS]$ rpm -qpR rnfs-utils-1.1.5-rc1.OFED.src.rpm 
krb5-devel >= 1.3.1
autoconf >= 2.57
automake  
krb5-devel  
libtool  
krb5-libs  
rpmlib(CompressedFileNames) <= 3.0.4-1

I've created the patch below for teaching the installer that rnfs-utils needs
the krb5 packages. But on SLES10 & 11, there is no krb5-libs package, so it's
not possible to install rnfs-utils. Could you try to fix this?

--- OFED-1.4.1-20090329-0600.orig/install.pl
+++ OFED-1.4.1-20090329-0600/install.pl
@@ -947,7 +947,8 @@ my %packages_info = (
             { name => "rnfs-utils", parent => "rnfs-utils",
             selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0,
             available => 0, mode => "user", dist_req_build => [],
-            dist_req_inst => [], ofa_req_build => [],
+            dist_req_inst => ( $build32 == 1 )?["krb5-devel$suffix_32bit", "krb5-libs"]:
+	    ["krb5-devel$suffix_64bit", "krb5-libs"], ofa_req_build => [],
             ofa_req_inst => [],
             install32 => 0, exception => 0, configure_options => '' },
         'rnfs-utils-debuginfo' =>



More information about the ewg mailing list