All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Vidal <develone@sbcglobal.net>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: recipe md5sum and sha256sum changing
Date: Thu, 30 Jul 2015 19:08:20 +0000 (UTC)	[thread overview]
Message-ID: <2129998261.5367168.1438283300331.JavaMail.yahoo@mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2679 bytes --]

Hello All,
I used the following to create a recipe.

 recipetool create  -o /home/vidal/wkg/yocto/myhdl_recipe/poky/meta/recipes-devtools/python/python-myhdl_1.0.0.bb  https://github.com/jandecaluwe/myhdl.git

This provided the following:
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI = "https://github.com/jandecaluwe/myhdl.git"
SRC_URI[md5sum] = "6f56a9bcbd03a9c8036f87f32f9adc47"
SRC_URI[sha256sum] = "7766c49947c6574c8fb35d0dfcd795ada1e4e457ab5b15499d7000909b8e46e9"

When I run bitbake python-mydhl
the md5sum and sha256sum change everytime I run the command.

WARNING: Renaming /home/vidal/wkg/yocto/myhdl_recipe/poky/build/downloads/myhdl.git to /home/vidal/wkg/yocto/myhdl_recipe/poky/build/downloads/myhdl.git_bad-checksum_a4b1db68cde5b996661caa6abce2cb45
ERROR: Fetcher failure for URL: 'https://github.com/jandecaluwe/myhdl.git'. Checksum mismatch!
File: '/home/vidal/wkg/yocto/myhdl_recipe/poky/build/downloads/myhdl.git' has md5 checksum a4b1db68cde5b996661caa6abce2cb45 when 6f56a9bcbd03a9c8036f87f32f9adc47 was expected
File: '/home/vidal/wkg/yocto/myhdl_recipe/poky/build/downloads/myhdl.git' has sha256 checksum dc35dc44e0a480097eb1c4dd3df739396e96c8d7648bd9b9d347d02d34bbcd01 when 7766c49947c6574c8fb35d0dfcd795ada1e4e457ab5b15499d7000909b8e46e9 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "a4b1db68cde5b996661caa6abce2cb45"
SRC_URI[sha256sum] = "dc35dc44e0a480097eb1c4dd3df739396e96c8d7648bd9b9d347d02d34bbcd01"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Function failed: Fetcher failure for URL: 'https://github.com/jandecaluwe/myhdl.git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/vidal/wkg/yocto/myhdl_recipe/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/python-myhdl/1.0.0-r0/temp/log.do_fetch.6277
ERROR: Task 4 (/home/vidal/wkg/yocto/myhdl_recipe/poky/meta/recipes-devtools/python/python-myhdl_1.0.0.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 421 tasks of which 413 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/vidal/wkg/yocto/myhdl_recipe/poky/meta/recipes-devtools/python/python-myhdl_1.0.0.bb, do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Thanks in advance Edward Vidal Jr.
e-mail develone@sbcglobal.net
915-595-1613

[-- Attachment #2: Type: text/html, Size: 3386 bytes --]

             reply	other threads:[~2015-07-30 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 19:08 Edward Vidal [this message]
2015-07-30 19:19 ` recipe md5sum and sha256sum changing Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2129998261.5367168.1438283300331.JavaMail.yahoo@mail.yahoo.com \
    --to=develone@sbcglobal.net \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.