Skip to contentSkip to conversation

Linux Build Help Needed

DISCUSSION Paul Demetrotion 2 participants 2 messages Jun 26, 2012

lore
Share & tools
lore
#0 lore raw

I am new (2 days) to the Yocto Project. Am trying to do a Linux build for the Freescale IMX53 QSB. Am running into trouble and cannot find any assistance on-line. Any help would be appreciated.

Build log as follows:

pauld@ubuntu:~/yocto/imx53qsb/poky-denzil-7.0/build$ bitbake
core-image-minimal

WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

ERROR: Unable to parse /home/pauld/yocto/imx53qsb/poky-denzil-7.0/meta-oe/recipes-connectivity/rfki ll/rfkill_0.4.bb

Traceback (most recent call last):

File
"/home/pauld/yocto/imx53qsb/poky-denzil-7.0/bitbake/lib/bb/parse/ast.py", line 323, in finalize(fn='/home/pauld/yocto/imx53qsb/poky-denzil-7.0/meta-oe/recipes-conn ectivity/rfkill/rfkill_0.4.bb', d=<bb.data_smart.DataSmart object at 0xdcd0650>, variant=None):

             code.append("%s(d)" % funcname)

    >    bb.utils.simple_exec("\n".join(code), {"d": d})

         bb.data.update_data(d)

File "/home/pauld/yocto/imx53qsb/poky-denzil-7.0/bitbake/lib/bb/utils.py",
line 394, in simple_exec(code='__anon_119__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta _classes_staging_bbclass(d)\n__anon_524__home_pauld_yocto_imx53qsb_poky_denz il_7_0_meta_classes_base_bbclass(d)\n__anon_183__home_pauld_yocto_imx53qsb_p oky_denzil_7_0_meta_classes_package_bbclass(d)\n__anon_1116__home_pauld_yoct o_imx53qsb_poky_denzil_7_0_meta_classes_package_rpm_bbclass(d)\n__anon_732__ home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_classes_insane_bbclass(d)\n__ anon_20__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_classes_debian_bbcla ss(d)\n__anon_52__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_classes_sst ate_bbclass(d)\n__anon_95__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_cl asses_update_alternatives_bbclass(d)', context={'d':
<bb.data_smart.DataSmart object at 0xdcd0650>}):

def simple_exec(code, context):

> exec(code, _context, context)

File "<string>", line 8, in <module>

File
"__anon_95__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_classes_update_al ternatives_bbclass", line 2, in __anon_95__home_pauld_yocto_imx53qsb_poky_denzil_7_0_meta_classes_update_alt ernatives_bbclass(d=<bb.data_smart.DataSmart object at 0xdcd0650>)

File "update-alternatives.bbclass", line 12, in
update_alternatives_after_parse(d=<bb.data_smart.DataSmart object at 0xdcd0650>)

FuncFailed: Function failed:
/home/pauld/yocto/imx53qsb/poky-denzil-7.0/meta-oe/recipes-connectivity/rfki ll/rfkill_0.4.bb inherits update-alternatives but doesn't set ALTERNATIVE_NAME

ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Thanks,

Paul DeMetrotion

Software Group Manager

WinSystems, Inc.

(817) 274-7553 x136

www.winsystems.com <http://www.winsystems.com/>

#1 lore raw
Quoted 3 lines · Paul Demetrotion

WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

keep above in mind. so you are using meta-oe. are you using denzil branch of meta-openembedded repo as well or master ? you might want to stick with denzil branch for meta-openembedded as well.

This commit is of interest do you have it or not.

commit b84f1a473856e8560761e1e3f045f805a7fe9362

Author: Saul Wold <[email protected]>
Date:   Tue Jun 19 08:36:19 2012 +0000

rfkill: use update-alternatives

* Since oe-core added rfkill to busybox, this recipe needs to use u-a also.
* MJ: added ALERNATIVE_LINK_NAME[rfkill]
* MJ: increased ALTERNATIVE_PRIORITY (busybox also have 50)