All of lore.kernel.org
 help / color / mirror / Atom feed
* qt3 vs qt4 issues
@ 2011-09-25 11:33 Richard Purdie
  2011-09-25 14:50 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2011-09-25 11:33 UTC (permalink / raw)
  To: openembedded-core

I've been looking at the qt3 failures on the autobuilder. It seems there
is some kind of contamination between the qt4 builds and the qt3 builds
and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but 
   nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no 
   qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

If qt4 and qt4-native are present, qt3 works
If qt4 and qt4-native are not present, qt3 works
If qt4 is present but qt4-native is not, qt3 fails

How do we fix this?

An easier reproducer is something like:

bitbake qt4-x11-free
bitbake qt4-native -c clean
bitbake qt-x11-free


Beth: As a work around, you can do:

bitbake qt-x11-free
bitbake core-image-lsb-qt3

as two steps on the autobuilder and the builds will work. This might be
what we need to do for this release.

Cheers,

Richard





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

* Re: qt3 vs qt4 issues
  2011-09-25 11:33 qt3 vs qt4 issues Richard Purdie
@ 2011-09-25 14:50 ` Koen Kooi
  2011-09-26 12:30   ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2011-09-25 14:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:

> I've been looking at the qt3 failures on the autobuilder. It seems there
> is some kind of contamination between the qt4 builds and the qt3 builds
> and I'm not sure what is or isn't expected to work there.
> 
> We're doing the following in the build:
> 
> a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
> b) Wipe out tmp
> c) Add in meta-qt3 layer
> d) Enable sstate from build in a)
> e) Build core-image-lsb-qt3 which adds in qt3
> f) Bitbake determines it needs to install qt4 for the image but 
>   nothing depends on the native qt4 tools so these are not installed
> g) This will build qt3+qt3-native with qt4 in the sysroot but no 
>   qt4-native
> h) We see build failures as qt3 seems to want to find bits of qt4-native
> 
> If qt4 and qt4-native are present, qt3 works
> If qt4 and qt4-native are not present, qt3 works
> If qt4 is present but qt4-native is not, qt3 fails
> 
> How do we fix this?

I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)


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

* Re: qt3 vs qt4 issues
  2011-09-25 14:50 ` Koen Kooi
@ 2011-09-26 12:30   ` Dmitry Eremin-Solenikov
  2011-09-26 12:36     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-09-26 12:30 UTC (permalink / raw)
  To: openembedded-core

On 09/25/2011 06:50 PM, Koen Kooi wrote:
>
> Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:
>
>> I've been looking at the qt3 failures on the autobuilder. It seems there
>> is some kind of contamination between the qt4 builds and the qt3 builds
>> and I'm not sure what is or isn't expected to work there.
>>
>> We're doing the following in the build:
>>
>> a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
>> b) Wipe out tmp
>> c) Add in meta-qt3 layer
>> d) Enable sstate from build in a)
>> e) Build core-image-lsb-qt3 which adds in qt3
>> f) Bitbake determines it needs to install qt4 for the image but
>>    nothing depends on the native qt4 tools so these are not installed
>> g) This will build qt3+qt3-native with qt4 in the sysroot but no
>>    qt4-native
>> h) We see build failures as qt3 seems to want to find bits of qt4-native
>>
>> If qt4 and qt4-native are present, qt3 works
>> If qt4 and qt4-native are not present, qt3 works
>> If qt4 is present but qt4-native is not, qt3 fails
>>
>> How do we fix this?
>
> I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)

Most probably it's true. However for qt3 it can be harder, as qt4 
already provides uic3, etc.

-- 
With best wishes
Dmitry





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

* Re: qt3 vs qt4 issues
  2011-09-26 12:30   ` Dmitry Eremin-Solenikov
@ 2011-09-26 12:36     ` Richard Purdie
  2011-09-26 13:58       ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2011-09-26 12:36 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2011-09-26 at 16:30 +0400, Dmitry Eremin-Solenikov wrote:
> On 09/25/2011 06:50 PM, Koen Kooi wrote:
> >
> > Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:
> >
> >> I've been looking at the qt3 failures on the autobuilder. It seems there
> >> is some kind of contamination between the qt4 builds and the qt3 builds
> >> and I'm not sure what is or isn't expected to work there.
> >>
> >> We're doing the following in the build:
> >>
> >> a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
> >> b) Wipe out tmp
> >> c) Add in meta-qt3 layer
> >> d) Enable sstate from build in a)
> >> e) Build core-image-lsb-qt3 which adds in qt3
> >> f) Bitbake determines it needs to install qt4 for the image but
> >>    nothing depends on the native qt4 tools so these are not installed
> >> g) This will build qt3+qt3-native with qt4 in the sysroot but no
> >>    qt4-native
> >> h) We see build failures as qt3 seems to want to find bits of qt4-native
> >>
> >> If qt4 and qt4-native are present, qt3 works
> >> If qt4 and qt4-native are not present, qt3 works
> >> If qt4 is present but qt4-native is not, qt3 fails
> >>
> >> How do we fix this?
> >
> > I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)
> 
> Most probably it's true. However for qt3 it can be harder, as qt4 
> already provides uic3, etc.

If there is overlap, the files could be installed into subdirectories
under bin and then inserted into PATH by the appropriate .bbclass
files...

Cheers,

Richard







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

* Re: qt3 vs qt4 issues
  2011-09-26 12:36     ` Richard Purdie
@ 2011-09-26 13:58       ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-09-26 13:58 UTC (permalink / raw)
  To: openembedded-core

On 09/26/2011 04:36 PM, Richard Purdie wrote:
> On Mon, 2011-09-26 at 16:30 +0400, Dmitry Eremin-Solenikov wrote:
>> On 09/25/2011 06:50 PM, Koen Kooi wrote:
>>>
>>> Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:
>>>
>>>> I've been looking at the qt3 failures on the autobuilder. It seems there
>>>> is some kind of contamination between the qt4 builds and the qt3 builds
>>>> and I'm not sure what is or isn't expected to work there.
>>>>
>>>> We're doing the following in the build:
>>>>
>>>> a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
>>>> b) Wipe out tmp
>>>> c) Add in meta-qt3 layer
>>>> d) Enable sstate from build in a)
>>>> e) Build core-image-lsb-qt3 which adds in qt3
>>>> f) Bitbake determines it needs to install qt4 for the image but
>>>>     nothing depends on the native qt4 tools so these are not installed
>>>> g) This will build qt3+qt3-native with qt4 in the sysroot but no
>>>>     qt4-native
>>>> h) We see build failures as qt3 seems to want to find bits of qt4-native
>>>>
>>>> If qt4 and qt4-native are present, qt3 works
>>>> If qt4 and qt4-native are not present, qt3 works
>>>> If qt4 is present but qt4-native is not, qt3 fails
>>>>
>>>> How do we fix this?
>>>
>>> I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)
>>
>> Most probably it's true. However for qt3 it can be harder, as qt4
>> already provides uic3, etc.
>
> If there is overlap, the files could be installed into subdirectories
> under bin and then inserted into PATH by the appropriate .bbclass
> files...

For qt2/opie we just install uic/moc as uic2/moc2 and the select 
appropriate tools by passing OE_xxx_MOC (I don't remember xxx ATM) 
environment variable to qmake/make.

-- 
With best wishes
Dmitry




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

end of thread, other threads:[~2011-09-26 14:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 11:33 qt3 vs qt4 issues Richard Purdie
2011-09-25 14:50 ` Koen Kooi
2011-09-26 12:30   ` Dmitry Eremin-Solenikov
2011-09-26 12:36     ` Richard Purdie
2011-09-26 13:58       ` Dmitry Eremin-Solenikov

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.