Bug 1536908
| Summary: | gluster-block build as "fatal error: api/glfs.h: No such file or directory" | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Rechard <1148020939> |
| Component: | build | Assignee: | Xiubo Li <xiubli> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | bugs, xiubli |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | v0.3+ | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-21 01:01:47 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: | |||
REVIEW: https://review.gluster.org/#/c/19248/ (gluster-block: Fix build error due to couldn't find the glfs.h) This has been resolved and the patch has been merged into the upstream repository. Please see: https://review.gluster.org/#/c/19248/ |
Description of problem: Using the mainline of glusterfs/guster-block/tcmu-runner to test the HA, when building the gluster-block code, it will produce the build error as: In file included from glfs-operations.h:20:0, from block_svc_routines.c:13: ../utils/lru.h:15:24: fatal error: api/glfs.h: No such file or directory # include <api/glfs.h> ^ compilation terminated. make[3]: *** [libgbrpc_la-block_svc_routines.lo] Error 1 make[3]: Leaving directory `/root/gluster-block/rpc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/gluster-block/rpc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/gluster-block' make: *** [all] Error 2 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. build and install the mainline of glusterfs 2. build and install the mainline of tcmu-runner 3. build the mainline of gluster-block Actual results: build gluster-block code okay Expected results: build as error and exit Additional info: