[oe] a38e7ff2810e55455c7ff7b01d4882344b420e18 breaks build and packaged-staging, among other things

Koen Kooi k.kooi at student.utwente.nl
Mon Apr 26 06:36:28 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26-04-10 00:35, Michael 'Mickey' Lauer wrote:
> Am Sonntag, den 25.04.2010, 21:38 +0200 schrieb Koen Kooi:
>> bitbake something-depending-on-vala-stuf
>>
>> is now broken because bitbake will run
>> something-depending-on-vala-stuf.do_configure and compile after
>> vala-stuff.do_populate_staging and the vapi files will NOT be there.
> 
> Can you give a concrete example that breaks? I'm using quite a
> substantial amount of Vala e.g. in task-fso2-compliance and it builds
> from scratch without any problems.
> 
>> The other problem is that the packaged-staging packages won't contain
>> the vapi files, so rebuilding staging it broken as well.
> 
> Ok, since the patch was made to get rid of all the 'legacy staging'
> warnings, would do_install_append() instead of do_stage_vapi() fix that?

No, since you can't poke outside ${D} in do_install. I think the best
solution is to have the vala compiler look in the arch dir it's
compiling *for* instead of the host one (STAGING_DIR instead of
STAGING_DIR_NATIVE).
Think of vapi files as m4 macros and you'll see why the current and
previous situation are completely wrong.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL1TRsMkyGM64RGpERAu55AJ4x6nIQFKdpxG3eTlDj/TPkJXGQ3gCfXA4p
Cte/6tg05/eQ+k7cBVyOCyg=
=J875
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list