Hi, I was trying to emerge jedit yesterday, which depends on ant 1.5.4-r1. However, ant failed to emerge, saying that the source tarball couldn't be found on any of the Apache mirrors. The problem is that the ebuild for ant 1.5.4-r1 is looking for a source tarball named apache-ant-1.5.4-src.tar.bz2. However, Apache appears to have removed the bzip2 and gzip versions of the ant 1.5.4 package from its servers. The source for ant 1.5.4 is still available, but only as a zip archive named apache-ant-1.5.4-src.zip. The same problem afflicts the 1.5.3-r5 ebuild. (The 1.6.0 source is still available as bzip2 and gzip archives for now.) The 1.5.x ebuilds would need to be updated to reflect this change by getting the zip archives instead (or, if there's some weird licensing reason that prevents that, by finding another source for the bzip2 versions). The 1.6.0 ebuild should probably also be modified to get the zip version instead, in order to avoid breakage if Apache decides to withdraw the 1.6.0 tarballs in the future. Thanks!
can you post emerge info output ? It works fine for me here.
angmar root # emerge -f /usr/portage/dev-java/ant/ant-1.5.4-r1.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/ant-1.5.4-r1 to / >>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/apache-ant-1.5.4-src.tar.bz2 --00:22:08-- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/apache-ant-1.5.4-src.tar.bz2 => `/home/disk/Gentoo/distfiles/apache-ant-1.5.4-src.tar.bz2' Resolving ftp.snt.utwente.nl... 130.89.175.1 Connecting to ftp.snt.utwente.nl[130.89.175.1]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,537,009 [application/x-tar] 100%[===================================>] 4,537,009 25.87K/s ETA 00:00 00:25:13 (24.42 KB/s) - `/home/disk/Gentoo/distfiles/apache-ant-1.5.4-src.tar.bz2' saved [4537009/4537009] >>> apache-ant-1.5.4-src.tar.bz2 MD5 ;-) >>> md5 src_uri ;-) apache-ant-1.5.4-src.tar.bz2
Sorry, I should have done that from the start (I'm new to Gentoo and am still learning the ropes, as they say...) I would post my emerge output now, except for one thing: this time it worked! The source package was successfully fetched from ftp://mirrors.tds.net. But yesterday it looked like it was trying many different mirrors and couldn't find the package on any of them. Unfortunately I can't reproduce that result now. I think I now understand what really happened: my Portage database was out of date. I did a "mirrorselect -a" followed by an "emerge sync" earlier today before getting a different package, and this probably fixed the problem without my realizing it. I feel really silly now. You can close this bug. Sorry to have wasted your time. Thanks for your help!
Closing.