See the Yocto Wiki Question "How do I create my own source download mirror?"
https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_create_my_own_source_download_mirror_.3F

That does not answer why you are getting intermittent download errors, but the 
stark fact is that to some degree this must be expected (maybe not as much as 
you are seeing, but some...).

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Harinath maddelal
Sent: Wednesday, June 29, 2016 3:02 PM
To: Yocto Project <yocto@yoctoproject.org>
Subject: [yocto] Fetch failure errors while building yocto


Hi



While im trying to build yocto. Im facing some fetch failure errors. The same 
works fine sometimes but sometimes it fails giving the error as unable to fetch.



When i try to download it using wget it works fine.


Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "mipsel-poky-linux"
MACHINE           = "i7"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.3"
TUNE_FEATURES     = "o32 fpu-hard mips32r2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-i7
meta-i7recepes
meta-mylayer
meta-dnsmask
meta-netifd
meta-lldpd
meta-relayd
meta-dhcpv6-linux
meta-json
meta-lua2
meta-libubox
meta-ustream-ssl
meta-ubus
meta-uci
meta-ipset2
meta-uclient
meta-rpc
meta-firewall
meta-uqmi         = "(nobranch):b38454c2e3a7a58f5397bb16d59e2b0aa71c4a94"
meta-alljoyn      = "master:e775bf1c287e10abf18ceae544a310cdefc24ed0"
meta-oic          = "(nobranch):b38454c2e3a7a58f5397bb16d59e2b0aa71c4a94"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL 
http://download.oracle.com/berkeley-db/db-6.0.30.tar.gz, attempting MIRRORS if 
available
WARNING: Failed to fetch URL 
http://downloads.sourceforge.net/boost/boost_1_56_0.tar.bz2, attempting MIRRORS 
if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 
'http://download.oracle.com/berkeley-db/db-6.0.30.tar.gz'. Unable to fetch URL 
from any source.
ERROR: Logfile of failure stored in: 
/home/harinathm/poky/build/tmp/work/mips32r2el-poky-linux/db/6.0.30-r0/temp/log.do_fetch.20074
ERROR: Task 1792 (/home/harinathm/poky/meta/recipes-support/db/db_6.0.30.bb, 
do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 
'http://downloads.sourceforge.net/boost/boost_1_56_0.tar.bz2'. Unable to fetch 
URL from any source.
ERROR: Logfile of failure stored in: 
/home/harinathm/poky/build/tmp/work/x86_64-linux/bjam-native/1.56.0-r0/temp/log.do_fetch.20078
ERROR: Task 2575 
(/home/harinathm/poky/meta/recipes-support/boost/bjam-native_1.56.0.bb, 
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL 
http://download.oracle.com/berkeley-db/db-6.0.30.tar.gz, attempting MIRRORS if 
available
WARNING: Failed to fetch URL 
http://downloads.sourceforge.net/boost/boost_1_56_0.tar.bz2, attempting MIRRORS 
if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 
'http://download.oracle.com/berkeley-db/db-6.0.30.tar.gz'. Unable to fetch URL 
from any source.
ERROR: Logfile of failure stored in: 
/home/harinathm/poky/build/tmp/work/x86_64-linux/db-native/6.0.30-r0/temp/log.do_fetch.20073
ERROR: Task 1234 
(virtual:native:/home/harinathm/poky/meta/recipes-support/db/db_6.0.30.bb, 
do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 
'http://downloads.sourceforge.net/boost/boost_1_56_0.tar.bz2'. Unable to fetch 
URL from any source.
ERROR: Logfile of failure stored in: 
/home/harinathm/poky/build/tmp/work/mips32r2el-poky-linux/boost/1.56.0-r0/temp/log.do_fetch.20075
ERROR: Task 1721 
(/home/harinathm/poky/meta/recipes-support/boost/boost_1.56.0.bb, do_fetch) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 2126 tasks of which 2122 didn't need to be rerun 
and 4 failed.


Can you please help me to fix this kind of fetch failure errors.


Thanks and Regards,
Harinath

________________________________

Notice to recipient: This email is meant for only the intended recipient of the 
transmission, and may be a communication privileged by law, subject to export 
control restrictions or that otherwise contains proprietary information. If you 
receive this email by mistake, please notify us immediately by replying to this 
message and then destroy it and do not review, disclose, copy or distribute it. 
Thank you in advance for your cooperation.
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to