[3/3] poky-tiny: avoid eglibc locale packaging

Submitted by Nitin A Kamble on March 30, 2012, 10:28 p.m. | Patch ID: 24957


Message ID f5f27094a325058b26b182ad0ea4a08b72f608af.1333145263.git.nitin.a.kamble@intel.com
State New
Headers show

Commit Message

Nitin A Kamble March 30, 2012, 10:28 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

This fixes bug: [YOCTO #2089]

This avoids these errors
NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started
ERROR: Error executing a python function in
OSError: [Errno 2] No such file or directory:

ERROR: The stack trace of python calls that resulted in this exception/failure
ERROR:   File "package_do_split_gconvs", line 264, in <module>
ERROR:   File "package_do_split_gconvs", line 45, in package_do_split_gconvs
ERROR:   File "package.bbclass", line 30, in do_split_packages
ERROR: The code that was being executed was:
ERROR:      0260:»------»-------bb.note("generation of binary locales disabled.
this may break i18n!")
ERROR:      0261:
ERROR:      0262:
ERROR:      0263:
ERROR:  *** 0264:package_do_split_gconvs(d)
ERROR:      0265:
ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: <module>)
ERROR:      0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg,
pkg.replace(bpn, 'glibc'))
ERROR:      0042:
ERROR:      0043:»------do_split_packages(d, gconv_libdir,
file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \
ERROR:      0044:»------»-------description='gconv module for character set
%s', hook=calc_gconv_deps, \
ERROR:  *** 0045:»------»-------extra_depends=bpn+'-gconv')
ERROR:      0046:
ERROR:      0047:»------def calc_charmap_deps(fn, pkg, file_regex,
output_pattern, group):
ERROR:      0048:»------»-------deps = []
ERROR:      0049:»------»-------f = open(fn, "r")
ERROR: (file: 'package_do_split_gconvs', lineno: 45, function:
ERROR: Function failed: package_do_split_gconvs
ERROR: Logfile of failure stored in:
NOTE: package eglibc-locale-2.13-r19: task do_package: Failed
ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb,
do_package) failed with exit code '1'

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
 meta-yocto/conf/distro/poky-tiny.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
index 6fa4c90..a745338 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-yocto/conf/distro/poky-tiny.conf
                         ${DISTRO_FEATURES_LIBC_NET} \
+# This tells libc packaging that no locales are to be packaged
 # Comment out any of the lines below to disable them in the build
 # alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci