Hi,

I'm new to Yocto and am trying to follow the quick start guide to get up and running with poky.  I'm using the latest Dunfel 3.1.2.

I'm running Debian 10 Buster in a VirtualBox VM (guest), on a Windows 10 Pro (host).

I'm having trouble with the build fetching files and getting checksum mismatch, however if I download the troublesome file with wget then the checksum is correct.

How do I fix this?

Everything seems very complex with Yocto, but maybe that's because I'm new to it.


   $ time bitbake core-image-sato
   Loading cache: 100%
   
|###############################################################################|
   Time: 0:00:01Loaded 1312 entries from dependency cache.
   NOTE: Resolving any missing task queue dependencies

   Build Configuration:
   BB_VERSION           = "1.46.0"
   BUILD_SYS            = "x86_64-linux"
   NATIVELSBSTRING      = "universal"
   TARGET_SYS           = "x86_64-poky-linux"
   MACHINE              = "qemux86-64"
   DISTRO               = "poky"
   DISTRO_VERSION       = "3.1.2"
   TUNE_FEATURES        = "m64 core2"
   TARGET_FPU           = ""
   meta
   meta-poky
   meta-yocto-bsp       =
   "my-yocto-3.1.2:569b1f5d67c57de957e243997c53ec2f81dc8dfe"

   Initialising tasks: 100%
   |##########################################################################|
   Time: 0:00:09Checking sstate mirror object availability: 100%
   |##################################################| Time:
   0:36:41Sstate summary: Wanted 2547 Found 0 Missed 2547 Current 228
   (0% match, 8% complete)
   NOTE: Executing Tasks
   WARNING: m4-native-1.4.18-r0 do_fetch: Checksum mismatch for local
   file
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz
   Cleaning and trying again.
   WARNING: m4-native-1.4.18-r0 do_fetch: Renaming
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz
   to
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz_bad-checksum_e64407f9097a607b4463e0c82d898c19b0a3bfd2199d30337b5464d8b416e59c
   WARNING: m4-native-1.4.18-r0 do_fetch: Checksum failure encountered
   with download of https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz - will
   attempt other sources if available
   WARNING: m4-native-1.4.18-r0 do_fetch: Checksum mismatch for local
   file
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz
   Cleaning and trying again.
   WARNING: m4-native-1.4.18-r0 do_fetch: Renaming
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz
   to
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz_bad-checksum_6a1537c79ea613aa70849d8f1f7eeb5a5dbbea3a9527d4aea33a1c8a88e80b9c
   ERROR: m4-native-1.4.18-r0 do_fetch: Checksum failure fetching
   https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz
   ERROR: m4-native-1.4.18-r0 do_fetch: Fetcher failure for URL:
   'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz'. Checksum mismatch!
   File:
   
'/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz'
   has md5 checksum 6a289f7da1478d63683eb4ad976c3c99 when
   a077779db287adf4e12a035029002d28 was expected
   File:
   
'/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/downloads/m4-1.4.18.tar.gz'
   has sha256 checksum
   6a1537c79ea613aa70849d8f1f7eeb5a5dbbea3a9527d4aea33a1c8a88e80b9c
   when
   ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab 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] =
   "6a1537c79ea613aa70849d8f1f7eeb5a5dbbea3a9527d4aea33a1c8a88e80b9c"
   Otherwise you should retry the download and/or check with upstream
   to determine if the file has become corrupted or--- Starting bitbake
   server pid 6121 at 2020-08-25 19:29:32.273325 ---
   Started bitbake server pid 6121
   DEBUG: BBCooker starting 1598398172.2817702
   DEBUG: BBCooker pyinotify1 1598398172.2922668
   DEBUG: BBCooker pyinotify2 1598398172.2926114
   DEBUG: BBCooker pyinotify3 1598398172.2971811
   DEBUG: BBCooker pyinotify complete 1598398172.2975075
   DEBUG: Found bblayers.conf
   
(/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/conf/bblayers.conf)

   DEBUG: Adding layer
   /home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta
   DEBUG: Adding layer
   /home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta-poky
   DEBUG: Adding layer
   /home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta-yocto-bsp
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:755:
   including conf/abi_version.conf
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:756:
   including conf/site.conf
   DEBUG: CONF file 'conf/site.conf' not found
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:757:
   including conf/auto.conf
   DEBUG: CONF file 'conf/auto.conf' not found
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:758:
   including conf/local.conf
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:759:
   including conf/multiconfig/default.conf
   DEBUG: CONF
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/conf/bitbake.conf:760:
   including conf/mach...skipping...
     otherwise unexpectedly modified.
   ERROR: Logfile of failure stored in:
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_fetch.10440
   ERROR: Task
   
(/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_fetch)
   failed with exit code '1'
   NOTE: Tasks Summary: Attempted 17 tasks of which 16 didn't need to
   be rerun and 1 failed.

   Summary: 1 task failed:
   
/home/brendan/SEPL/Projects/Erntec/PMU/yocto_trial/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_fetch

   Summary: There were 5 WARNING messages shown.
   Summary: There were 2 ERROR messages shown, returning a non-zero
   exit code.

   real    37m7.174s
   user    0m2.521s
   sys     0m1.431s


Thanks,
Brendan.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50363): https://lists.yoctoproject.org/g/yocto/message/50363
Mute This Topic: https://lists.yoctoproject.org/mt/76422903/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to