[OE-core] qt3 vs qt4 issues

Richard Purdie richard.purdie at linuxfoundation.org
Sun Sep 25 11:33:56 UTC 2011


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






More information about the Openembedded-core mailing list