[yocto] db-native fetching error

Staffa, Christian AVL/DE Christian.Staffa at avl.com
Fri Feb 2 06:44:02 PST 2018


Hi all

I am trying to setup a yocto build environment. I am using win 10 with WSL and an ubuntu environment.

After coping with the company proxy to route the traffic properly I have an error with db-native package now

{{{
$ bitbake -v db-native
Loading cache: 100% |#########################################################################################################################################################################################################| Time: 0:00:00
Loaded 1276 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: selecting pkgconfig-native to satisfy pkgconfig-native due to PREFERRED_PROVIDERS

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "qemuarm"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4.1"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta
meta-poky
meta-yocto-bsp       = "rocko:21ba45aa77e4d43a93cd96d859707a4758e8b64b"

WARNING: The Linux kernel on your build host was not configured to provide process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set)
NOTE: Marking Active Tasks###################################################################################                                                                                                                 | ETA:  0:00:00
NOTE: Pruned 286 inactive tasks, 66 left#####################################################################                                                                                                                 | ETA:  0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))#####################################################################                                                                                                                | ETA:  0:00:00
Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: db-native-1_5.3.28-r1 do_fetch: Direct dependencies are []
NOTE: db-native-1_5.3.28-r1 do_fetch: Installed into sysroot: []
NOTE: db-native-1_5.3.28-r1 do_fetch: Skipping as already exists in sysroot: []
WARNING: db-native-1_5.3.28-r1 do_fetch: Checksum mismatch for local file /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz
Cleaning and trying again.
WARNING: db-native-1_5.3.28-r1 do_fetch: Renaming /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz to /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz_bad-checksum_7b279d42c4f82b8e67a625cce54990f4
WARNING: db-native-1_5.3.28-r1 do_fetch: Checksum failure encountered with download of http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz - will attempt other sources if available
WARNING: db-native-1_5.3.28-r1 do_fetch: Checksum mismatch for local file /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz
Cleaning and trying again.
WARNING: db-native-1_5.3.28-r1 do_fetch: Renaming /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz to /home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz_bad-checksum_73ef4c55d184a55807bee8d4c4a5cd40
ERROR: db-native-1_5.3.28-r1 do_fetch: Checksum failure fetching http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
ERROR: db-native-1_5.3.28-r1 do_fetch: Fetcher failure for URL: 'http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz'. Checksum mismatch!
File: '/home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz' has md5 checksum 73ef4c55d184a55807bee8d4c4a5cd40 when b99454564d5b4479750567031d66fe24 was expected
File: '/home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz' has sha256 checksum a6f3541280d4cec1811b08da02e2889fbca548b9b2b834fa495a6f42938bd621 when e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628 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] = "73ef4c55d184a55807bee8d4c4a5cd40"
SRC_URI[sha256sum] = "a6f3541280d4cec1811b08da02e2889fbca548b9b2b834fa495a6f42938bd621"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: db-native-1_5.3.28-r1 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/cs/dev/poky/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/temp/log.do_fetch.3919
ERROR: Task (virtual:native:/home/cs/dev/poky/meta/recipes-support/db/db_5.3.28.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 57 tasks of which 56 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/home/cs/dev/poky/meta/recipes-support/db/db_5.3.28.bb:do_fetch
Summary: There were 6 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
}}}

Is this a problem with the upstream package? Does anyone else have this problem?

Regards
Christian



More information about the yocto mailing list