<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 12, 2017 at 12:38 AM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Jul 11, 2017 at 3:02 PM, Andrea Galbusera &lt;<a href="mailto:gizero@gmail.com">gizero@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Il 11 lug 2017 8:00 PM, &quot;Khem Raj&quot; &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; ha scritto:<br>
&gt;<br>
&gt; On Tue, Jul 11, 2017 at 1:34 AM, Jussi Kukkonen<br>
&gt; &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt; wrote:<br>
&gt;&gt; On 11 July 2017 at 11:27, Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 11 July 2017 at 10:42, Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Exception: FileExistsError: [Errno 17] File exists:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &#39;/home/gizero/work/<wbr>smartliving/distro/repo-<wbr>master/build-poky/tmp/<wbr>sysroots-components/<wbr>raspberrypi3/userland/usr/<wbr>include/KHR/khrplatform.h&#39;<br>
&gt;&gt;&gt;&gt;&gt; -&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &#39;/home/gizero/work/<wbr>smartliving/distro/repo-<wbr>master/build-poky/tmp/work/<wbr>cortexa7hf-neon-vfpv4-poky-<wbr>linux-gnueabi/gtk+3/3.22.16-<wbr>r0/recipe-sysroot/usr/include/<wbr>KHR/khrplatform.h&#39;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; /usr/include/KHR/khrplatform.h is the egl platform header file, provided<br>
&gt;&gt;&gt;&gt; by both mesa and RPI userland. Does mesa end up in your gtk+3<br>
&gt;&gt;&gt;&gt; recipe-sysroot<br>
&gt;&gt;&gt;&gt; somehow?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; For clarity: this could be a bug but it is unlikely to be related to the<br>
&gt;&gt;&gt;&gt; libepoxy change (it does not use or ship the actual header file).<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Actually this was maybe fixed by Otavios upgrade to mesa 17.1.4 -- mesa<br>
&gt;&gt;&gt; accidentally shipped khrplatform.h even when egl was disabled (which is<br>
&gt;&gt;&gt; what<br>
&gt;&gt;&gt; mesa-gl in oe-core does).<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Sorry, I&#39;ve not had enough  coffee. It was the other way round:<br>
&gt;&gt; khrplatform.h is the platform header that mesa now thinks is needed<br>
&gt;&gt; whether<br>
&gt;&gt; egl is enabled or not -- so they&#39;ve started installing it in any case from<br>
&gt;&gt; 17.1.4 which means mesa-gl now provides khrplatform.h and thus conflicts<br>
&gt;&gt; with userland.<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t know what the correct fix is yet, just wanted to correct my<br>
&gt;&gt; original<br>
&gt;&gt; wrong info.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Post an update to sync this header for userland package.<br>
&gt;<br>
&gt;<br>
&gt; Will this help solving the gtk+3 issue of mesa-gl and userland now both<br>
&gt; providing the same header and causing recipe-sysroot construction to fail?<br>
<br>
</div></div>No it certainly would not. But we can then decide who provides it, in<br>
a easy way.<br>
</blockquote></div><br></div><div class="gmail_extra">I may be in the need to craft something locally to unbreak building with current master... Could you please shed some light on how this should be done then? Is this a matter of completely removing either mesa-gl or userland from gtk+3 deps or a more selective change to avoid the clash in recipe-sysroot?</div></div>