<div dir="ltr"><div dir="ltr">On Tue, 10 Sep 2019 at 11:50, 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">On 09/09/2019 19:41, Alexander Kanavin wrote:<br>
&gt; and find_installation() method of meson does not merely look for the <br>
&gt; native python binary, it runs the binary with a meson-supplied python <br>
&gt; script designed to obtain all sorts of information, including <br>
&gt; target-specific things that we patch native python to report. If the <br>
&gt; target python installation is not present in sysroot, the script will <br>
&gt; fail, and meson will declare that &#39;there is no valid installation of <br>
&gt; python on your system&#39;.<br>
<br>
So the python3-native pokes around the target python3 to get the right <br>
values?<br></blockquote><div><br></div><div>Yes, if STAGING_LIBDIR is set, via this patch:</div><a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">(don&#39;t shoot the pianist, it was working like this pre-rewrite as well).</div><div class="gmail_quote"><br></div><div class="gmail_quote">Alex<br></div></div>