[poky] Problem while pulling mesa

kubera samrat kubera.samrat at gmail.com
Wed Mar 23 23:36:44 PDT 2011


Hi Yu Ke,
           I have made changes in libxml2 and removed all the stamps etc.,
which are related to xml and mesa-dri . Still I am facing with the same
error. Do I have to additionally do any thing?
Is it the case that we have to mention libxml2-native/libxml2 in the depends
of mesa? Please suggest me the solution. Thank you very much for your
previous reply. I am including modified EXTRA_OECONF below.
For your reference I attached my bb file also.

********************************
EXTRA_OECONF += "--with-driver=dri \
                 --enable-egl \
                 --enable-gallium \
                 --enable-gallium-egl \

                 --enable-glx-tls \
                 --enable-gl-osmesa \
                 --enable-glu \
                 --enable-glw \

*                 --enable-gallium-swrast \
                 --enable-xcb \
                 --enable-gles-overlay \
                 --enable-gles2 \
                 --enable-gles1 \
                 --with-egl-platforms='x11 drm' \
                 --with-state-trackers=egl,es"*
*********************************************************************


On Thu, Mar 24, 2011 at 7:52 AM, Yu Ke <ke.yu at intel.com> wrote:

> 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=032553036dcd0a4b977ab0e4e78b4af4a23e4ad6for detail.
>
> Regards
> Ke
>
>
>


Thanks and regards,
V kubera Samrat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110324/30932628/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa-dri_7.8.2.bb
Type: application/octet-stream
Size: 2354 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110324/30932628/attachment.obj>


More information about the poky mailing list