<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi!</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Jul 3, 2017 at 10:02 PM, Otavio Salvador <span dir="ltr"><<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The 17.1.2 release has changed the platform setting and when not<br>
explicitly disabled it assumes x11 support.<br>
<br>
Fixes:<br>
<br>
| checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no<br>
| configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:<br>
|<br>
| No package 'x11-xcb' found<br>
| No package 'xcb' found<br>
| No package 'xcb-dri2' found<br>
| No package 'xcb-xfixes' found<br>
|<br>
| Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
| installed software in a non-standard prefix.<br>
|<br>
| Alternatively, you may set the environment variables XCB_DRI2_CFLAGS<br>
| and XCB_DRI2_LIBS to avoid the need to call pkg-config.<br>
| See the pkg-config man page for more details.<br>
<br>
The issue has been exposed by meta-freescale BSP. Fix tested with<br>
imx6qsabresd machine.<br>
<br>
Signed-off-by: Otavio Salvador <<a href="mailto:otavio@ossystems.com.br">otavio@ossystems.com.br</a>><br>
---<br>
<br>
Changes in v2:<br>
- new patch<br>
<br>
meta/recipes-graphics/mesa/<wbr>mesa.inc | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/meta/recipes-graphics/mesa/<wbr>mesa.inc b/meta/recipes-graphics/mesa/<wbr>mesa.inc<br>
index 41747cffc8..a12ab7ab5b 100644<br>
--- a/meta/recipes-graphics/mesa/<wbr>mesa.inc<br>
+++ b/meta/recipes-graphics/mesa/<wbr>mesa.inc<br>
@@ -49,7 +49,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-<br>
EGL_PLATFORMS = "drm"<br>
EGL_PLATFORMS .="${@bb.utils.contains('<wbr>PACKAGECONFIG', 'x11', ',x11', '', d)}"<br>
EGL_PLATFORMS .="${@bb.utils.contains('<wbr>PACKAGECONFIG', 'wayland', ',wayland', '', d)}"<br>
-PACKAGECONFIG[egl] = "--enable-egl --with-platforms=${EGL_<wbr>PLATFORMS}, --disable-egl"<br>
+PACKAGECONFIG[egl] = "--enable-egl --with-platforms=${EGL_<wbr>PLATFORMS}, --disable-egl --with-platforms=''"<br>
<br>
PACKAGECONFIG[etnaviv] = ""<br>
PACKAGECONFIG[imx] = ""<br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
2.13.2<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">After merging this patch (as per current poky master), builds for MACHINE=raspberrypi3 with meta-raspberrypi fail complaining like this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">| checking for x11 xext xdamage >= 1.1 xfixes x11-xcb xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xxf86vm... yes</div><div class="gmail_extra">| checking for wayland-scanner... no</div><div class="gmail_extra">| configure: error: Building without the x11 platform as GLX is enabled, is not supported</div><div class="gmail_extra">| NOTE: The following config.log files may provide further information.</div><div class="gmail_extra">| NOTE: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.4-r0/build/config.log</div><div class="gmail_extra">| ERROR: configure failed</div><div class="gmail_extra">| WARNING: exit code 1 from a shell command.</div><div class="gmail_extra">| ERROR: Function failed: do_configure (log file is located at /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.</div><div class="gmail_extra">1.4-r0/temp/log.do_configure.11176)</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">I know very little about graphical stacks since I use these systems mostly headless. Can anyone have a look into it? BTW, without this only commit, the build runs to the end with no other errors.</div></div>