Wind River Support Network

HomeDefectsOVP-1139
Fixed

OVP-1139 : qemu needs a PACKAGECONFIG setting for glusterfs

Created: Aug 15, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 12, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Now that glusterfs installs sysroots/.../usr/include/glusterfs/api/glfs.h, the qemu configure script will autodetect the presence of the glusterfs API and enable API features.  Since glusterfs isn't in qemu's DEPENDS list, this leads to awkward sstate problems, and I have seen the following build error:

  block/gluster.c:18:32: fatal error: glusterfs/api/glfs.h: No such file or directory

Workaround

Build qemu reliably before or after glusterfs.

Steps to Reproduce

.../configure --enable-board=intel-xeon-core --enable-kernel=preempt-rt+xfs --enable-rootfs=ovp-ovirt-node+third-party-engine --enable-addons=wr-ovp ...
make -C build glusterfs
make -C build qemu
observe that qemu incorporates the glusterfs API
Live chat
Online