The line: SRC_URI="http://prdownloads.sourceforge.net/libusb/${P}.tar.gz" in /usr/portage/dev-libs/libusb/libusb-0.1.5.ebuild is incorrect. This link takes one to a list of mirrors, despite the ".gz" extension. Portage is downloading an HTML page and choking when attempting to use it: # emerge libusb Calculating dependencies ...done! >>> emerge dev- libs/libusb-0.1.5 to / >>> Downloading http://www.ibiblio.org/gentoo/distfiles/libusb-0.1.5.tar.gz --11:50:53-- http://www.ibiblio.org/gentoo/distfiles/libusb-0.1.5.tar.gz => `/usr/portage/distfiles/libusb-0.1.5.tar.gz' Resolving www.ibiblio.org... done. Connecting to www.ibiblio.org[152.2.210.81]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8,487 [application/x- tar] 100%[====================================>] 8,487 60.50K/s ETA 00:00 11:50:53 (60.50 KB/s) - `/usr/portage/distfiles/libusb-0.1.5.tar.gz' saved [8487/8487] >>> Downloading http://prdownloads.sourceforge.net/libusb/libusb- 0.1.5.tar.gz --11:50:53-- http://prdownloads.sourceforge.net/libusb/libusb- 0.1.5.tar.gz => `/usr/portage/distfiles/libusb-0.1.5.tar.gz.1' Resolving prdownloads.sourceforge.net... done. Connecting to prdownloads.sourceforge.net[216.136.171.200]:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 8,487 96.37K/s 11:50:53 (96.37 KB/s) - `/usr/portage/distfiles/libusb-0.1.5.tar.gz.1' saved [8487] !!! Couldn't download libusb-0.1.5.tar.gz. Aborting. !!! emerge aborting on /usr/portage/dev-libs/libusb/libusb-0.1.5.ebuild . Here is a patch to the ebuild (cut and paste): ----- --- libusb-0.1.5.ebuild Tue May 7 11:52:55 2002 +++ libusb-0.1.5.ebuild Tue May 7 12:03:51 2002 @@ -5,7 +5,7 @@ S=${WORKDIR}/${P} DESCRIPTION="Userspace access to USB devices" - SRC_URI="http://prdownloads.sourceforge.net/libusb/${P}.tar.gz" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/libusb/${P}.tar.gz" HOMEPAGE="http://libusb.sourceforge.net" DEPEND="virtual/glibc" ----- The copy of the file on Gentoo's ibiblio distribution site is incorrect and must be replaced with the correct version.
Created attachment 879 [details, diff] Sorry, patch didn't paste over correctly. Here it is.
Created attachment 880 [details] New digest if you're interested.
sourceforge recently changed their http download locations. We are currently working on all the bad ebuilds. Thanks for reporting this one