<div dir="ltr"><div dir="ltr">On Wed, 11 Sep 2019 at 14:35, Ross Burton &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
See I knew that but had blocked it out because it&#39;s so horrible.<br>
<br>
One day we need to sit down with upstream Python and figure out how to <br>
handle cross-compilation properly.<br>
<br>
I finally managed to make my own builds fail (had to turn off Python in <br>
libxml2) and beat at it to build without a target Python.  Fabio: can <br>
you try building Mesa with these two patches:<br>
<br>
<a href="http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ross/mut&amp;id=5f3559d8bb61212e0f9a6543f2dce2bdf77c48b5" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ross/mut&amp;id=5f3559d8bb61212e0f9a6543f2dce2bdf77c48b5</a><br>
<a href="http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ross/mut&amp;id=4f8995aaa2ec557a0603ddc664d929317b0c0b6e" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ross/mut&amp;id=4f8995aaa2ec557a0603ddc664d929317b0c0b6e</a><br></blockquote><div><br></div><div>I have to say, the latter patch is rather ugly. It would be better to split python3native class into two: python3native (just for running scripts, does not depend on target python3), and python3target (for actually obtaining information about the target configuration, does need target python3). Until then, I&#39;d just pull in target python, for simplicity&#39;s sake (also there&#39;s one or two recipes where the same meson problem happens).</div><div><br></div><div>Alex<br></div></div></div>