Bug 763500 (GLUSTER-1768) - libibverbs-devel should be a BuildRequires in rdma sub-package
Summary: libibverbs-devel should be a BuildRequires in rdma sub-package
Keywords:
Status: CLOSED DUPLICATE of bug 763502
Alias: GLUSTER-1768
Product: GlusterFS
Classification: Community
Component: build
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-01 19:07 UTC by Bernard Li
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.