[yocto] Hello world-Checksum error

Zafrullah Syed zafrullahmehdi at gmail.com
Tue May 28 06:45:10 PDT 2013


Hi all,

Error corrected. Thank You.

Do we need to add IMAGE_INSTALL += " hello " and EXTRA_IMAGE_FEATURES += "
hello " to yocto/build/conf/local.conf or yocto/poky/build/conf/local.conf
 before running build?




On Tue, May 28, 2013 at 2:36 PM, Erik Botö <erik.boto at pelagicore.com> wrote:

> On Tue, May 28, 2013 at 2:32 PM, Zafrullah Syed
> <zafrullahmehdi at gmail.com> wrote:
> > Hi Paul,
> >
> > It's the same error:
> >
> > 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
> >
>
> Looks like you still have {} in your SRC_URI, use:
>
> SRC_URI = "ftp://ftp.gnu.org/gnu/hello/hello-2.7.tar.gz"
>
> Cheers,
> Erik
>
> > I found something similar at the end of this:
> >
> > https://lists.yoctoproject.org/pipermail/yocto/2012-January/006660.html
> >
> > Any hints?
> >
> > Thank You,
> >
> >
> > On Tue, May 28, 2013 at 2:14 PM, Paul Eggleton
> > <paul.eggleton at linux.intel.com> wrote:
> >>
> >> 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
> >
> >
> >
> >
> > --
> > Regards,
> > Zafrullah Syed
> >
> >
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>



-- 
Regards,
Zafrullah Syed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130528/1572b89c/attachment.html>


More information about the yocto mailing list