[yocto] Hello world-Checksum error

Erik Botö erik.boto at pelagicore.com
Tue May 28 05:36:36 PDT 2013


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
>



More information about the yocto mailing list