[oe] qmake issue

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Mon Jan 4 20:41:13 UTC 2010


2010/1/4 Koen Kooi <k.kooi at student.utwente.nl>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04-01-10 21:14, Frans Meulenbroeks wrote:
>> 2010/1/4 Richard Purdie <rpurdie at rpsys.net>:
>>> On Mon, 2010-01-04 at 08:31 +0100, Frans Meulenbroeks wrote:
>>>> Yeah figured out after a brief discussion on #oe that they probably
>>>> didn't need to be staged.
>>>>
>>>> Actually the recipe does not contain any staging, so this is a side
>>>> effect of the new automated staging.
>>>> It could well be that other,  non qmake recipes also suffer from this.
>>>>
>>>> The fix for mythtv is probably to have an empty do_stage()
>>>>
>>>> However as a general rule the -L and -I flags to staging should be
>>>> last, not first.
>>>> And, ideally, when building a recipe the old contents from that
>>>> package in staging should be removed first.
>>>> By removing that we avoid the problem that if rX adds a file A to
>>>> staging and rY does not do so any more, the file A still remains in
>>>> staging (although perhaps incompatible with what rY made.
>>>
>>> If packaged staging is enabled this should happen already...
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>> Ehm, I use angstrom unstable head on the beagleboard.I've been told on
>> #oe that angstrom used pacakged staging.
>> I've removed my tmp dir and rebuild from scratch on dec 30, 2009,
>> including mythtv.
>> Yesterday I rebuild the latest version of mythtv, and it linked
>> against the myth lib in staging (produced by the same recipe).
>> As the lib was changed between those versions it gave a linking error.
>> After removing the lib from staging manually and rebuilding mythtv
>> builds properly.
>> To me this seems there is still a problem.
>
> Packaged-staging only works if you have built opkg-native, otherwise it
> won't remove things from staging. The problem is that you can't to
> 'bitbake opkg-native' twice, so the angstrom buildscripts now do:
> http://dominion.thruhere.net/git/cgit.cgi/openembedded/commit/?h=org.openembedded.dev&id=6fb8200b0002fad7ed4b67b7b5a01a54bc3db91c
>
> regards,
>
> Koen


Ah ok, understood, Should opkg-native then not be build in the
beginning of the build process?
I would like to see it build automatically next time I rm my tmp dir...


Frans




More information about the Openembedded-devel mailing list