[poky] Problem while pulling mesa
Yu Ke
ke.yu at intel.com
Wed Mar 23 19:22:39 PDT 2011
On Mar 23, 15:43, kubera samrat wrote:
> Hi Yu ke,
> I have changed my extra conf. Now I am getting an error stated
> below.
>
> ******************************************
> EXTRA_OECONF += "--with-driver=dri --enable-egl --enable-gallium *
> --enable-gallium-eg*l --enable-glx-tls --enable-gl-osmesa --enable-glu
> --enable-glw --enable-gallium-swrast --enable-xcbi --enable-egl *--enable-gles2
> --with-state-trackers=glx,egl,es --enable-gallium-swrast
> --with-egl-driver-dir=${D}${libdir}/egl --with-egl-platforms=x11,drm
> --enable-gles-overlay*"
> *************************************************
> ERROR LOG
> *******************************************
> | Traceback (most recent call last):
> | File "main/es_generator.py", line 174, in <module>
> | keys = apiutil.GetAllFunctions(functionList, version)
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspecutil.py",
> line 87, in GetAllFunctions
> | _ParseXML(filename, api)
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspecutil.py",
> line 52, in _ParseXML
> | impl = spec.get_impl()
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
> line 65, in get_impl
> | return API(self, self.impl_node)
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
> line 101, in __init__
> | self.categories)
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
> line 175, in __init__
> | self._init_params(param_nodes)
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
> line 194, in _init_params
> | if not size or size > param_node.lsCountNode():
> | File
> "/home/kuberasamrat/poky-chrome/build/tmp/sysroots/x86_64-linux/usr/lib/python2.6/site-packages/libxml2.py",
> line 2983, in lsCountNode
> | ret = libxml2mod.xmlLsCountNode(self._o)
> |* AttributeError: 'module' object has no attribute 'xmlLsCountNode'*
> *| make[2]: *** No rule to make target `depend', needed by `default'. Stop.
> *
> *| make[2]: Leaving directory
> `/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es'
> *
> *| make[1]: *** [subdirs] Error 1*
> *| make[1]: Leaving directory
> `/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src'
> *
> *| make: *** [default] Error 1*
> *| FATAL: oe_runmake failed*
> ****************************************************************************************************************************************************
This is a libxml2 issue. mesa requires libxml2 debug module (default is on), which is however disabled by "--without-debug" option. so you can try to remove this option in the libxml2 to fix this issue.
This issue is already addressed in poky upstream before. see commit http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=032553036dcd0a4b977ab0e4e78b4af4a23e4ad6 for detail.
Regards
Ke
More information about the poky
mailing list