[ewg] OFED-1.5.2 32bit packaging

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Jun 15 07:09:24 PDT 2010


Alexander Schmidt wrote:
> Hi Vlad,
> 
> I'm running into an issue with 32bit packages on SLES11SP1 (ppc64, daily build
> OFED-1.5.2-20100607-0636). During the build, 32bit and 64bit libibverbs packages
> are generated which are stored as
> 
> RPMS/sles-release-11.1-1.152/ppc64/libibverbs-1.1.3-0.8.g4d733f4.ppc64.rpm
> RPMS/sles-release-11.1-1.152/ppc64/libibverbs-1.1.3-0.8.g4d733f4.ppc.rpm
> 
> Then the installer tries to install both, which works fine for the 64bit
> package but installing the 32bit version fails with
> 
> Preparing packages for installation...
> 	package libibverbs-1.1.3-0.8.g4d733f4.ppc is already installed
> 
> I've double checked that there aren't any old packages installed, seems
> like the 64bit and 32bit version are colliding.
> 
> Do you have an idea what could be the reason for this? If not I'll try
> to investigate this.
> 
> Thanks!
> 

Hi Alexander,
Please try OFED installation after applying the following patch to the install.pl script:


diff --git a/install.pl b/install.pl
index 89ca93c..54f3b0f 100755
--- a/install.pl
+++ b/install.pl
@@ -3481,7 +3481,7 @@ sub install_rpm_32
      }

      $cmd = "rpm -iv $rpminstall_flags";
-    if ($distro eq "SuSE" and $dist_rpm_rel gt 15.2) {
+    if ($distro eq "SuSE") {
          $cmd .= " --force";
      }
      $cmd .= " $package";



More information about the ewg mailing list