[oe] Potential Problems in glibc-package.bbclass

Koen Kooi koen at dominion.kabel.utwente.nl
Mon May 7 10:39:11 UTC 2007


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

Koen Kooi schreef:
> Hans Henry von Tresckow schreef:
>> I think I may have stumbled across some potential bugs in glibc-package.bbclass:
> 
>> it seems like the standard value for datadir is /usr/share which will
>> cause the following problems in output_locale_binary:
> 
>> 1) i18npath will be set to /usr/share/i18n instead of
>> treedir/usr/share/i18n becouse path.join is too braindead to remove
>> leading / on path entries.
>> 2) the --inputfile option in localdef opts uses datadir instead of
>> treedir, so it looks like it would use the locale files installed on
>> the host instead of the ones we are buildig for.
> 
> 
> There now is a base_path_join function in OE, that doesn't have that bug. No idea why
> glibc.bbclass hasn't been updated to use that.

See http://bugs.openembedded.org/show_bug.cgi?id=1821#c9 for the proposed solution for at
least 1).

regards,

Koen

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

iD8DBQFGPwHPMkyGM64RGpERAjMsAJ9hwzbjdM/QDmpE/gPkB9taIK7wgACePfxv
E306nGzJX80t3kuMxbtqe+Y=
=W3Un
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list