All of lore.kernel.org
 help / color / mirror / Atom feed
* Building meta-toolchain-qte error
@ 2014-12-16 13:18 Riccardo Stronati
  2014-12-16 15:12 ` Eric Bénard
  0 siblings, 1 reply; 5+ messages in thread
From: Riccardo Stronati @ 2014-12-16 13:18 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

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?

Thanks.

[-- Attachment #2: Type: text/html, Size: 531 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building meta-toolchain-qte error
  2014-12-16 13:18 Building meta-toolchain-qte error Riccardo Stronati
@ 2014-12-16 15:12 ` Eric Bénard
  2014-12-16 19:26   ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2014-12-16 15:12 UTC (permalink / raw)
  To: Riccardo Stronati; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Hi Riccardo,

Le Tue, 16 Dec 2014 14:18:38 +0100,
Riccardo Stronati <r.stronati@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.

Best regards,
Eric

[-- Attachment #2: nativesdk-qt4-tools_4.8.5.bbappend --]
[-- Type: application/octet-stream, Size: 138 bytes --]

DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native \
           ${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 ', '', d)}"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building meta-toolchain-qte error
  2014-12-16 15:12 ` Eric Bénard
@ 2014-12-16 19:26   ` Otavio Salvador
  2014-12-16 19:59     ` Eric Bénard
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2014-12-16 19:26 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale

On Tue, Dec 16, 2014 at 1:12 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le Tue, 16 Dec 2014 14:18:38 +0100,
> Riccardo Stronati <r.stronati@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/

-- 
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building meta-toolchain-qte error
  2014-12-16 19:26   ` Otavio Salvador
@ 2014-12-16 19:59     ` Eric Bénard
  2014-12-16 20:06       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2014-12-16 19:59 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

Hi Otavio,

Le Tue, 16 Dec 2014 17:26:45 -0200,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Tue, Dec 16, 2014 at 1:12 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Le Tue, 16 Dec 2014 14:18:38 +0100,
> > Riccardo Stronati <r.stronati@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building meta-toolchain-qte error
  2014-12-16 19:59     ` Eric Bénard
@ 2014-12-16 20:06       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2014-12-16 20:06 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale

On Tue, Dec 16, 2014 at 5:59 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le Tue, 16 Dec 2014 17:26:45 -0200,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> On Tue, Dec 16, 2014 at 1:12 PM, Eric Bénard <eric@eukrea.com> wrote:
>> > Le Tue, 16 Dec 2014 14:18:38 +0100,
>> > Riccardo Stronati <r.stronati@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-16 20:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-16 13:18 Building meta-toolchain-qte error Riccardo Stronati
2014-12-16 15:12 ` Eric Bénard
2014-12-16 19:26   ` Otavio Salvador
2014-12-16 19:59     ` Eric Bénard
2014-12-16 20:06       ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.