adding German local files to an image
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Cliff Brake
Another observation, I can install glibc-locale-de on a device using opkg, but not at rootfs time:
Works on device:
root@:~# opkg install glibc-locale-de Installing glibc-locale-de (2.6.1-r4) to root... Downloading http://hq.bec-systems.com/feeds/armv5te/glibc-locale-de_2.6.1-r4_armv5te.ipk 100% |========================================================================| Configuring glibc-locale-de root@:~# opkg files glibc-locale-de Package glibc-locale-de (2.6.1-r4) is installed on root and has the following files: /usr/share/locale/de/LC_MESSAGES/libc.moBut not at rootfs build time if I add glibc-locale-de to
IMAGE_INSTALL
Quoted 12 lines
NOTE: Resolving any missing task queue dependencies
ERROR: '['/build//_build/oe/oe/custom/packages/images/rootfs-vac-table-image.bb']' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'glibc-locale-de' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'glibc-locale-de' is unbuildable, removing... Missing or unbuildable dependency chain was: ['glibc-locale-de']
ERROR: Required build target 'rootfs-vac-table-image' has no buildable providers.
Missing or unbuildable dependency chain was:
['rootfs-vac-table-image', 'glibc-locale-de'] cbrake@happy:/build//_build/oe$
The reason for the above behavior is locale packages are created dynamically, so bitbake has no knowledge of them. Adding the following to bitbake.conf as as suggested on IRC last night would fix that:
PACKAGES_DYNAMIC = "${PN}-locale-*"
Any objections to adding this?
Thanks,
Cliff
Signature · 3 lines
======================= Cliff Brake http://bec-systems.com
Quoted 31 lines · Cliff Brake
Quoted 17 lines · Cliff Brake
Another observation, I can install glibc-locale-de on a device using opkg, but not at rootfs time:
Works on device:
root@:~# opkg install glibc-locale-de Installing glibc-locale-de (2.6.1-r4) to root... Downloading http://hq.bec-systems.com/feeds/armv5te/glibc-locale-de_2.6.1-r4_armv5te.ipk 100% |========================================================================| Configuring glibc-locale-de root@:~# opkg files glibc-locale-de Package glibc-locale-de (2.6.1-r4) is installed on root and has the following files: /usr/share/locale/de/LC_MESSAGES/libc.moBut not at rootfs build time if I add glibc-locale-de to
IMAGE_INSTALLQuoted 12 lines
NOTE: Resolving any missing task queue dependencies
ERROR: '['/build//_build/oe/oe/custom/packages/images/rootfs-vac-table-image.bb']' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'glibc-locale-de' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'glibc-locale-de' is unbuildable, removing... Missing or unbuildable dependency chain was: ['glibc-locale-de']
ERROR: Required build target 'rootfs-vac-table-image' has no buildable providers.
Missing or unbuildable dependency chain was:
['rootfs-vac-table-image', 'glibc-locale-de'] cbrake@happy:/build//_build/oe$
Quoted 8 lines
The reason for the above behavior is locale packages are created dynamically, so bitbake has no knowledge of them. Adding the following to bitbake.conf as as suggested on IRC last night would fix that:
PACKAGES_DYNAMIC= "${PN}-locale-*"Any objections to adding this?
Yes, since it's wrong for most packages. Only packages with locales will generated locales, and even for those we also have a global USE_NLS switch to disable that.
So: Nack
Quoted 39 lines · Koen Kooi
Quoted 38 lines · Cliff Brake
Quoted 17 lines · Cliff Brake
Another observation, I can install glibc-locale-de on a device using opkg, but not at rootfs time:
Works on device:
root@:~# opkg install glibc-locale-de Installing glibc-locale-de (2.6.1-r4) to root... Downloading http://hq.bec-systems.com/feeds/armv5te/glibc-locale-de_2.6.1-r4_armv5te.ipk 100% |========================================================================| Configuring glibc-locale-de root@:~# opkg files glibc-locale-de Package glibc-locale-de (2.6.1-r4) is installed on root and has the following files: /usr/share/locale/de/LC_MESSAGES/libc.moBut not at rootfs build time if I add glibc-locale-de to
IMAGE_INSTALLQuoted 12 lines
NOTE: Resolving any missing task queue dependencies
ERROR: '['/build//_build/oe/oe/custom/packages/images/rootfs-vac-table-image.bb']' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'glibc-locale-de' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'glibc-locale-de' is unbuildable, removing... Missing or unbuildable dependency chain was: ['glibc-locale-de']
ERROR: Required build target 'rootfs-vac-table-image' has no buildable providers.
Missing or unbuildable dependency chain was:
['rootfs-vac-table-image', 'glibc-locale-de'] cbrake@happy:/build//_build/oe$The reason for the above behavior is locale packages are created dynamically, so bitbake has no knowledge of them. Adding the following to bitbake.conf as as suggested on IRC last night would fix that:
PACKAGES_DYNAMIC= "${PN}-locale-*"
Quoted 7 lines
Quoted 1 line
Any objections to adding this?
Yes, since it's wrong for most packages. Only packages with locales will generated locales, and even for those we also have a global
USE_NLSswitch to disable that.So: Nack
A better alternative would be a way to plug it into the locale package generation code on package class however I failed to do that in my try.
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 8 lines · Cliff Brake
The reason for the above behavior is locale packages are created dynamically, so bitbake has no knowledge of them. Adding the following to bitbake.conf as as suggested on IRC last night would fix that:
PACKAGES_DYNAMIC= "${PN}-locale-*"Any objections to adding this?
Not an objection but a technical problem: With the above, you will get a crash from bitbake since that expands to "uclibc++-locale-*" for the uclibc++ package and that variable is treated as a regexp.
I'm undecided what the best fix for that is at the moment...
Cheers,
Richard