[bitbake-devel] WARNING: XXXXXX do_fetch: Failed to fetch URL http://xxxxxxx.tar.xz, attempting MIRRORS if available

Paul Eggleton paul.eggleton at linux.intel.com
Wed Aug 8 14:16:53 UTC 2018


On Wednesday, 8 August 2018 12:18:32 PM CEST Sitech wrote:
> When I build my yocto project, I often get a  same warning like this : 
> 
>  WARNING: quilt-native-0.65-r0 do_fetch: Failed to fetch URL http://download.savannah.gnu.org/releases/quilt/quilt-0.65.tar.gz, attempting MIRRORS if available
> WARNING: attr-native-2.4.47-r0 do_fetch: Failed to fetch URL http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz, attempting MIRRORS if available
> WARNING: flex-native-2.6.0-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/flex/flex-2.6.0.tar.bz2, attempting MIRRORS if available
> WARNING: xz-native-5.2.3-r0 do_fetch: Failed to fetch URL http://tukaani.org/xz/xz-5.2.3.tar.gz, attempting MIRRORS if available
> WARNING: util-linux-native-2.30-r0 do_fetch: Failed to fetch URL http://cdn.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.tar.xz, attempting MIRRORS if available
> WARNING: python3-native-3.5.3-r1.0 do_fetch: Failed to fetch URL http://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz, attempting MIRRORS if available
> WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL http://rpm5.org/files/popt/popt-1.16.tar.gz, attempting MIRRORS if available
> WARNING: libpng-native-1.6.31-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.31/libpng-1.6.31.tar.xz, attempting MIRRORS if available
> WARNING: shadow-4.2.1-r0 do_fetch: Failed to fetch URL http://pkg-shadow.alioth.debian.org/releases/shadow-4.2.1.tar.xz, attempting MIRRORS if available
> WARNING: acl-2.2.52-r0 do_fetch: Failed to fetch URL http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz, attempting MIRRORS if available
> WARNING: linux-libc-headers-4.12-r0 do_fetch: Failed to fetch URL http://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.12.tar.xz, attempting MIRRORS if available
> WARNING: freetype-2.8-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/freetype/freetype-2.8.tar.bz2, attempting MIRRORS if available
> WARNING: curl-native-7.58.0-r0 do_fetch: Failed to fetch URL http://curl.haxx.se/download/curl-7.58.0.tar.bz2, attempting MIRRORS if available
> WARNING: perl-native-5.24.1-r0 do_fetch: Failed to fetch URL http://www.cpan.org/src/5.0/perl-5.24.1.tar.xz, attempting MIRRORS if available
> 
> 
> And then, build failed, actually, the target file is accessable,  maybe my
> net connect is to low. So my operation is that remove ${TMPDIR} and rebuild 
> the project by using $bitbake <target> command. But that's really cost to
> much time. Does any friend have other methods or good advices?

What you pasted above are just warnings - there's no need to delete anything.
If the failures are purely fetch failures and they are intermittent, you should just
be able to re-run the build and it will attempt to download the files again.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre





More information about the bitbake-devel mailing list