[meta-ti] linux-ti-staging: Error during parsing

Paul Barker paul.barker at commagility.com
Tue Oct 20 09:54:41 PDT 2015


On Mon, 19 Oct 2015 18:28:43 -0400
Denys Dmytriyenko <denys at ti.com> wrote:

> On Tue, Oct 13, 2015 at 08:00:42PM +0100, Paul Barker wrote:
> > Hi,
> > 
> > I'm trying to move from dylan forward to fido and ran into a parsing error with
> > the linux-ti-staging recipe (all versions in the tree). Here's a run through of
> > what I've done on a Centos 7 host with relevant output included. I'm using the
> > coresdk-2015.01 tag but there aren't any commits on the fido branch after this.
> > 
> > $ git clone http://arago-project.org/git/projects/oe-layersetup.git
> > 
> > $ cd oe-layersetup/
> > 
> > $ ./oe-layertool-setup.sh -f configs/coresdk/coresdk-2015.01-config.txt
> > 
> > $ cd build/
> > 
> > $ . conf/setenv
> > 
> > $ MACHINE=k2hk-evm bitbake core-image-minimal
> > NOTE: Started PRServer with DBfile: /home/COMMAGILITY/paul.barker/tmp/oe-layersetup/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 37851, PID: 8637
> > NOTE: Your conf/bblayers.conf has been automatically updated.
> > ERROR: ExpansionError during parsing /home/COMMAGILITY/paul.barker/tmp/oe-layersetup/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.1.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception Fet
> > chError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
> 
> Hi, Paul,
> 
> Quick question - what do you use for a toolchain? By default, coresdk config 
> you reference above expects pre-built Linaro toolchain (tested with 2015.05) 
> in your PATH. While it is supposed to give a meaningful error message when it 
> can't find the expected toolchain, sometimes I've seen it fail and give 
> absolutely cryptic one instead. Can you please grab the following tarball, 
> extract it and add it's bin/ dir to your PATH and try again? Thanks.
> 
> http://releases.linaro.org/15.05/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz
> 
> BTW, meta-arago allows you to control the toolchain with TOOLCHAIN_TYPE and 
> TOOLCHAIN_BRAND variables, defaulting to "external" and "linaro"...
> 

Denys,

I was using the 15.02-3 release of the Linaro toolchain. I upgraded to 15.05
and tried again but saw the same error.

Using 'bitbake -e' I've confirmed that TOOLCHAIN_TYPE="external" and
TOOLCHAIN_BRAND="linaro".

Thanks,

-- 
Paul Barker
CommAgility Ltd


More information about the meta-ti mailing list