meta-toolchain-qt5 のビルドが失敗する

問題

meta-toolchain-qt5 をビルドすると、次のエラーが発生する。

.../git/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.cpp: In member function 'virtual void XCompositeEglClientBufferIntegration::bindTextureToBuffer(wl_resource*)':
.../git/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.cpp:117:97: error: invalid conversion from 'Pixmap {aka long unsigned int}' to 'EGLNativePixmapType {aka void*}' [-fpermissive]
     EGLSurface surface = eglCreatePixmapSurface(mEglDisplay,config,pixmap,attribList.constData());
                                                                                                 ^
In file included from .../git/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h:48:0,
                 from .../git/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.cpp:41:
/home/ubuntu/build/fsl-community-bsp/stec_build/tmp/sysroots/imx53-stec/usr/include/EGL/egl.h:275:31: error:   initializing argument 3 of 'void* eglCreatePixmapSurface(EGLDisplay, EGLConfig, EGLNativePixmapType, const EGLint*)' [-fpermissive]
 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
...
make[5]: *** [.obj/xcompositeeglintegration.o] Error 1
...
make[4]: *** [sub-xcomposite-egl-make_first] Error 2
...
make[3]: *** [sub-compositor-make_first] Error 2
...
make[2]: *** [sub-hardwareintegration-make_first] Error 2
...
make[1]: *** [sub-plugins-make_first-ordered] Error 2
...
make: *** [sub-src-make_first] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at .../temp/log.do_compile)
環境
  • Yocto 1.6.2 (daisy)
  • meta-qt5 (daisy, commit 23405d3a66c308e0b2ea64308b834285850c5c9f)
解決方法

wayland を使わないなら、local.conf に次の行を追加する。

DISTRO_FEATURES_remove = "wayland"