Hi Peter, Thanks a lot for the patch. I've tested it and it works !
Yeah, you're right, the same issue do happen on both Daisy and Dizzy. I guess this patch can fix those :) Regards, Azril -----Original Message----- From: Peter Lei [mailto:[email protected]] Sent: Wednesday, December 10, 2014 8:22 AM To: Ahmad, Mohd Azril Cc: [email protected] Subject: Re: [meta-intel] multilib environment fails once included the meta-oe into the bblayers On 12/8/14 3:29 AM, Ahmad, Mohd Azril wrote: > 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 : I ran into the same issue recently, but didn't get a chance to open a bug/submit a patch, but I think there is an error in the oe-core tune and applied this locally on poky master: diff --git a/meta/conf/machine/include/tune-corei7.inc b/meta/conf/machine/include/tune-corei7.inc index 42cf932..bea652f 100644 --- a/meta/conf/machine/include/tune-corei7.inc +++ b/meta/conf/machine/include/tune-corei7.inc @@ -20,7 +20,7 @@ AVAILTUNES += "corei7-32" TUNE_FEATURES_tune-corei7-32 = "${TUNE_FEATURES_tune-x86} corei7" BASE_LIB_tune-corei7-32 = "lib" TUNE_PKGARCH_tune-corei7-32 = "corei7-32" -PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2} corei7-32" +PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-32} corei7-32" AVAILTUNES += "corei7-64" TUNE_FEATURES_tune-corei7-64 = "${TUNE_FEATURES_tune-x86-64} corei7" There is no "core2" tuning, so I think that should be "core2-32" instead. The same issue exists in daisy and dizzy. --peter > > ------------------------------ > > 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* > > > > > -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
