Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40407 - ant 1.5.x won't emerge because upstream source bz2s are gone
Summary: ant 1.5.x won't emerge because upstream source bz2s are gone
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 13:29 UTC by Amanda Yilmaz
Modified: 2004-02-05 03:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amanda Yilmaz 2004-02-04 13:29:52 UTC
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!
Comment 1 Adrian Almenar 2004-02-04 20:22:50 UTC
can you post emerge info output ?

It works fine for me here.
Comment 2 Adrian Almenar 2004-02-04 20:28:22 UTC
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
Comment 3 Amanda Yilmaz 2004-02-04 22:07:20 UTC
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!
Comment 4 Adrian Almenar 2004-02-05 03:53:04 UTC
Closing.