Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 407333

Summary: sys-libs/zlib-1.2.5 - zlib-1.2.5.tar.bz2 fetch fails
Product: Gentoo Linux Reporter: Petr Shatunov <petrosha>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petr Shatunov 2012-03-07 22:17:37 UTC
Hi.

When emerging now stable version of zlib: zlib-1.2.5-r2 it tries to download zlib-1.2.5.tar.bz2 from zlib.com. There is only zlib-1.2.6 version now. So it would be more correct to download from sourceforge.  http://downloads.sourceforge.net/project/libpng/zlib/1.2.5/zlib-1.2.5.tar.bz2
Or somewhere else where all versions are stored.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-07 23:23:19 UTC
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Downloading 'http://www.zlib.net/zlib-1.2.5.tar.bz2'
--2012-03-08 00:20:32--  http://www.zlib.net/zlib-1.2.5.tar.bz2
Resolving www.zlib.net (www.zlib.net)... 69.73.181.135
Connecting to www.zlib.net (www.zlib.net)|69.73.181.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-03-08 00:20:33 ERROR 404: Not Found.

>>> Downloading 'http://www.gzip.org/zlib/zlib-1.2.5.tar.bz2'
--2012-03-08 00:20:33--  http://www.gzip.org/zlib/zlib-1.2.5.tar.bz2
Resolving www.gzip.org (www.gzip.org)... 213.162.54.69
Connecting to www.gzip.org (www.gzip.org)|213.162.54.69|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-03-08 00:20:33 ERROR 404: Not Found.

!!! Couldn't download 'zlib-1.2.5.tar.bz2'. Aborting.

Confirmed, but why don't you try one of our fine mirrors?

$ GENTOO_MIRRORS=http://ftp.snt.utwente.nl/pub/os/linux/gentoo ebuild zlib-1.2.5-r2.ebuild fetch 
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Downloading 'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/zlib-1.2.5.tar.bz2'
--2012-03-08 00:21:45--  http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/zlib-1.2.5.tar.bz2
Resolving ftp.snt.utwente.nl (ftp.snt.utwente.nl)... 130.89.149.20, 2001:610:1908:a000::149:20
Connecting to ftp.snt.utwente.nl (ftp.snt.utwente.nl)|130.89.149.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 486374 (475K) [application/x-bzip2]
Saving to: `/world/distfiles/zlib-1.2.5.tar.bz2'

100%[==========================================================================================>] 486,374     2.73M/s   in 0.2s    

2012-03-08 00:21:45 (2.73 MB/s) - `/world/distfiles/zlib-1.2.5.tar.bz2' saved [486374/486374]

 * zlib-1.2.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
 * checking ebuild checksums ;-) ...                       [ ok ]
 * checking auxfile checksums ;-) ...                      [ ok ]
 * checking miscfile checksums ;-) ...                     [ ok ]
Comment 2 Petr Shatunov 2012-03-14 21:45:30 UTC
>Confirmed, but why don't you try one of our fine mirrors?

Thank you for a quick reply. I have looked through and have found that it was my mistake. I have missed one charecter in the gentoo mirror address and emerge was telling me that there is no file at the mirror. Oops.

Still as soon as zlib.net is a fallback option it should work too :) I think!