[oe-commits] [Bug 5292] New: Setting ENABLE_BINARY_LOCALES="0" and GLIBC_GENERATE_LOCALES="en.US.UTF-8" causes glibc_2.9 to error when building
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Sun Aug 9 05:27:49 UTC 2009
http://bugs.openembedded.org/show_bug.cgi?id=5292
Summary: Setting ENABLE_BINARY_LOCALES="0" and
GLIBC_GENERATE_LOCALES="en.US.UTF-8" causes glibc_2.9
to error when building
Product: Openembedded
Version: Angstrom 2008.x
Platform: ARM
OS/Version: Linux
Status: UNCONFIRMED
Keywords: bb, crash
Severity: major
Priority: P3
Component: org.openembedded.stable
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: chrisv at cyberswitching.com
In a local.conf file with the following settings:
ENABLE_BINARY_LOCALES="0"
GLIBC_GENERATE_LOCALES="en.US.UTF-8"
Building glibc_2.9.bb causes an error that crashes the build:
NOTE: Running task 665 of 2238 (ID: 172,
/root/workspace/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
ERROR: Error in executing:
/root/workspace/openembedded/recipes/glibc/glibc_2.9.bb
ERROR: Exception:<type 'exceptions.ValueError'> Message:too many values to
unpack
ERROR: Printing the environment of the function
ERROR: 0058: utf8_only = int(bb.data.getVar('LOCALE_UTF8_ONLY', d, 1) or 0)
ERROR: 0059: encodings = {}
ERROR: 0060: for l in supported:
ERROR: 0061: l = l[:-1]
ERROR: 0062: (locale, charset) = l.split(" ")
ERROR: 0063: if utf8_only and charset != 'UTF-8':
ERROR: 0064: continue
ERROR: 0065: m = dot_re.match(locale)
ERROR: 0066: if m:
...
Traceback (most recent call last):
File "/root/workspace/bitbake/bin/bitbake", line 143, in <module>
main()
File "/root/workspace/bitbake/bin/bitbake", line 140, in main
cooker.cook()
File "/root/workspace/bitbake/lib/bb/cooker.py", line 644, in cook
return self.buildTargets(pkgs_to_build)
File "/root/workspace/bitbake/lib/bb/cooker.py", line 551, in buildTargets
failures = rq.execute_runqueue()
File "/root/workspace/bitbake/lib/bb/runqueue.py", line 842, in
execute_runqueue
self.execute_runqueue_internal()
File "/root/workspace/bitbake/lib/bb/runqueue.py", line 951, in
execute_runqueue_internal
self.cooker.tryBuild(fn)
File "/root/workspace/bitbake/lib/bb/cooker.py", line 137, in tryBuild
return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
File "/root/workspace/bitbake/lib/bb/cooker.py", line 111, in tryBuildPackage
bb.build.exec_task('do_%s' % task, the_data)
File "/root/workspace/bitbake/lib/bb/build.py", line 278, in exec_task
exec_func(task, localdata)
File "/root/workspace/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/root/workspace/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/root/workspace/bitbake/lib/bb/utils.py", line 171, in better_exec
exec code in context
File "do_package", line 4, in <module>
File "do_package", line 2, in do_package
File "/root/workspace/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/root/workspace/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/root/workspace/bitbake/lib/bb/utils.py", line 171, in better_exec
exec code in context
File "insane_do_package", line 4, in <module>
File "insane_do_package", line 2, in insane_do_package
File "/root/workspace/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/root/workspace/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/root/workspace/bitbake/lib/bb/utils.py", line 171, in better_exec
exec code in context
File "package_do_package", line 11, in <module>
File "package_do_package", line 8, in package_do_package
File "/root/workspace/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/root/workspace/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/root/workspace/bitbake/lib/bb/utils.py", line 171, in better_exec
exec code in context
File "populate_packages", line 183, in <module>
File "populate_packages", line 5, in populate_packages
File "/root/workspace/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/root/workspace/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/root/workspace/bitbake/lib/bb/utils.py", line 171, in better_exec
exec code in context
File "package_do_split_gconvs", line 170, in <module>
File "package_do_split_gconvs", line 62, in package_do_split_gconvs
ValueError: too many values to unpack
ERROR: Task 172 (/root/workspace/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list