| Summary: | on qemumips, "bitbake poky-image-minimal" will fail if eglibc is used. | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Dexuan Cui <dexuan.cui> |
| Component: | meta-yocto | Assignee: | Dexuan Cui <dexuan.cui> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | x86 | ||
| OS: | mips | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Dexuan Cui
2010-09-17 21:04:10 UTC
> ERROR: Task failed: localedef returned an error
The failure occurs here:
def output_locale_binary(name, pkgname, locale, encoding):
...
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s \
-E LD_LIBRARY_PATH=%s %s %s/bin/localedef %s" % \
(path, i18npath, qemu, treedir, ldlibdir, qemu_options, treedir, localedef_opts)
bb.note("generating locale %s (%s)" % (locale, encoding))
import subprocess
process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if process.wait() != 0:
...
raise bb.build.FuncFailed("localedef returned an error")
After adding log for process.wait(), it's -11 every time.
-11 is -SIGSEGV. It means the qemu-mips in the variable cmd crash with a segfault.
However, when I run manually the long cmd string in shell, it is ok!
This is really strange... looking into this.
The issue has been worked around -- see the commit info in Bug 226. *** This bug has been marked as a duplicate of bug 226 *** close as a dup |