recipe md5sum and sha256sum changing

Ed Vidal

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

 recipetool create  -o /home/vidal/wkg/yocto/myhdl_recipe/poky/meta/recipes-devtools/python/

This provided the following:

SRC_URI = ""
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: ''. 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: ''. 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/, 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/, 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@...

Join to automatically receive all group messages.