All of lore.kernel.org
 help / color / mirror / Atom feed
* 2011.03-maintenance: eglibc-binary-localedata packages missing on image
@ 2011-08-01  9:31 Hauser, Wolfgang (external)
  0 siblings, 0 replies; 4+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-08-01  9:31 UTC (permalink / raw)
  To: openembedded-devel

Hello,

we want to install our generated locales on our image offline, therefor
we use following settings:

local.conf:

ENABLE_BINARY_LOCALE_GENERATION = "1"
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
GLIBC_INTERNAL_USE_BINARY_LOCALE = "compile"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8
de_CH.UTF-8 es_ES.
UTF-8 fr_FR.UTF-8 fr_CH.UTF-8 it_IT.UTF-8 it_CH.UTF-8"

xx-image.bb:

IMAGE_LINGUAS = "en-us en-gb de-de de-ch es-es fr-fr fr-ch it-it it-ch"

ROOTFS_POSTPROCESS_COMMAND += "install_linguas;"

The packages locale-base-* are installed properly, but the
eglibc-binary-localedata are not installed in the image, so the needed
data for the locale support are missing.

If we examine the locale-base- packages with dpkg, there is an entry
"eglibc-binary-localedata-..." in "provides" this seem to be wrong.
(should that not be a dependency only?)

dpkg-deb -I locale-base-de-de_2.12-r21.8+svnr12323.9_armv7a.ipk
 new debian package, version 2.0.
 size 906 bytes: control archive= 608 bytes.
     808 bytes,    14 lines      control              
 Package: locale-base-de-de
 Version: 2.12-r21.8+svnr12323.9
 Description: Embedded GNU C Library
 Section: libs
 Priority: required
 Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org>
 License: LGPL
 Architecture: armv7a
 OE: eglibc
 Homepage: http://www.eglibc.org/home
 Build: <unknown>/9426
 Depends: eglibc-binary-localedata-de.de
 Provides: virtual-locale-de-de, virtual-locale-de,
eglibc-binary-localedata-de.de
 Source: svn://svn.eglibc.org/branches;module=eglibc-2_12;proto=svn
file://eglibc-svn-arm-lowlevellock-include-tls.patch
file://IO-acquire-lock-fix.patch file://shorten-build-commands.patch
file://sh4_set_fpscr_2.12.patch file://sh4_local-fpscr_values.patch
file://eglibc-dont-cache-slibdir.patch
file://armv4-eabi-compile-fix.patch file://etc/ld.so.conf
file://generate-supported.mk 

What is going wrong here ?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2011.03-maintenance: eglibc-binary-localedata packages missing on image
       [not found] <0C757E680E33864AB113392C7E83F910BE5D9A@GSX300A.mxchg.m.corp>
@ 2011-08-04 10:10 ` Hauser, Wolfgang (external)
  2011-08-04 17:15   ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-08-04 10:10 UTC (permalink / raw)
  To: openembedded-devel

Ping ...

Has someone an idea how to solve this problem ?

If we examine the angstrom glibc "locale-base-*" packages they have an dependency on the  "glibc-binary-localedata-*" but no provides entry for this package.

Regards
Wolfgang Hauser

-----Ursprüngliche Nachricht-----
Von: Hauser, Wolfgang (external) 
Gesendet: Montag, 1. August 2011 11:32
An: openembedded-devel@lists.openembedded.org
Betreff: 2011.03-maintenance: eglibc-binary-localedata packages missing on image

Hello,

we want to install our generated locales on our image offline, therefor we use following settings:

local.conf:

ENABLE_BINARY_LOCALE_GENERATION = "1"
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
GLIBC_INTERNAL_USE_BINARY_LOCALE = "compile"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8 de_CH.UTF-8 es_ES.
UTF-8 fr_FR.UTF-8 fr_CH.UTF-8 it_IT.UTF-8 it_CH.UTF-8"

xx-image.bb:

IMAGE_LINGUAS = "en-us en-gb de-de de-ch es-es fr-fr fr-ch it-it it-ch"

ROOTFS_POSTPROCESS_COMMAND += "install_linguas;"

The packages locale-base-* are installed properly, but the eglibc-binary-localedata are not installed in the image, so the needed data for the locale support are missing.

If we examine the locale-base- packages with dpkg, there is an entry "eglibc-binary-localedata-..." in "provides" this seem to be wrong.
(should that not be a dependency only?)

dpkg-deb -I locale-base-de-de_2.12-r21.8+svnr12323.9_armv7a.ipk
 new debian package, version 2.0.
 size 906 bytes: control archive= 608 bytes.
     808 bytes,    14 lines      control              
 Package: locale-base-de-de
 Version: 2.12-r21.8+svnr12323.9
 Description: Embedded GNU C Library
 Section: libs
 Priority: required
 Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org>
 License: LGPL
 Architecture: armv7a
 OE: eglibc
 Homepage: http://www.eglibc.org/home
 Build: <unknown>/9426
 Depends: eglibc-binary-localedata-de.de
 Provides: virtual-locale-de-de, virtual-locale-de, eglibc-binary-localedata-de.de
 Source: svn://svn.eglibc.org/branches;module=eglibc-2_12;proto=svn file://eglibc-svn-arm-lowlevellock-include-tls.patch file://IO-acquire-lock-fix.patch file://shorten-build-commands.patch file://sh4_set_fpscr_2.12.patch file://sh4_local-fpscr_values.patch file://eglibc-dont-cache-slibdir.patch file://armv4-eabi-compile-fix.patch file://etc/ld.so.conf file://generate-supported.mk 

What is going wrong here ?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2011.03-maintenance: eglibc-binary-localedata packages missing on image
  2011-08-04 10:10 ` 2011.03-maintenance: eglibc-binary-localedata packages missing on image Hauser, Wolfgang (external)
@ 2011-08-04 17:15   ` Tom Rini
  2011-08-05  9:09     ` Hauser, Wolfgang (external)
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2011-08-04 17:15 UTC (permalink / raw)
  To: openembedded-devel

On 08/04/2011 03:10 AM, Hauser, Wolfgang (external) wrote:
> Ping ...
> 
> Has someone an idea how to solve this problem ?
> 
> If we examine the angstrom glibc "locale-base-*" packages they have an dependency on the  "glibc-binary-localedata-*" but no provides entry for this package.

I would look at classes/libc-package.bbclass and
recipes/eglibc/eglibc-package.inc in oe.dev and see if there's been a
fix here that needs to be back ported / cherry-picked.

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2011.03-maintenance: eglibc-binary-localedata packages missing on image
  2011-08-04 17:15   ` Tom Rini
@ 2011-08-05  9:09     ` Hauser, Wolfgang (external)
  0 siblings, 0 replies; 4+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-08-05  9:09 UTC (permalink / raw)
  To: openembedded-devel

>I would look at classes/libc-package.bbclass and
>recipes/eglibc/eglibc-package.inc in oe.dev and see if there's been a
>fix here that needs to be back ported / cherry-picked.

Unfortunately there are no changes between the oe.dev
(remotes/origin/master) and the remotes/origin/2011.03-maintenance.

Does no one use eglibc with locales ?

Regards
Wolfgang Hauser



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-05  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0C757E680E33864AB113392C7E83F910BE5D9A@GSX300A.mxchg.m.corp>
2011-08-04 10:10 ` 2011.03-maintenance: eglibc-binary-localedata packages missing on image Hauser, Wolfgang (external)
2011-08-04 17:15   ` Tom Rini
2011-08-05  9:09     ` Hauser, Wolfgang (external)
2011-08-01  9:31 Hauser, Wolfgang (external)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.