Bug 2815

Summary: locale package dependency issue
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Radu Moisan <radu.moisan>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher, radu.moisan, richard.purdie, sgw
Version: unspecified   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard: in development
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Paul Eggleton 2012-07-23 17:53:52 UTC
If locale-base-da-dk.iso-8859-1 is to be installed into an image you get the following error at do_rootfs (using the RPM backend in this case and the poky-lsb distro if that makes any difference):

| Processing locale-base-da-dk.iso-8859-1...
| error: Failed dependencies:
|       eglibc-binary-localedata-da-dk.iso88591 is needed by locale-base-da-dk.iso-8859-1-2.15-r21.x86_64

There is indeed no eglibc-binary-localedata-da-dk.iso88591 package, however there is and eglibc-binary-localedata-da-dk.iso8859-1 package; it appears there may be some name-mangling going on.
Comment 1 Radu Moisan 2012-10-04 10:36:39 UTC
Paul, can you give the setup required to reproduce this? I tried ENABLE_BINARY_LOCALE_GENERATION = "0" but nothing else came into my mind.
Comment 2 Paul Eggleton 2012-10-04 10:43:59 UTC
No special setup should be required other than adding IMAGE_LINGUAS = "da-dk" to local.conf.
Comment 3 Radu Moisan 2012-10-08 08:16:44 UTC
Constantin also reported that he cannot reproduce this.
Comment 4 Richard Purdie 2012-10-08 15:53:30 UTC
I've just posted a patch which likely fixes this on the mailing list. Its easy to trigger this kind of problem from hob, see the other bug I'm marking this as a duplicate of.

*** This bug has been marked as a duplicate of bug 3231 ***