[meta-freescale] Building meta-toolchain-qte error

Otavio Salvador otavio at ossystems.com.br
Tue Dec 16 12:06:37 PST 2014


On Tue, Dec 16, 2014 at 5:59 PM, Eric Bénard <eric at eukrea.com> wrote:
> Le Tue, 16 Dec 2014 17:26:45 -0200,
> Otavio Salvador <otavio at ossystems.com.br> a écrit :
>
>> On Tue, Dec 16, 2014 at 1:12 PM, Eric Bénard <eric at eukrea.com> wrote:
>> > Le Tue, 16 Dec 2014 14:18:38 +0100,
>> > Riccardo Stronati <r.stronati at gmail.com> a écrit :
>> >
>> >> I'm trying to build meta-toolchain-qte but I get this error because I don't
>> >> have x11 in DISTRO_FEATURES.
>> >>
>> >> ERROR: Nothing PROVIDES 'nativesdk-libx11' (but
>> >> /yocto-dizzy/sources/poky/meta/recipes-qt/qt4/nativesdk-qt4-tools_4.8.6.bb
>> >> DEPENDS on or otherwise requires it)
>> >> ERROR: nativesdk-libx11 was skipped: missing required distro feature 'x11'
>> >> (not in DISTRO_FEATURES)
>> >>
>> >> Is that ok?
>> >>
>> > no, I'm using the attached .bbappend to fix that (rename to % or 4.8.6
>> > to match your version).
>> > I was planning to do more tests before submiting a patch to oe-core.
>>
>> The problem is that we need to be /sure/ to not link against libx11
>> (even if it is avail in host system) so removing the depends is not
>> enough.
>>
>> For reference:
>>
>> http://patchwork.openembedded.org/patch/55455/
>>
> at least this bbappend is enough to get meta-toolchain-qte to build with
> x11 disabled from DISTRO_FEATURES and doesn't change anything when x11
> is enabled which is quite different from totally removing x11 from the
> dependencies when x11 is enabled.
>
> I agree that we don't have any warranty that qt nativesdk won't link
> against X11's host but I have not seen that on several builds and I
> think that's a less important problem than having meta-toolchain-qte
> broken especially when Qt doen't permit to force disabling x11.

I understand your point but I think we should fix it completely when
merging the change. As this is not my call (it is OE-Core business so
Richard's call) please send it to oe-core mailing list and let's see
others people feedback.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list