| Summary: | glib-2.0-native: do_compile failed on opensuse 12.2 64bit | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | core | Assignee: | Jesse Zhang <sen.zhang> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, sen.zhang, sgw |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
glib-2.0-native: do_compile failed on opensuse 12.2 64bit: Traceback (most recent call last): File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/gdbus-codegen.in", line 39, in <module> from codegen import codegen_main File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/codegen_main.py", line 30, in <module> from . import parser File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/parser.py", line 25, in <module> import xml.parsers.expat ImportError: No module named xml.parsers.expat Traceback (most recent call last): File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/gdbus-codegen.in", line 39, in <module> from codegen import codegen_main File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/codegen_main.py", line 30, in <module> from . import parser File "/buildarea/lyang1/first/tmp/work/x86_64-linux/glib-2.0-native/1_2.34.3-r2/glib-2.34.3/gio/gdbus-2.0/codegen/parser.py", line 25, in <module> import xml.parsers.expat ImportError: No module named xml.parsers.expat make[2]: *** [gdbus-daemon-generated.h] Error 1 This is because opensuse 12.2 doesn't install the expat.py (one of python's lib), but our native python provides, use our native python would fix the problem.