[oe] Potential Problems in glibc-package.bbclass

Koen Kooi koen at dominion.kabel.utwente.nl
Thu Mar 8 14:39:07 UTC 2007


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

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.

regards,

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

iD8DBQFF8CALMkyGM64RGpERAtfLAKCOxA7HXzE3gec8hEeTRZXALOtwKACfcD3O
RgVrnKYxJM3MzxL56Etc1rQ=
=+hl1
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list