<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 5:46 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Wed, 2013-06-05 at 16:58 -0400, Denys Dmytriyenko wrote:<br>


&gt; On Wed, Jun 05, 2013 at 05:56:31PM -0300, Otavio Salvador wrote:<br>
&gt; &gt; On Wed, Jun 5, 2013 at 5:53 PM, Saul Wold &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; On 06/05/2013 01:10 PM, Otavio Salvador wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; On Wed, Jun 5, 2013 at 5:07 PM, Denys Dmytriyenko &lt;<a href="mailto:denis@denix.org">denis@denix.org</a><br>
&gt; &gt; &gt;&gt; &lt;mailto:<a href="mailto:denis@denix.org">denis@denix.org</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;     On Wed, Jun 05, 2013 at 02:43:07PM -0300, Otavio Salvador wrote:<br>
&gt; &gt; &gt;&gt;      &gt; On Wed, Jun 5, 2013 at 2:23 PM, Nicolas Dechesne &lt;<br>
&gt; &gt; &gt;&gt;      &gt; <a href="mailto:nicolas.dechesne@linaro.org">nicolas.dechesne@linaro.org</a> &lt;mailto:<a href="mailto:nicolas.dechesne@">nicolas.dechesne@</a>**<a href="http://linaro.org" target="_blank">linaro.org</a>&lt;<a href="mailto:nicolas.dechesne@linaro.org">nicolas.dechesne@linaro.org</a>&gt;<br>


&gt; &gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;     wrote:<br>
&gt; &gt; &gt;&gt;      &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt; On Wed, Jun 5, 2013 at 7:19 PM, Saul Wold &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a><br>
&gt; &gt; &gt;&gt;     &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt; On 06/05/2013 10:12 AM, Otavio Salvador wrote:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt; On Wed, Jun 5, 2013 at 1:58 PM, Saul Wold<br>
&gt; &gt; &gt;&gt;     &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a> &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt; &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a> &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt; wrote:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     On 06/05/2013 09:32 AM, Nicolas Dechesne wrote:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         On Wed, Jun 5, 2013 at 6:30 PM, Saul Wold<br>
&gt; &gt; &gt;&gt;     &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a> &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a> &lt;mailto:<br>
&gt; &gt; &gt;&gt; <a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a><br>
&gt; &gt; &gt;&gt;     &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt; &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a><br>
&gt; &gt; &gt;&gt;     &lt;mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;&gt;&gt;**&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt; wrote:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;              You could just directly put the nativesdk-libx11<br>
&gt; &gt; &gt;&gt;     in place<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         of the<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;              variable, no need to have the variable there.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         yes, that&#39;s what I had initially, but found it was<br>
&gt; &gt; &gt;&gt;     less easy to<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         read...<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         with X11DEPENDS it&#39;s more &#39;obvious&#39; that there is<br>
&gt; &gt; &gt;&gt;     something<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         special..<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;         that said, i can make the change if that&#39;s really<br>
&gt; &gt; &gt;&gt; needed.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     We do use the X11DEPENDS elsewhere when there are multiple<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     dependencies, but I also found cases where we just<br>
&gt; &gt; &gt;&gt;     include the<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     dependency directly in the test. I was trying pick a<br>
&gt; &gt; &gt;&gt;     direction:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     single entry no X11DEPENDS, multiple entries use<br>
&gt; &gt; &gt;&gt; X11DEPENDS.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;     Comments, flames, ...<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt; Yes; I sent this patch in Febuary:<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;     <a href="http://patchwork.openembedded." target="_blank">http://patchwork.openembedded.</a>****org/patch/44759/&lt;http://**<br>
&gt; &gt; &gt;&gt; <a href="http://patchwork.openembedded.org/**patch/44759/" target="_blank">patchwork.openembedded.org/**patch/44759/</a>&lt;<a href="http://patchwork.openembedded.org/patch/44759/" target="_blank">http://patchwork.openembedded.org/patch/44759/</a>&gt;<br>


&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt; Please use this one instead of the recent one.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt; Well reading back on that, it looks like I was waiting for an<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt; EXTRA_OECONF or related change to the autoconf scripts.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;&gt; Sau!<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt; &gt; hmm. ok, sorry Otavio, i missed the other patch. I will check<br>
&gt; &gt; &gt;&gt;     on my side<br>
&gt; &gt; &gt;&gt;      &gt; &gt; too about EXTRA_OECONF.<br>
&gt; &gt; &gt;&gt;      &gt; &gt;<br>
&gt; &gt; &gt;&gt;      &gt;<br>
&gt; &gt; &gt;&gt;      &gt; Nicolas, don&#39;t worry. It is normal to end redoing some stuff.<br>
&gt; &gt; &gt;&gt;      &gt;<br>
&gt; &gt; &gt;&gt;      &gt; Last time I checked it had no support in Qt build system; I am<br>
&gt; &gt; &gt;&gt;     not sure if<br>
&gt; &gt; &gt;&gt;      &gt; it uses or not the host headers (in case they exist) but it needs<br>
&gt; &gt; &gt;&gt;     testing<br>
&gt; &gt; &gt;&gt;      &gt; to be sure.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;     I can confirm that it does not link against host X11 when built w/o<br>
&gt; &gt; &gt;&gt; that<br>
&gt; &gt; &gt;&gt;     dependency and nativesdk has no x11 libs/headers. As I previously<br>
&gt; &gt; &gt;&gt;     mentioned,<br>
&gt; &gt; &gt;&gt;     we&#39;ve been using this fix for over 6 months on several releases built<br>
&gt; &gt; &gt;&gt; on<br>
&gt; &gt; &gt;&gt;     different machines w/o problems...<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; In this case the patch can be merged &#39;as is&#39;.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; I am still concerned about a floating dependency here, imagine the<br>
&gt; &gt; &gt; following:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Build the toolchain with X11 enabled, nativesdk-libx11 is build, now<br>
&gt; &gt; &gt; rebuild with X11 disabled, the dependency is gone, but the libraries and<br>
&gt; &gt; &gt; headers still exist in the sysroot and thus the configure will still enable<br>
&gt; &gt; &gt; x11 in qte, bad things happen.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I expect different distro features to have different build dirs. No?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; We need to have a disable flag to autotools.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; The qmake based system does not provide this; so to support it, it will<br>
&gt; &gt; need to be a hack ...<br>
&gt;<br>
&gt; I agree with Otavio here - seems like you are after a rare corner case here...<br>
<br>
</div></div>We need determinism in the builds. Yes in this case it might be hard to<br>
achieve but I do think we need to achieve it.<br>
<br>
So this patch isn&#39;t going in until we can avoid this option magically<br>
floating, sorry. I&#39;ve said this before and I&#39;ve not changed my mind.<br></blockquote><div><br></div><div style>I think the -embedded flag in the configure option is what makes a QT build Embedded vs X11, at least based on [1].</div>

<div style><br></div><div style>what&#39;s disturbing to me is that we use the -embedded flag in nativesdk-qt4-toos recipe whether we build meta-toolchain-qt or meta-toolchain-qte, since both ends up with RDEPENDS on nativesdk-qt4-tools, and we have the -embedded flag here in EXTRA_OECONF, see [2]. </div>

<div style><br></div><div style>what does that actually imply? unfortunately i am not enough familiar with that, and I don&#39;t get it, but it looks like it could be a problem. are the generated QT SDK tested in X11 and QTe configuration? </div>

<div style><br></div><div style>we can clearly see in [3] and [4] that we play with the -embedded flag when building the target qt4 recipe, though.</div><div style><br></div><div style>[1] <a href="http://qt-project.org/doc/qt-4.8/qt-embedded-install.html">http://qt-project.org/doc/qt-4.8/qt-embedded-install.html</a> </div>

<div style>[2] <a href="http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-native.inc#n38">http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-native.inc#n38</a></div><div style>

[3] <a href="http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-embedded.inc#n13">http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-embedded.inc#n13</a></div><div style>
[4] <a href="http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb#n8">http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb#n8</a></div>
<div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Cheers,<br>
<br>
Richard<br>
<div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</div></div></blockquote></div><br></div></div>