Re: [PATCH 00/53] musl fixes 3

Khem Raj
2016-01-08T17:57:53Z

On Fri, Jan 8, 2016 at 6:53 AM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 8 January 2016 at 14:00, Burton, Ross <ross.burton@intel.com> wrote:
>>
>> Hm, for some reason, this doesn't work for me.
>>
>> Lots and lots of "files installed but not packaged", all locales. eg
>> /usr/lib/locale/hu/LC_MESSAGES/glib20.mo in glib-2.0.
>
>
> So under musl the translations are being installed to /usr/lib/locale,
> whereas under glibc its /usr/share/locale. This is showing some problems in
> bitbake.conf: that sets localedir to ${libdir}/locale but then sets
> FILES_PN-locale to ${datadir}/locale.

I have seen those too but have not gotten to them since they were
warnings and thus prioritized for later. but you seem to have found
the reason
I think it should be in
/usr/share/locale, I think bitbake.conf should also do the same.

we need to enhance glib's gettext macros to include musl triplets in
same lines as uclibc see

https://github.com/kraj/openembedded-core/blob/kraj/musl-fixes/meta/recipes-core/glib-2.0/glib-2.0/uclibc.patch

>
> Ross