AnsweredAssumed Answered

Yocto bitbake download error

Question asked by tomas arredondo on Mar 13, 2019
Latest reply on Mar 14, 2019 by tomas arredondo

Hi,

 

Sorry if it is a repeated question but could not find this specific issue mentioned before.

Trying to bitbake yocto sdk 1.1.1 2.4 under Ubuntu 16.04:

 2123  mkdir yocto-sdk
 2124  cd yocto-sdk/
 2126  sudo ~/bin/repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b thud
 2129  sudo ~/bin/repo sync --no-clone-bundle
 2130  . ./setup-env -m t4240rdb-64b
 2131  bitbake fsl-image-networking

and seeing this error:

ERROR: bzip2-native-1.0.6-r5 do_fetch: Fetcher failure for URL: 'http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz'. Unable to fetch URL from any source.
ERROR: bzip2-native-1.0.6-r5 do_fetch: Function failed: base_do_fetch

Looking at the log:

Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 782025 (764K) [application/octet-stream]
Saving to: ...Downloads/yocto-sdk/downloads/bzip2-1.0.6.tar.gz’

 

     0K .......... .......... .......... .......... ..........  6%  272K 3s
    50K .......... .......... .......... .......... .......... 13%  518K 2s
   100K .......... .......... .......... .......... .......... 19%  297K 2s
   150K .......... .......... .......... .......... .......... 26% 87.7K 3s
   200K .......... .......... .......... .......... .......... 32%  449K 2s
   250K .......... .......... .......... .......... .......... 39% 9.60M 2s
   300K .......... .......... .......... .......... .......... 45% 18.2M 1s
   350K .......... .......... .......... .......... .......... 52%  262K 1s
   400K .......... .......... .......... .......... .......... 58% 2.84M 1s
   450K .......... .......... .......... .......... .......... 65%  367K 1s
   500K .......... .......... .......... .......... .......... 72% 3.16M 1s
   550K .......... .......... .......... .......... .......... 78% 4.75M 0s
   600K .......... .......... .......... ..                    82% 15.8M=1.5s

 

2019-03-13 19:33:12 (419 KB/s) - Read error at byte 647168/782025 (Success). Retrying.

 

--2019-03-13 19:33:13--  (try: 2)  http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 782025 (764K), 134857 (132K) remaining [application/octet-stream]
Saving to: ...Downloads/yocto-sdk/downloads/bzip2-1.0.6.tar.gz’

 

        [ skipping 600K ]
   600K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,........ .......    84% 11.4M=0.001s

 

2019-03-13 19:33:45 (11.4 MB/s) - Read error at byte 663292/782025 (Success). Giving up.
ERROR: Fetcher failure for URL: 'http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz'. Unable to fetch URL from any source.

 

The odd thing is that looking here: "http://downloads.yoctoproject.org/mirror/sources/"

I can download several files of various sizes but not the bzip2-1.0.6...  in question.  There are probably other files that fail as well.  It seems like a server problem to me but that seems odd.

 

Thanks,

Tomas

Outcomes