[yocto] Hello world-Checksum error

Zafrullah Syed zafrullahmehdi at gmail.com
Tue May 28 05:03:18 PDT 2013


I removed $ sign in SRC_URI  and ran build again, following is 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



On Tue, May 28, 2013 at 1:57 PM, Satya Swaroop Damarla <
satyaswaroop.damarla at gmail.com> wrote:

> 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
>>
>>
>


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


More information about the yocto mailing list