sifive / freedom-u-sdk

Freedom U Software Development Kit (FUSDK)
278 stars 125 forks source link

Checksum mismatch for devmem2 #156

Closed yuzibo closed 3 years ago

yuzibo commented 3 years ago

Hi, I know the bug does not relative with the repo, but when i compile the qemuriscv64_b disk image follow the README, I got the log:

WARNING: devmem2-1.0-r7 do_fetch: Checksum mismatch for local file /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c
Cleaning and trying again.
WARNING: devmem2-1.0-r7 do_fetch: Renaming /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c to /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c_bad-checksum_3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
WARNING: devmem2-1.0-r7 do_fetch: Checksum failure encountered with download of http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c - will attempt other sources if available
WARNING: devmem2-1.0-r7 do_fetch: Checksum mismatch for local file /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c
Cleaning and trying again.
WARNING: devmem2-1.0-r7 do_fetch: Renaming /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c to /home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d
ERROR: devmem2-1.0-r7 do_fetch: Checksum failure fetching http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c
ERROR: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c'. Checksum mismatch!
File: '/home/vimer/riscv_test/sifive-freedom-u-sdk/build/downloads/devmem2-new.c' has md5 checksum 'be12c0132a1ae118cbf5e79d98427c1d' when 'e23f236e94be4c429aa1ceac0f01544b' 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[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: Logfile of failure stored in: /home/vimer/riscv_test/sifive-freedom-u-sdk/build/tmp-glibc/work/riscv64-oe-linux/devmem2/1.0-r7/temp/log.do_fetch.24143
ERROR: Task (/home/vimer/riscv_test/sifive-freedom-u-sdk/meta-openembedded/meta-oe/recipes-support/devmem2/devmem2.bb:do_fetch) failed with exit code '1'

It seems like the bug from bitbake. But i have no ieda. If it is true, I will turn to bitbake to report it and close the issue, thank you.