[oe] [RFC, PATCH] classes/mirrors.bbclass: add mirror for download.osgeo.org
Antonio Ospite
ospite at studenti.unina.it
Tue Mar 29 16:34:43 UTC 2011
The host download.osgeo.org is not reachable from some network/country
because of some routing issue, and this makes the do_fetch task of the
libtiff recipe to fail:
NOTE: Running task 400 of 648 (ID: 8, /home/ao2/Proj/EZX/OE/openembedded/recipes/libtiff/tiff_3.9.4.bb, do_fetch)
NOTE: package tiff-3.9.4+4.0.0beta6-r1: task do_fetch: Started
--2011-03-29 16:57:30-- http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz
Resolving download.osgeo.org... 198.202.74.218
Connecting to download.osgeo.org|198.202.74.218|:80... failed: Connection timed out.
Retrying.
--2011-03-29 17:00:56-- (try: 2) http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz
Connecting to download.osgeo.org|198.202.74.218|:80... failed: Connection timed out.
Retrying.
--2011-03-29 17:04:08-- (try: 3) http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz
Connecting to download.osgeo.org|198.202.74.218|:80... failed: Connection timed out.
Retrying.
--2011-03-29 17:07:20-- (try: 4) http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz
Connecting to download.osgeo.org|198.202.74.218|:80... failed: Connection timed out.
Retrying.
--2011-03-29 17:10:34-- (try: 5) http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz
Connecting to download.osgeo.org|198.202.74.218|:80... failed: Connection timed out.
Giving up.
--2011-03-29 17:13:43-- http://mirrors.openembedded.org/tiff-4.0.0beta6.tar.gz
Resolving mirrors.openembedded.org... 82.197.159.157
Connecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection refused.
--2011-03-29 17:13:43-- http://sources.openembedded.org/tiff-4.0.0beta6.tar.gz
Resolving sources.openembedded.org... 140.211.169.165
Connecting to sources.openembedded.org|140.211.169.165|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-29 17:13:44 ERROR 404: Not Found.
NOTE: package tiff-3.9.4+4.0.0beta6-r1: task Fetch failed: Unable to fetch URL http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz from any source.' failed
ERROR: Task 8 (/home/ao2/Proj/EZX/OE/openembedded/recipes/libtiff/tiff_3.9.4.bb, do_fetch) failed with exit code '1'
ERROR: '/home/ao2/Proj/EZX/OE/openembedded/recipes/libtiff/tiff_3.9.4.bb' failed
Add a reachable mirror for it, so that the tiff recipe can build fine.
Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
---
A less invasive solution would be to change the SRC_URI address directly in
the recipe, but I don't know if that can affects anyone else, or we can even
have a copy of the archive hosted on mirrors.openembedded.org and live with
that until the next release. What is your opinion?
Thanks,
Antonio Ospite
http://ao2.it
classes/mirrors.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/mirrors.bbclass b/classes/mirrors.bbclass
index 71ee5f6..bb1f7cb 100644
--- a/classes/mirrors.bbclass
+++ b/classes/mirrors.bbclass
@@ -52,6 +52,7 @@ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://gd.tuwien.ac.at/utils/adm
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/
http://www.apache.org/dist http://archive.apache.org/dist
+http://download.osgeo.org/ http://download2.osgeo.org/
ftp://.*/.* http://mirrors.openembedded.org/
https?$://.*/.* http://mirrors.openembedded.org/
ftp://.*/.* http://sources.openembedded.org/
--
1.7.4.1
More information about the Openembedded-devel
mailing list