Fetcher failure for URL: 'https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip'. Checksum mismatch! [SOLVED]

Moderators: Oren.R, Eran.M, fradensky

hilstdaniel
Posts: 29
Joined: Mon Jun 29, 2015 6:47 pm

Fetcher failure for URL: 'https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip'. Checksum mismatch! [SOLVED]

Postby hilstdaniel » Tue Dec 06, 2016 12:35 pm

Hi,

I'm trying to build a image using Yocto Krogoth and I'm facing this error:

Code: Select all

[geckos@csi24 build_x11]$ bitbake pharosserver-imx6-image
WARNING: Host distribution "ArchLinux" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################################################################################| ETA:  00:00:00
Loaded 2823 entries from dependency cache.
Parsing recipes: 100% |##################################################################################################################################################| Time: 00:00:01
Parsing of 2261 .bb files complete (2244 cached, 17 parsed). 2840 targets, 187 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ArchLinux"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "var-som-mx6"
DISTRO            = "fsl-imx-x11"
DISTRO_VERSION    = "4.1.15-2.0.1"
TUNE_FEATURES     = "arm armv7a vfp  neon        callconvention-hard        cortexa9"
TARGET_FPU        = "hard"
meta             
meta-poky         = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe           
meta-multimedia   = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm      = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos    = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp         
meta-sdk          = "HEAD:90399d99af8a2660ebe50b49752e95b210239fd9"
meta-browser      = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome       
meta-networking   
meta-python       
meta-filesystems  = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5          = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"
meta-variscite-imx = "Krogoth-imx-4.1.15-var01:9641b1b71b532e168ecc449fb9a1d3019d695cde"
meta-oracle-java  = "master:f44365f02b283c3fb362dc99e2e996d3f11e356e"
meta-csi-utils   
meta-csi-javafx   = "<unknown>:<unknown>"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-firmware-1_0.0+gitAUTOINC+600caefd83-r0 do_fetch: Checksum mismatch for local file /home/geckos/Downloads/Downloads/yocto/krogoth/yocto_v5.zip
Cleaning and trying again.
WARNING: linux-firmware-1_0.0+gitAUTOINC+600caefd83-r0 do_fetch: Renaming /home/geckos/Downloads/Downloads/yocto/krogoth/yocto_v5.zip to /home/geckos/Downloads/Downloads/yocto/krogoth/yocto_v5.zip_bad-checksum_92fc8ec04bb3297d74a06c01e5f542bb
WARNING: linux-firmware-1_0.0+gitAUTOINC+600caefd83-r0 do_fetch: Checksum failure encountered with download of https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip - will attempt other sources if available
ERROR: linux-firmware-1_0.0+gitAUTOINC+600caefd83-r0 do_fetch: Fetcher failure for URL: 'https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip'. Checksum mismatch!
File: '/home/geckos/Downloads/Downloads/yocto/krogoth/yocto_v5.zip' has md5 checksum 92fc8ec04bb3297d74a06c01e5f542bb when b8aaf67270a08f467efb621330263eae was expected
File: '/home/geckos/Downloads/Downloads/yocto/krogoth/yocto_v5.zip' has sha256 checksum e0c39f1e7960b2f8034ce23fe3e6ce50fb4648478f25f1d1efe1ea2865b01840 when 11011e2524e1eb21a5861da7819d408998cd22932774eddc8da172abde728b89 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] = "92fc8ec04bb3297d74a06c01e5f542bb"
SRC_URI[sha256sum] = "e0c39f1e7960b2f8034ce23fe3e6ce50fb4648478f25f1d1efe1ea2865b01840"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: linux-firmware-1_0.0+gitAUTOINC+600caefd83-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/geckos/yocto/yocto-krogoth/build_x11/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/temp/log.do_fetch.14822
ERROR: Task 506 (/home/geckos/yocto/yocto-krogoth/sources/meta-variscite-imx/recipes-kernel/linux-firmware/linux-firmware_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3971 tasks of which 3962 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/geckos/yocto/yocto-krogoth/sources/meta-variscite-imx/recipes-kernel/linux-firmware/linux-firmware_git.bb, do_fetch
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Can anybody confirm?

Updating the checksums at respective recipe fix the problem. I didn't have a chance to but the image yet:

Code: Select all

diff --git a/recipes-kernel/linux-firmware/linux-firmware_git.bb b/recipes-kernel/linux-firmware/linux-firmware_git.bb
index d530795..1fd77bf 100644
--- a/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -33,8 +33,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware
 #Variscite Firmware
 #
 SRC_URI += "https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip"
-SRC_URI[md5sum] = "b8aaf67270a08f467efb621330263eae"
-SRC_URI[sha256sum] = "11011e2524e1eb21a5861da7819d408998cd22932774eddc8da172abde728b89"
+SRC_URI[md5sum] = "92fc8ec04bb3297d74a06c01e5f542bb"
+SRC_URI[sha256sum] = "e0c39f1e7960b2f8034ce23fe3e6ce50fb4648478f25f1d1efe1ea2865b01840"
 
 S = "${WORKDIR}/git"
 



Regards,

varigigi
Posts: 52
Joined: Tue Nov 01, 2016 10:25 am

Re: Fetcher failure for URL: 'https://github.com/varigit/BT_VAR_FW/archive/yocto_v5.zip'. Checksum mismatch!

Postby varigigi » Thu Dec 22, 2016 10:17 am

Hi,
the problem has been fixed in latest meta-variscite-imx branch Krogoth-imx-4.1.15-var01.
Could you please update to and rebuild?

Thanks
BR
Pier


Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 3 guests

cron