Bug 4424 - glib-2.0-native: do_compile failed on opensuse 12.2 64bit
Summary: glib-2.0-native: do_compile failed on opensuse 12.2 64bit
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M1
Assignee: Jesse Zhang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-26 08:02 UTC by Robert Yang
Modified: 2013-06-05 07:09 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2013-04-26 08:02:25 UTC
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.