Bug 5382

Summary: WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Keller Eric <keller.eric>
Component: layersAssignee: Saul Wold <sgw>
Status: RESOLVED NOTABUG QA Contact:
Severity: enhancement    
Priority: Low CC: poky.bs.watcher, poky.watcher
Version: 1.5.1   
Target Milestone: ---   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Keller Eric 2013-10-24 21:00:47 UTC
bitbaking core-image-minimal on the dora branch, results in the following fetch warnig:

WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available

using wget results in:

wget ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz                                                                                 
--2013-10-24 22:47:01--  ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
           => ‘uuid-1.6.2.tar.gz’
Resolving ftp.ossp.org (ftp.ossp.org)... 194.97.152.152
Connecting to ftp.ossp.org (ftp.ossp.org)|194.97.152.152|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pkg/lib/uuid ... done.
==> SIZE uuid-1.6.2.tar.gz ... 397048
==> PASV ... couldn't connect to 194.97.152.152 port 41074: Connection refused

apparently, the fetching is not reliable for this ftp... the message: attempting MIRRORS if available, means you could get a mirror alternative for this package, for example:
http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/

unfortunately, I was not able to find any reference for defining any SRC_URI mirror in the yocto reference manual...

regards
-- 
Eric
Comment 1 Keller Eric 2013-10-24 21:10:15 UTC
the same happens for:

wget  http://zlib.net/pigz/pigz-2.3.tar.gz
--2013-10-24 23:02:32--  http://zlib.net/pigz/pigz-2.3.tar.gz
Resolving zlib.net (zlib.net)... 69.73.132.10
Connecting to zlib.net (zlib.net)|69.73.132.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-24 23:02:35 ERROR 404: Not Found.

weather get the http://zlib.net/pigz/pigz-2.3.1.tar.gz version
or rename recipes: meta/recipes-extended/pigz/pigz_2.3.bb into meta/recipes-extended/pigz/pigz_2.3.1.bb

cheers
Comment 2 Saul Wold 2013-10-25 14:42:47 UTC
Depending on what your distro setup is, you can set MIRRORS or PREMIRRORS which 
is in the documentation.  The Poky distro defines these and points them at the 
yoctoproject.org downloads area. In the case of the ossp site, it seems that it 
might have been down or you might have had a connection issue, that file does 
exist there now.  The pigz issue is the reason that we keep a mirror older 
releases since some upstreams just remove older tarballs. We can try talk with 
the upstream maintainers about keeping older files. The 
meta/classes/mirror.bbclass contains a large set of mirrors for recipes

The other option for overriding the using MIRRORS for with a recipe specific 
MIRRORS_pn-pigz = "<some mirror site>
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  
ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/ \n \

In your example it would be MIRRORS_pn-pigz = " 
ftp://ftp.ossp.org/pkg/lib/uuid/ 
http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/"