[yocto] Hello world-Checksum error

Paul Eggleton paul.eggleton at linux.intel.com
Tue May 28 05:14:46 PDT 2013


On Tuesday 28 May 2013 13:46:26 Zafrullah Syed wrote:
> I am trying to add Hello world recipe, everything was going good but after
> giving bitbake <target> command it breaks with the following error:
> 
> siguser at siguser:~/yocto2013-05-08/poky/build$ *bitbake gumstix-console-image
> *
> 
> ERROR: ExpansionError during parsing
> /home/siguser/yocto2013-05-08/poky/meta-bebot/recipes-bebot/hello/hello.bb:
> Failure expanding expression ${@bb.fetch.get_checksum_file_list(d)} which
> triggered exception NoMethodError: Could not find a fetcher which supports
> the URL: '${ftp://ftp.gnu.org/gnu}/hello/hello-${2.7}.tar.gz'
> ERROR: Command execution failed: Exited with 1
> 
> 
> *My hello.bb file is*:
> 
> DESCRIPTION = "GNU Helloworld application"
> SECTION = "examples"
> LICENSE = "GPLv3+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> PR = "r0"
> SRC_URI = "${ftp://ftp.gnu.org/gnu}/hello/hello-${2.7}.tar.gz"

That should be:

SRC_URI = "ftp://ftp.gnu.org/gnu}/hello/hello-2.7.tar.gz"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list