Recipe for gcc-arm-none-eabi-native fails. Download checksum error with kirkstone.
I am puzzled with a curious build problem:
The recipe gcc-arm-none-eabi-native downloads gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 but the download finishes to early (at 100MB instead of 150MB). Therefore the checksum check fails.
BUT:
If I copy the SRC_URL:
into a browser or use wget the download completes successfully. Also the sha256 sum is correct then.
Anyone experienced similar problems? Currently I will try to add a bbappend recipe to inject the archive as local file.
My systems:
Ubuntu 22.04 LTS
Alternatively docker container with 22.04
BB_NUMBER_THREADS="16" PARALLEL_MAKE="-j 16" bitbake gcc-arm-none-eabi-native
NOTE: Started PRServer with DBfile: /home/glaure/Development/SW_APP/nexio_tmp/ost-5.15/build/cache/prserv.sqlite3, Address: 127.0.0.1:41099, PID: 1439493
Loading cache: 100% |########################################################################################################| Time: 0:00:00
Loaded 4489 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp1-nexio"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.0.4-snapshot-20230504"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "kirkstone"
GCCVERSION = "11.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-swupdate-nexio = "<unknown>:<unknown>"
meta-swupdate = "kirkstone:fb01170b98cf9541d286ba5a890fb85d83949b91"
meta-trionet
meta-nexio
meta-nexio-bsp = "<unknown>:<unknown>"
meta-python
meta-oe
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-webserver
meta-filesystems
meta-perl = "HEAD:05dcac98473402d87e0af73bbc2c5a6a840abe93"
meta-st-stm32mp = "HEAD:ca501bd7dbe023682903ceedddaacd940b0898f4"
meta-qt5 = "HEAD:5b71df60e523423b9df6793de9387f87a149ac42"
meta-st-openstlinux = "HEAD:cb736b403d0fef2a02390695613b6b4bb13ca1b7"
meta = "HEAD:f7766da462905ec67bf549d46b8017be36cd5b2a"
NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.6/x86_64-nativesdk-libc-3.6.tar.xz;sha256sum=9bfc4c970495b3716b2f9e52c4df9f968c02463a9a95000f6657fbc3fde1f098 (will check PREMIRRORS first)
Initialising tasks: 100% |###################################################################################################| Time: 0:00:02
Sstate summary: Wanted 6 Local 0 Mirrors 0 Missed 6 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: gcc-arm-none-eabi-native-10-r0 do_fetch: Checksum mismatch for local file /home/glaure/Development/SW_APP/nexio_tmp/ost-5.15/build/downloads/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
Cleaning and trying again.
WARNING: gcc-arm-none-eabi-native-10-r0 do_fetch: Renaming /home/glaure/Development/SW_APP/nexio_tmp/ost-5.15/build/downloads/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 to /home/glaure/Development/SW_APP/nexio_tmp/ost-5.15/build/downloads/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2_bad-checksum_c1d9dbf71e84d737a0e38fbf33c8f7f8b24519ee8b75a472af1873fd84769f8c
WARNING: gcc-arm-none-eabi-native-10-r0 do_fetch: Checksum failure encountered with premirror download of https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2;name=gcc-arm-x86 - will attempt other sources.
WARNING: gcc-arm-none-eabi-native-10-r0 do_fetch: Failed to fetch URL https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2;name=gcc-arm-x86, attempting MIRRORS if available