[meta-intel] multilib environment fails once included the meta-oe into the bblayers

Ahmad, Mohd Azril mohd.azril.ahmad at intel.com
Mon Dec 8 01:29:22 PST 2014


Hi all,

I've successfully built the Yocto image with valleyisland-64 BSP under multilib environment (32 and 64-bit libraries).

During the process, I've noticed that the bitbake compilation fails once I add-in the meta-openembedded/meta-oe layer inside.

The failures as below :
------------------------------
NOTE: Error during finalize of virtual:multilib:lib32:/MOUNT/EXT/YOCTO_BUILDER/YOCTO_DEBUG/meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb                               | ETA:  00:01:00

ERROR: ExpansionError during parsing /...<build_path>.../meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb: Failure expanding variable CONFFILES_lib32-distro-feed-configs: ExpansionError: Failure expanding variable CONFFILES_lib32-distro-feed-configs, expression was  ${@ " ".join( [ ( "/etc/opkg/%s-feed.conf" % feed ) for feed in "all ${PACKAGE_EXTRA_ARCHS_tune-core2} corei7-32 corei7-32-intel-common valleyisland_64".split() ] ) } which triggered exception SyntaxError: EOL while scanning string literal (CONFFILES_lib32-distro-feed-configs, line 1)

As for workaround, I've modified the meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb by enabling the old CONFFILES portion and disable the new one :
------------------------------
def distro_feed_configs(d):
    import bb
    parchs = d.getVar( "PACKAGE_EXTRA_ARCHS", 1 ).split()
    march = d.getVar( "MACHINE_ARCH", 1 ).split()
    archs = [ "all" ] + parchs + march
    confs = [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in archs ]
    return " ".join( confs )
CONFFILES_${PN} += '${@distro_feed_configs(d)}'

#CONFFILES_${PN} += '${@ " ".join( [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in "all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}".split() ] ) }'
------------------------------


Question : Is this an expected behaviour under meta-intel + meta-oe multilib ?


Btw, here are my bblayers.conf, local.conf and meta commit id :

bblayers.conf :
-------------------
BBLAYERS ?= " \
  /...<build_path>.../poky/meta \
  /...<build_path>.../poky/meta-yocto \
  /...<build_path>.../poky/meta-yocto-bsp \
  /...<build_path>.../meta-intel \
  /...<build_path>.../meta-intel/meta-isg/meta-valleyisland \
  /...<build_path>.../meta-openembedded/meta-oe \

local.conf :
-------------
## Standard commercial license #
LICENSE_FLAGS_WHITELIST = "commercial"

## Enable multi-libraries #
require conf/multilib.conf
DEFAULTTUNE = "corei7-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "corei7-32"

meta commit :
------------------
poky = "master : a862bf045109d213c301121961bd8d389e48b13d"
meta-intel = "master : a72da6350e7a77256ad597e8e8c40909590a2a40"
meta-oe = "master : 2cc1bd9dd060f5002c2fde7aacba86fe230c12af"


Need advise .. thanks.

Regards,
Azril

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20141208/3504411e/attachment.html>


More information about the meta-intel mailing list