[oe] Potential Problems in glibc-package.bbclass

Paul Sokolovsky pmiscml at gmail.com
Mon May 7 10:43:31 UTC 2007


Hello Koen,

Monday, May 7, 2007, 1:39:11 PM, you wrote:

[]

>>> 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).

        This is indeed few months old. Let's apply it?


> regards,

> Koen

[]

-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com





More information about the Openembedded-devel mailing list