[yocto] Hello world-Checksum error

Satya Swaroop Damarla satyaswaroop.damarla at gmail.com
Tue May 28 04:57:41 PDT 2013


Hi,

Please remove the $ sign in SRC_URI and retry building the package.. I
think it is the issue


On Tue, May 28, 2013 at 1:46 PM, Zafrullah Syed <zafrullahmehdi at gmail.com>wrote:

> Hi all,
>
> 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"
> inherit autotools gettext
>
> I downloaded hello-2.7.tar.gz -> extracted -> ran md5sum against COPYING
> -> got md5 -> added that md5 to my hello.bb file.
> Any ideas where I am doing wrong?
>
>
> --
> Regards,
> Zafrullah Syed
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130528/99eb3aa8/attachment.html>


More information about the yocto mailing list