when i try to emerge xfs-sources-2.4.22, this is impossible due to some strange error with downloading the patch file. it IS downloaded (it is my /usr/portage/distfiles), then it starts over and over trying to download it again, ending with a message, that the file could not be downloaded. i added the output of `emerge -uvD xfs-sources`, that you can see what the problem is. Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -uvD xfs-sources 3. Actual Results: i get this output: #]1;##]2;Started emerge on: Oct 29, 2003 16:12:52##]1;##]2; *** emerge --update --verbose --deep --buildpkg world##]1;##]2; >>> emerge (1 of 1) sys-kernel/xfs-sources-2.4.22 to /##]1;##]2; === (1 of 1) Cleaning (sys-kernel/xfs-sources-2.4.22::/usr/portage/sys-kernel/xfs-sources/xfs-sources-2.4.22.ebuild)##]1;##]2; === (1 of 1) Compiling/Packaging (sys-kernel/xfs-sources-2.4.22::/usr/portage/sys-kernel/xfs-sources/xfs-sources-2.4.22.ebuild)#>>> Downloading http://gentoo.inode.at//distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:00-- http://gentoo.inode.at//distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving gentoo.inode.at... 81.223.20.162 Connecting to gentoo.inode.at[81.223.20.162]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,245,184 [application/x-tar] 0K .......... .......... .......... .......... .......... 4% 74.28 KB/s 50K .......... .......... .......... .......... .......... 8% 70.45 KB/s 100K .......... .......... .......... .......... .......... 12% 74.64 KB/s 150K .......... .......... .......... .......... .......... 16% 69.43 KB/s 200K .......... .......... .......... .......... .......... 20% 62.53 KB/s 250K .......... .......... .......... .......... .......... 24% 64.72 KB/s 300K .......... .......... .......... .......... .......... 28% 69.31 KB/s 350K .......... .......... .......... .......... .......... 32% 68.99 KB/s 400K .......... .......... .......... .......... .......... 37% 78.16 KB/s 450K .......... .......... .......... .......... .......... 41% 70.44 KB/s 500K .......... .......... .......... .......... .......... 45% 70.46 KB/s 550K .......... .......... .......... .......... .......... 49% 73.54 KB/s 600K .......... .......... .......... .......... .......... 53% 55.34 KB/s 650K .......... .......... .......... .......... .......... 57% 75.08 KB/s 700K .......... .......... .......... .......... .......... 61% 73.56 KB/s 750K .......... .......... .......... .......... .......... 65% 70.45 KB/s 800K .......... .......... .......... .......... .......... 69% 69.47 KB/s 850K .......... .......... .......... .......... .......... 74% 70.45 KB/s 900K .......... .......... .......... .......... .......... 78% 73.56 KB/s 950K .......... .......... .......... .......... .......... 82% 74.65 KB/s 1000K .......... .......... .......... .......... .......... 86% 54.36 KB/s 1050K .......... .......... .......... .......... .......... 90% 98.12 KB/s 1100K .......... .......... .......... .......... .......... 94% 74.66 KB/s 1150K .......... .......... .......... .......... .......... 98% 70.45 KB/s 1200K .......... ...... 100% 76.17 KB/s 16:13:17 (70.34 KB/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184/1245184] >>> Resuming download... >>> Downloading ftp://ftp.easynet.nl/mirror/gentoo//distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:17-- ftp://ftp.easynet.nl/mirror/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.easynet.nl... 195.86.128.57 Connecting to ftp.easynet.nl[195.86.128.57]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /mirror/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:19 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading http://ftp.easynet.nl/mirror/gentoo//distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:19-- http://ftp.easynet.nl/mirror/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.easynet.nl... 195.86.128.57 Connecting to ftp.easynet.nl[195.86.128.57]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:19-- http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving mirrors.sec.informatik.tu-darmstadt.de... 141.12.220.13 Connecting to mirrors.sec.informatik.tu-darmstadt.de[141.12.220.13]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:19-- ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.oregonstate.edu... 128.193.0.3 Connecting to ftp.oregonstate.edu[128.193.0.3]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:22 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading http://gentoo.gnukorea.org/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:22-- http://gentoo.gnukorea.org/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving gentoo.gnukorea.org... 211.202.2.240 Connecting to gentoo.gnukorea.org[211.202.2.240]:80... connected. HTTP request sent, awaiting response... 404 Not Found Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2'. >>> Resuming download... >>> Downloading ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:23-- ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.rez-gif.supelec.fr... 160.228.152.7 Connecting to ftp.rez-gif.supelec.fr[160.228.152.7]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/Linux/distrib/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:24 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:24-- ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.gtlib.cc.gatech.edu... 130.207.108.134 Connecting to ftp.gtlib.cc.gatech.edu[130.207.108.134]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:41 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:42-- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.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... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:42-- ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.snt.utwente.nl... 130.89.175.1 Connecting to ftp.snt.utwente.nl[130.89.175.1]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/os/linux/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:43 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading http://ftp.gentoo.or.kr/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:43-- http://ftp.gentoo.or.kr/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.gentoo.or.kr... 218.36.126.80 Connecting to ftp.gentoo.or.kr[218.36.126.80]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2'. >>> Resuming download... >>> Downloading http://gentoo.linux.no/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:43-- http://gentoo.linux.no/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving gentoo.linux.no... 193.201.220.90 Connecting to gentoo.linux.no[193.201.220.90]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:43-- ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.tu-clausthal.de... 139.174.2.36 Connecting to ftp.tu-clausthal.de[139.174.2.36]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:46 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading http://mirrors.sunsite.dk/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:46-- http://mirrors.sunsite.dk/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving mirrors.sunsite.dk... 130.225.247.92 Connecting to mirrors.sunsite.dk[130.225.247.92]:80... connected. HTTP request sent, awaiting response... 404 Not Found Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2'. >>> Resuming download... >>> Downloading ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:46-- ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving ftp.dale.ro... 193.231.198.225 Connecting to ftp.dale.ro[193.231.198.225]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles ... No such directory `pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles'. >>> Resuming download... >>> Downloading ftp://gentoo.linux.no/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:48-- ftp://gentoo.linux.no/pub/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving gentoo.linux.no... 193.201.220.90 Connecting to gentoo.linux.no[193.201.220.90]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> SIZE patches-2.4.22-xfs.tar.bz2 ... done. ==> PASV ... done. ==> REST 1245184 ... done. ==> RETR patches-2.4.22-xfs.tar.bz2 ... done. Length: 1,245,184 [0 to go] [ skipping 1200K ] 1200K ,,,,,,,,,, ,,,,,, 100% 0.00 B/s 16:13:49 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' saved [1245184] >>> Resuming download... >>> Downloading ftp://sunsite.dk/mirrors/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:49-- ftp://sunsite.dk/mirrors/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving sunsite.dk... 130.225.247.90 Connecting to sunsite.dk[130.225.247.90]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /mirrors/gentoo/distfiles ... No such directory `mirrors/gentoo/distfiles'. >>> Resuming download... >>> Downloading http://gentoo.oregonstate.edu/distfiles/patches-2.4.22-xfs.tar.bz2 --16:13:50-- http://gentoo.oregonstate.edu/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving gentoo.oregonstate.edu... 128.193.0.3 Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles//patches-2.4.22-xfs.tar.bz2 --16:13:50-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/patches-2.4.22-xfs.tar.bz2 => `/usr/portage/distfiles/patches-2.4.22-xfs.tar.bz2' Resolving distro.ibiblio.org... 152.2.210.109 Connecting to distro.ibiblio.org[152.2.210.109]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. !!! Couldn't download patches-2.4.22-xfs.tar.bz2. Aborting. Calculating world dependencies ## ...done! >>> emerge (1 of 1) sys-kernel/xfs-sources-2.4.22 to / #]1;##]2; *** terminating.##]1;##]2;xterm# Expected Results: xfs-sources should emerge hal packages # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test8-mm1) ================================================================= System uname: 2.6.0-test8-mm1 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fstack-protector -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fstack-protector -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline X gpm tcpd pam ssl python imlib oggvorbis gtk opengl 3dnow cdr dga -nptl dv dvd faad ffmpeg flac gtk2 java javascript lcms matroska md5sum mmx mozilla offensive pic samba slp sse tcltk tiff transcode unicode wmf xfs xosd xvid -apm -arts -kde -gnome -libg++ -motif -qt -sdl -svga -perl -esd"
File corruption, wait for your mirror to sync. I've put a copy at http://dev.gentoo.org/~plasmaroo/patches-2.4.22-xfs.tar.bz2
*** Bug 32319 has been marked as a duplicate of this bug. ***
<quote of bug #31606 comment #18> Hmm. It's still corrupted -> Not Good <tm> 48693a2b90dfd4e21b3e8ca4dd7ee4a1 patches-2.4.22-xfs-OSU.tar.bz2 6940c38612564f9e03736fde8f79c4d3 patches-2.4.22-xfs.tar.bz2 There's a copy of the patches tarball at http://dev.gentoo.org/~plasmaroo/patches-2.4-22-xfs.tar.bz2 [ klieber ] : should be fixed in about an hour, on OSU [ klieber ] : it will take up to 24 for it to fully propogate out from there </quote>