I get an HTTP 404 when trying to download the source package for klibc. Perhaps it moved to a new location upstream? Reproducible: Always Steps to Reproduce: 1. emerge klibc
Hello, thanks for your report. Since you didn't include your emerge --info nor error output, I must assume that you have a bad GENTOO_MIRRORS value because the file is indeed mirrored on our mirrors. (We mirror the files to exactly prevent this situation for our users) % wget distfiles.gentoo.org/distfiles/klibc-1.5.12.tar.bz2 --2011-03-04 12:15:51-- http://distfiles.gentoo.org/distfiles/klibc-1.5.12.tar.bz2 Resolving distfiles.gentoo.org... 137.226.34.42 Connecting to distfiles.gentoo.org|137.226.34.42|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 492589 (481K) [application/octet-stream] Saving to: `klibc-1.5.12.tar.bz2' 100%[======================================>] 492,589 211K/s in 2.3s 2011-03-04 12:15:54 (211 KB/s) - `klibc-1.5.12.tar.bz2' saved [492589/492589] Despite that, I'll still assign this to the maintainer for review and fixing of SRC_URI.
My apologies. I don't yet have a browser on the machine that was having this problem (new system), so it wasn't so straightforward to include the info. I believe that my GENTOO_MIRRORS setting is OK. Here is the output of emerge --info: Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.37-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-r1-x86_64-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-1.12.14 Timestamp of tree: Fri, 04 Mar 2011 20:00:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1, 3.1.2-r4 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://rsync.us.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gdu gif gpg gpm iconv ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Here's the build log: >>> Downloading 'rsync://rsync.us.gentoo.org/distfiles/klibc-1.5.12.tar.bz2' ------------------------------------------------- Host: rsync21.us.gentoo.org gentoo.chem.wisc.edu Pipe: 100 Mbps CPU: Pentium D 2.80GHz (2x) RAM: 2GB ------------------------------------------------- @ERROR: Unknown module 'distfiles' rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7] >>> Downloading 'http://www.us.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:16-- http://www.us.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.us.kernel.org... 155.98.64.81, 208.69.120.79, 216.104.47.250, ... Connecting to www.us.kernel.org|155.98.64.81|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:16 ERROR 404: Not Found. >>> Downloading 'http://www.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:16-- http://www.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.kernel.org... 149.20.20.133, 204.152.191.37 Connecting to www.kernel.org|149.20.20.133|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:17 ERROR 404: Not Found. >>> Downloading 'http://www.fr.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:17-- http://www.fr.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.fr.kernel.org... 91.121.125.139, 91.121.124.139 Connecting to www.fr.kernel.org|91.121.125.139|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:17 ERROR 404: Not Found. >>> Downloading 'http://www.uk.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:17-- http://www.uk.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.uk.kernel.org... 212.219.56.139, 77.92.68.20, 90.207.225.196, ... Connecting to www.uk.kernel.org|212.219.56.139|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://www.uk.kernel.org/sites/ftp.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 [following] --2011-03-04 16:25:17-- http://www.uk.kernel.org/sites/ftp.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Reusing existing connection to www.uk.kernel.org:80. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:18 ERROR 404: Not Found. >>> Downloading 'http://www.de.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:18-- http://www.de.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.de.kernel.org... 195.71.68.86, 62.201.161.85, 80.237.136.138, ... Connecting to www.de.kernel.org|195.71.68.86|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:18 ERROR 404: Not Found. >>> Downloading 'http://www.at.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:18-- http://www.at.kernel.org/pub/linux/libs/klibc/klibc-1.5.12.tar.bz2 Resolving www.at.kernel.org... 91.121.125.139, 94.125.255.220, 129.143.116.10, ... Connecting to www.at.kernel.org|91.121.125.139|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:19 ERROR 404: Not Found. >>> Downloading 'http://www.uk.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:19-- http://www.uk.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.uk.kernel.org... 77.92.68.20, 90.207.225.196, 94.76.208.156, ... Connecting to www.uk.kernel.org|77.92.68.20|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:19 ERROR 404: Not Found. >>> Downloading 'http://www.at.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:19-- http://www.at.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.at.kernel.org... 94.125.255.220, 129.143.116.10, 147.32.160.17, ... Connecting to www.at.kernel.org|94.125.255.220|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:20 ERROR 404: Not Found. >>> Downloading 'http://www.fr.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:20-- http://www.fr.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.fr.kernel.org... 91.121.124.139, 91.121.125.139 Connecting to www.fr.kernel.org|91.121.124.139|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:20 ERROR 404: Not Found. >>> Downloading 'http://www.us.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:20-- http://www.us.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.us.kernel.org... 208.69.120.79, 216.104.47.250, 216.165.129.139, ... Connecting to www.us.kernel.org|208.69.120.79|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:20 ERROR 404: Not Found. >>> Downloading 'http://www.de.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:20-- http://www.de.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.de.kernel.org... 62.201.161.85, 80.237.136.138, 80.252.110.38, ... Connecting to www.de.kernel.org|62.201.161.85|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:20 ERROR 404: Not Found. >>> Downloading 'http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2' --2011-03-04 16:25:21-- http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.5.12.tar.bz2 Resolving www.kernel.org... 204.152.191.37, 149.20.20.133 Connecting to www.kernel.org|204.152.191.37|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-03-04 16:25:21 ERROR 404: Not Found. !!! Couldn't download 'klibc-1.5.12.tar.bz2'. Aborting. * Fetch failed for 'dev-libs/klibc-1.5.12-r1', Log file: * '/var/tmp/portage/dev-libs/klibc-1.5.12-r1/temp/build.log' When I browse to http://www.us.kernel.org/pub/linux/libs/klibc/, I noticed that the layout of their pages seems to maybe have changed. Perhaps that is the problem?
> GENTOO_MIRRORS="rsync://rsync.us.gentoo.org" Very wrong. You want to pick a mirror from here: http://www.gentoo.org/main/en/mirrors2.xml Or, just leave that variable unset (default) and it will work. Closing bug.
further investigation, yes, you should still fix your GENTOO_MIRRORS value. however, SRC_URI is also incorrect for the ebuilds: -mirror://kernel/linux/libs/klibc/${P}.tar.bz2 +mirror://kernel/linux/libs/klibc/1.5/${P}.tar.bz2
I think this 2 year old bug is not valid anymore.