Bug 1218625

Summary: glfs.h:46:21: fatal error: sys/acl.h: No such file or directory
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: buildAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, ndevos
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1218400 Environment:
Last Closed: 2016-06-16 12:58:24 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:    
Bug Blocks: 1218359, 1218400    

Description Kaleb KEITHLEY 2015-05-05 12:45:06 UTC
+++ This bug was initially created as a clone of Bug #1218400 +++

+++ This bug was initially created as a clone of Bug #1218359 +++

Trying to build new libvirt in rawhide, hitting this error with gluster:

In file included from storage/storage_backend_gluster.c:24:0:
/usr/include/glusterfs/api/glfs.h:46:21: fatal error: sys/acl.h: No such file or directory
compilation terminated.

Doesn't appear to be libvirt specific.

Build: http://koji.fedoraproject.org/koji/taskinfo?taskID=9654514

DEBUG util.py:388:   --> glusterfs-api-devel-3.7.0-0.1.beta1.fc23.x86_64
DEBUG util.py:388:   --> glusterfs-devel-3.7.0-0.1.beta1.fc23.x86_64

--- Additional comment from Niels de Vos on 2015-05-04 21:18:23 CEST ---

glusterfs-api-devel should have a dependency on libacl-devel...

Comment 1 Anand Avati 2015-05-05 14:04:23 UTC
REVIEW: http://review.gluster.org/10579 (build: gluster-api-devel requires libacl-devel) posted (#2) for review on master by Vijay Bellur (vbellur)

Comment 2 Anand Avati 2015-05-05 17:52:54 UTC
COMMIT: http://review.gluster.org/10579 committed in master by Niels de Vos (ndevos) 
------
commit f037d58f2f103f8b80f3827e049876607e764538
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Tue May 5 08:47:38 2015 -0400

    build: gluster-api-devel requires libacl-devel
    
    building libvirt fails
    
    Change-Id: I355879e6c6f56e49c4ee78e1a9763598acacd074
    BUG: 1218625
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/10579
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Gluster Build System <jenkins.com>

Comment 3 Niels de Vos 2015-05-05 17:54:25 UTC
*** Bug 1218399 has been marked as a duplicate of this bug. ***

Comment 4 Niels de Vos 2016-06-16 12:58:24 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