<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 July 2017 at 17:47, Andrea Galbusera <span dir="ltr">&lt;<a href="mailto:gizero@gmail.com" target="_blank">gizero@gmail.com</a>&gt;</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"><div dir="ltr"><div><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 27, 2017 at 3:16 PM, Jussi Kukkonen <span dir="ltr">&lt;<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>&gt;</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">Imports the current EGL API registry from Khronos.<br>
<br>
Makes EGL support optional: this is reflected in the recipe but<br>
egl is enabled by default as before.<br>
<br>
Signed-off-by: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>&gt;<br>
---<br>
 .../libepoxy/{<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.<wbr>bb</a> =&gt; <a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a>}            | 9 +++++----<br>
 1 file changed, 5 insertions(+), 4 deletions(-)<br>
 rename meta/recipes-graphics/libepoxy<wbr>/{<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a> =&gt; <a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a>} (70%)<br>
<br>
diff --git a/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a> b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
similarity index 70%<br>
rename from meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a><br>
rename to meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
index e69e828..c8b398f 100644<br>
--- a/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a><br>
+++ b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
@@ -6,15 +6,16 @@ LICENSE = &quot;MIT&quot;<br>
 LIC_FILES_CHKSUM = &quot;file://COPYING;md5=58ef4c80d4<wbr>01e07bd9ee8b6b58cf464b&quot;<br>
<br>
 SRC_URI = &quot;<a href="https://github.com/anholt/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.xz" rel="noreferrer" target="_blank">https://github.com/anholt/${B<wbr>PN}/releases/download/${PV}/${<wbr>BP}.tar.xz</a>&quot;<br>
-SRC_URI[md5sum] = &quot;632fcfd7ae9d21f5a634326d753a8<wbr>9c4&quot;<br>
-SRC_URI[sha256sum] = &quot;bea6fdec3d10939954495da898d87<wbr>2ee836b75c35699074cbf02a64fcb8<wbr>0d5b3&quot;<br>
+SRC_URI[md5sum] = &quot;af4c3ce0fb1143bdc4e43f85695a9<wbr>bed&quot;<br>
+SRC_URI[sha256sum] = &quot;0b808a06c9685a62fca34b680abb8<wbr>bc7fb2fda074478e329b063c1f872b<wbr>826f6&quot;<br>
 UPSTREAM_CHECK_URI = &quot;<a href="https://github.com/anholt/libepoxy/releases" rel="noreferrer" target="_blank">https://github.com/anholt/lib<wbr>epoxy/releases</a>&quot;<br>
<br>
 inherit autotools pkgconfig distro_features_check<br>
<br>
 REQUIRED_DISTRO_FEATURES = &quot;opengl&quot;<br>
<br>
-DEPENDS = &quot;util-macros virtual/egl&quot;<br>
+DEPENDS = &quot;util-macros&quot;<br>
<br>
+PACKAGECONFIG[egl] = &quot;--enable-egl, --disable-egl, virtual/egl&quot;<br>
 PACKAGECONFIG[x11] = &quot;--enable-glx, --disable-glx, virtual/libx11&quot;<br>
-PACKAGECONFIG ??= &quot;${@bb.utils.filter(&#39;DISTRO_FE<wbr>ATURES&#39;, &#39;x11&#39;, d)}&quot;<br>
+PACKAGECONFIG ??= &quot;${@bb.utils.filter(&#39;DISTRO_FE<wbr>ATURES&#39;, &#39;x11&#39;, d)} egl&quot;<br>
<span class="gmail-m_702832814543370566m_827202577286063731gmail-HOEnZb"><font color="#888888">--<br>
2.1.4</font></span><br></blockquote></div><br></div></div></div><div class="gmail_extra">Beside the issue with recent patch to mesa, also this one seems to have caused nasty effects on raspberrypi builds... I got to it after bisecting poky from 854c8c2 that failed with:<br><br>ERROR: gtk+3-3.22.16-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:<br><br>The stack trace of python calls that resulted in this exception/failure was:<br>File: &#39;exec_python_func() autogenerated&#39;, lineno: 2, function: &lt;module&gt;<br>     0001:<br> *** 0002:extend_recipe_sysroot(d)<br>     0003:<br>File: &#39;/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/conf/../../layers/poky/<wbr>meta/classes/staging.bbclass&#39;, lineno: 510, function: extend_recipe_sysroot<br>     0506:                    dest = newmanifest[l]<br>     0507:                    if l.endswith(&quot;/&quot;):<br>     0508:                        staging_copydir(l, targetdir, dest, seendirs)<br>     0509:                        continue<br> *** 0510:                    staging_copyfile(l, targetdir, dest, postinsts, seendirs)<br>     0511:<br>     0512:    for f in fixme:<br>     0513:        if f == &#39;&#39;:<br>     0514:            staging_processfixme(fixme[f], recipesysroot, recipesysroot, recipesysrootnative, d)<br>File: &#39;/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/conf/../../layers/poky/<wbr>meta/classes/staging.bbclass&#39;, lineno: 151, function: staging_copyfile<br>     0147:        os.symlink(linkto, dest)<br>     0148:        #bb.warn(c)<br>     0149:    else:<br>     0150:        try:<br> *** 0151:            os.link(c, dest)<br>     0152:        except OSError as err:<br>     0153:            if err.errno == errno.EXDEV:<br>     0154:                bb.utils.copyfile(c, dest)<br>     0155:            else:<br>Exception: FileExistsError: [Errno 17] File exists: &#39;/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/tmp/sysroots-components/r<wbr>aspberrypi3/userland/usr/inclu<wbr>de/KHR/khrplatform.h&#39; -&gt; &#39;/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/tmp/work/cortexa7hf-neon-<wbr>vfpv4-poky-linux-gnueabi/gtk+<wbr>3/3.22.16-r0/recipe-sysroot/<wbr>usr/include/KHR/khrplatform.h&#39;<br></div></div></blockquote><div><br></div><div>/usr/include/KHR/khrplatform.h is the egl platform header file, provided by both mesa and RPI userland. Does mesa end up in your gtk+3 recipe-sysroot somehow?<br></div><div><br></div><div>For clarity: this could be a bug but it is unlikely to be related to the libepoxy change (it does not use or ship the actual header file).</div><div> </div><div> - Jussi</div><div><br></div></div></div></div>