[yocto] Procedure to build the xfce UI for ODROID XU3 board

ravikiran j ravikiran.j at mistralsolutions.com
Mon Mar 13 22:03:15 PDT 2017


I cloned the meta-openembedded layer and added inside the poky.
then changed the conf/bblayers.conf as follow.

I found that meta-xfce layer depends on openembedded core, oe , multimedia
, gnome, and python.
so i made the following changes in the bblayers.conf file.


OKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/kamama-yocto/yocto/tmp/poky/meta \
  /home/kamama-yocto/yocto/tmp/poky/meta-poky \
  /home/kamama-yocto/yocto/tmp/poky/meta-yocto-bsp \





* /home/kamama-yocto/yocto/tmp/poky/meta-odroid \
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-xfce \
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-oe \
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-multimedia \
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-gnome \
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-python \*
  "

then i trying to build the
*image core-image-minimal-xfce*
Building gives the  following errors.


ERROR: ExpansionError during parsing
/home/kamama-yocto/yocto/tmp/poky/meta-openembedded/meta-python/recipes-extended/python-pyephem/
python-pyephem_3.7.6.0.bb
Traceback (most recent call last):
  File "/home/kamama-yocto/yocto/tmp/poky/bitbake/lib/bb/data_smart.py",
line 386, in DataSmart.expandWithRefs(s=' ${PYPI_SRC_URI}',
varname='SRC_URI'):
                 try:
    >                s = __expand_var_regexp__.sub(varparse.var_sub, s)
                     try:
  File "/home/kamama-yocto/yocto/tmp/poky/bitbake/lib/bb/data_smart.py",
line 111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(1,
16), match='${PYPI_SRC_URI}'>):
                 else:
    >                var = self.d.getVarFlag(key, "_content", True)
                 self.references.add(key)
  File "/home/kamama-yocto/yocto/tmp/poky/bitbake/lib/bb/data_smart.py",
line 737, in DataSmart.getVarFlag(var='PYPI_SRC_URI', flag='_content',
expand=True, noweakdefault=False, parsing=False):
                     cachename = var + "[" + flag + "]"
    >            value = self.expand(value, cachename)

  File "/home/kamama-yocto/yocto/tmp/poky/bitbake/lib/bb/data_smart.py",
line 410, in DataSmart.expand(s='${@pypi_src_uri(d)}',
varname='PYPI_SRC_URI'):
         def expand(self, s, varname = None):
    >        return self.expandWithRefs(s, varname).value

  File "/home/kamama-yocto/yocto/tmp/poky/bitbake/lib/bb/data_smart.py",
line 400, in DataSmart.expandWithRefs(s='${@pypi_src_uri(d)}',
varname='PYPI_SRC_URI'):
                 except Exception as exc:
    >                raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable PYPI_SRC_URI,
expression was ${@pypi_src_uri(d)} which triggered exception TypeError:
getVar() missing 1 required positional argument: 'expand'



how to solve this problems ?






On Mon, Mar 13, 2017 at 7:51 PM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 13 March 2017 at 13:54, ravikiran j <ravikiran.j at mistralsolutions.com>
> wrote:
>
>> What is the procedure to build the xfce  UI for ODROID XU3 board.
>>
>
> Add meta-xfce to bblayers.conf, then build an image that contains xfce
> (either add it to your image, or build the sample image
> core-image-minimal-xfce).
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170314/7e82f446/attachment.html>


More information about the yocto mailing list