Bug 1304348

Summary: Allow GlusterFS to build with URCU 0.6
Product: [Community] GlusterFS Reporter: Kaushal <kaushal>
Component: buildAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, ronny.adsetts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 13:56:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log files none

Description Kaushal 2016-02-03 11:50:24 UTC
URCU 0.6 has the required APIs being used by GlusterD. GlusterFS can be built on Debian Wheezy, which has urcu-0.6.

Comment 1 Vijay Bellur 2016-02-03 11:50:52 UTC
REVIEW: http://review.gluster.org/13345 (Allow builds with older version of URCU) posted (#2) for review on master by Kaushal M (kaushal)

Comment 2 Vijay Bellur 2016-02-04 09:15:14 UTC
REVIEW: http://review.gluster.org/13345 (Allow builds with older version of URCU) posted (#3) for review on master by Kaushal M (kaushal)

Comment 3 Vijay Bellur 2016-02-08 19:14:16 UTC
COMMIT: http://review.gluster.org/13345 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit b28a1d8e54d70deca14efa49da1781e29ce8eb51
Author: Kaushal M <kaushal>
Date:   Tue Feb 2 19:28:49 2016 +0530

    Allow builds with older version of URCU
    
    Debian Wheezy, which has urcu-0.6 doesn't ship the pkg-config files for
    urcu. So when I was checking support, I didn't bother testing Wheezy or
    urcu-0.6 as I didn't want to spend time trying to build without
    pkg-config support.
    
    But it turns out that urcu-0.6 supports the APIs being used by GlusterD.
    This patch improves the configure script to manually search and set URCU
    build flags if pkg-config search fails.
    
    Change-Id: I8c2ae748b58e94d89aef61da6fb3c660710a5f3b
    BUG: 1304348
    Signed-off-by: Kaushal M <kaushal>
    Reviewed-on: http://review.gluster.org/13345
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 4 Ronny Adsetts 2016-02-10 12:39:46 UTC
Created attachment 1122782 [details]
log files

As requested by Kaleb, log files.

Comment 5 Niels de Vos 2016-06-16 13:56:34 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user