Bug 1368042
Summary: | make fails if Events APIs are disabled | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Aravinda VK <avishwan> |
Component: | eventsapi | Assignee: | Aravinda VK <avishwan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | amukherj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.9.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-27 18:19:27 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: | 1351589 |
Description
Aravinda VK
2016-08-18 07:57:17 UTC
REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#1) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#2) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#3) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#4) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#5) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#6) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#7) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15198 (eventsapi: Fix disable-events issue) posted (#8) for review on master by Aravinda VK (avishwan) COMMIT: http://review.gluster.org/15198 committed in master by Aravinda VK (avishwan) ------ commit d1aa35c3619847922e092b7dbfb201bceea8fa33 Author: Aravinda VK <avishwan> Date: Thu Aug 18 14:51:44 2016 +0530 eventsapi: Fix disable-events issue Events related sources are not loaded in libglusterfs when configure is run with --disable-events option. Due to this every call of gf_event should be guarded with USE_EVENTS macro. To prevent this, USE_EVENTS macro was included in events.c itself(Patch #15054) Instead of disabling building entire directory "events", selectively disabled the code. So that constants and empty function gf_event is exposed. Code will not fail even if gf_event is called when events is disabled. BUG: 1368042 Change-Id: Ia6abfe9c1e46a7640c4d8ff5ccf0e9c30c87f928 Signed-off-by: Aravinda VK <avishwan> Reviewed-on: http://review.gluster.org/15198 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> CentOS-regression: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> 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.9.0, please open a new bug report. glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html [2] https://www.gluster.org/pipermail/gluster-users/ |