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

Eric Bénard eric at eukrea.com
Tue Dec 16 11:59:50 PST 2014


Hi Otavio,

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.

Best regards,
Eric


More information about the meta-freescale mailing list