[meta-freescale] Bitbake generates error during parsing

Otavio Salvador otavio at ossystems.com.br
Wed Nov 13 06:14:39 PST 2013


On Wed, Nov 13, 2013 at 11:10 AM, Fabio Labruna <fabio at siddha.it> wrote:
> I'm tryng to build Freescale Yocto Image following "Freescale Yocto Project
> Tutorial" instructions.
> If I use master (or master-next) repository's branch to init repo:
>
> fsl-community-bsp $ repo init \
> -u https://github.com/Freescale/fsl-community-bsp-platform \
> -b master
>
> when I bitbake an image, for example :
>
> build $ bitbake core-image-minimal
>
> bitbake fails and displays following output:
>
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc_3.12.bb)|
> ETA:  00:00:19
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc_3.12.bb
> ERROR: ExpansionError during parsing
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc_3.12.bb:
> Failure expanding variable sysroot_stage_all: IndentationError: unexpected
> indent (<string>, line 4)
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb)
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.5.7.bb)
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.5.7.bb
>
> Summary: There were 3 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
> Note, if I use dora repository's branch to init repo, all the task are
> executed successfully and bitbake generates required images.
>
> Can anyone help me to solve this issue ?

Oh, I got it yesterday :-) I just sent a patch fixing this issue.
Please give it a go.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list