Bug 1215421

Summary: Fails to build on x32
Product: [Community] GlusterFS Reporter: Patrick Matthäi <pmatthaei>
Component: buildAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.3CC: bugs, rabhat
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-v3.6.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1216065 (view as bug list) Environment:
Last Closed: 2016-02-04 15:27:57 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:
Bug Depends On: 1216965    
Bug Blocks: 1216065    
Attachments:
Description Flags
Fix build on x32 none

Description Patrick Matthäi 2015-04-26 13:12:02 UTC
Created attachment 1019017 [details]
Fix build on x32

glusterfs fails to build on x32. Patch attached.

Comment 1 Anand Avati 2015-04-28 12:58:43 UTC
REVIEW: http://review.gluster.org/10424 (build: only include sys/sysctl.h when sysctl() is used) posted (#1) for review on release-3.6 by Kaleb KEITHLEY (kkeithle)

Comment 2 Anand Avati 2015-05-19 13:35:10 UTC
COMMIT: http://review.gluster.org/10424 committed in release-3.6 by Raghavendra Bhat (raghavendra) 
------
commit dcdf54520f8c4435db4d4934c7675a75a4b9dbc0
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Tue Apr 28 08:52:04 2015 -0400

    build: only include sys/sysctl.h when sysctl() is used
    
    Backport of BZ 1198849 http://review.gluster.org/9963
    
    (fails to build on X32. X32 ABI for amd64/x86_64 using
    32-bit pointers.)
    
    Change-Id: I92496eeadec5a339abcfe9b7fab4bef896d80da4
    BUG: 1215421
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/10424
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra Bhat <raghavendra>

Comment 3 Kaushal 2016-02-04 15:27:57 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-v3.6.4, please open a new bug report.

glusterfs-v3.6.4 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] https://www.gluster.org/pipermail/gluster-users/2015-July/022826.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user