Bug 763500 (GLUSTER-1768)

Summary: libibverbs-devel should be a BuildRequires in rdma sub-package
Product: [Community] GlusterFS Reporter: Bernard Li <bernard>
Component: buildAssignee: Harshavardhana <fharshav>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1-alphaCC: cww, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bernard Li 2010-10-01 19:07:21 UTC
Right now if you build a RPM without specifying --without rdma and without libibverbs-devel installed, the build will fail because it couldn't find some rdma files -- this is because it tries to build without rdma support but the spec file does not know that.

The following patch will fix the issue:

--- glusterfs.spec.in.orig	2010-09-30 09:26:33.000000000 -0700
+++ glusterfs.spec.in	2010-10-01 11:56:25.000000000 -0700
@@ -65,7 +65,7 @@
 %package rdma
 Summary: GlusterFS rdma
 Group: Applications/File
-Requires: libibverbs-devel
+BuildRequires: libibverbs-devel
 
 %description rdma
 GlusterFS is a clustered file-system capable of scaling to several

Tested with glusterfs-3.1.0qa36.

Comment 1 Amar Tumballi 2010-10-02 04:14:07 UTC

*** This bug has been marked as a duplicate of bug 1770 ***