| Traceback (most recent call last): | File "./gdbus-2.0/codegen/gdbus-codegen.in", line 39, in <module> | from codegen import codegen_main | File "/buildarea2/xouyang/poky/build-qemux86/tmp/work/i686-linux/glib-2.0-native-1_2.32.4-r3/glib-2.32.4/gio/gdbus-2.0/codegen/codegen_main.py", line 30, in <module> | from . import parser | File "/buildarea2/xouyang/poky/build-qemux86/tmp/work/i686-linux/glib-2.0-native-1_2.32.4-r3/glib-2.32.4/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 | make[2]: *** Waiting for unfinished jobs.... | make[2]: *** [gdbus-daemon-generated.c] Error 1 | make[2]: Leaving directory `/buildarea2/xouyang/poky/build-qemux86/tmp/work/i686-linux/glib-2.0-native-1_2.32.4-r3/glib-2.32.4/gio' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/buildarea2/xouyang/poky/build-qemux86/tmp/work/i686-linux/glib-2.0-native-1_2.32.4-r3/glib-2.32.4' | make: *** [all] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /buildarea2/xouyang/poky/build-qemux86/tmp/work/i686-linux/glib-2.0-native-1_2.32.4-r3/temp/log.do_compile.6529 for further information) NOTE: package glib-2.0-native-1_2.32.4-r3: task do_compile: Failed ERROR: Task 6 (virtual:native:/buildarea2/xouyang/poky/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 167 tasks of which 161 didn't need to be rerun and 1 failed. ERROR: An uncaught exception occured in runqueue, please see the failure below: Summary: 1 task failed: virtual:native:/buildarea2/xouyang/poky/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb, do_compile
Should re-assign to document team as Richard's comment. On Thu, 2012-11-01 at 16:53 +0800, Xin Ouyang wrote: > glib-2.0 needs to inherit pythonnative because it will run python > scripts to generate codes while do_compile. > > This has caused problems on some hosts(SLED11.2) if no python-xml > installed. > > [Yocto 2843] > > Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> > --- > meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) This is going to adversely affect build speed. Can we not document that python-xml needs to be installed on these hosts? I'd have thought that would be available on most systems we support running on these days? Cheers, Richard
So is the issue here that we need to add python-xml host package to all our supported hosts? If so, is this categorized in the "essential" set of packages as defined earlier by Paul Eggleton? Scott
We should add this; however we should only add it to the list for OpenSUSE; for the other three distributions this functionality is installed as part of the libraries for python itself so it is already taken care of for them.
I updated the variables in the poky.ent file so that the OpenSUSE essentials package list now includes python-xml. I also added some formatting characters to the strings of all distros to make the resuling manuals format the strings better. I have marked this bug RESOLVED. Please see http://www.yoctoproject.org/docs/1.4/yocto-project-qs/yocto-project-qs.html#packages and http://www.yoctoproject.org/docs/1.4/poky-ref-manual/poky-ref-manual.html#required-packages-for-the-host-development-system for the latest QS and reference sections. Scott