Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28603

Summary: gentoo-sources-2.4.20-r7 won't merge; patches-2.4.20-gentoo-r{5,7}.tar.bz2 is corrupt
Product: Gentoo Linux Reporter: Jeremy <jsteph415>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: major CC: hansmi
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?t=83533&highlight=
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeremy 2003-09-13 06:03:07 UTC
Portage tries to resume patches-2.4.20-gentoo-r5.tar.bz2 even after it is fully
retrieved.  The result is an infinite loop.  Trying to bunzip2 this file (and
the r7 version) results in a "file ended too soon" error.  Corrupt files
uploaded to mirrors.

Reproducible: Always
Steps to Reproduce:
1. Delete /usr/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
2. emerge -f =gentoo-sources-2.4.20-r7
3.

Actual Results:  
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.4.20-r7 to /
>>> Previously fetched file: linux-2.4.20.tar.bz2 MD5 ;-)
>>> Downloading
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:41-- 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving ftp.gtlib.cc.gatech.edu... done.
Connecting to ftp.gtlib.cc.gatech.edu[130.207.108.134]:21... connected.
Logging in as anonymous ... 
Login incorrect.
>>> Downloading
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:51-- 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving ftp.ussg.iu.edu... done.
Connecting to ftp.ussg.iu.edu[129.79.6.12]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR patches-2.4.20-gentoo-r5.tar.bz2 ... done.
Length: 393,216 (unauthoritative)

100%[============================================================================================>]
393,216      497.41K/s    ETA 00:00

07:57:53 (497.41 KB/s) -
`/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2' saved [393216]

>>> Resuming download...
>>> Downloading
http://csociety-ftp.ecn.purdue.edu/pub/gentoo//distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:53-- 
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving csociety-ftp.ecn.purdue.edu... done.
Connecting to csociety-ftp.ecn.purdue.edu[128.46.156.117]: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://gentoo.mirrors.pair.com//distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:53-- 
http://gentoo.mirrors.pair.com//distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving gentoo.mirrors.pair.com... done.
Connecting to gentoo.mirrors.pair.com[216.92.2.140]: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://gentoo.mirrors.pair.com//distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:53-- 
ftp://gentoo.mirrors.pair.com//distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving gentoo.mirrors.pair.com... done.
Connecting to gentoo.mirrors.pair.com[216.92.2.140]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /distfiles ... done.
==> SIZE patches-2.4.20-gentoo-r5.tar.bz2 ... done.
==> PASV ... done.    ==> REST 393216 ... done.    
==> RETR patches-2.4.20-gentoo-r5.tar.bz2 ... done.
Length: 393,216 [0 to go]

100%[============================================================================================>]
393,216       --.--K/s    ETA --:--

07:57:54 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
saved [393216]

>>> Resuming download...
>>> Downloading
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:57:54-- 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving ftp.gtlib.cc.gatech.edu... done.
Connecting to ftp.gtlib.cc.gatech.edu[130.207.108.134]:21... connected.
Logging in as anonymous ... 
Login incorrect.
>>> Resuming download...
>>> Downloading
ftp://sunsite.dk/mirrors/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:58:04-- 
ftp://sunsite.dk/mirrors/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving sunsite.dk... done.
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://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles//patches-2.4.20-gentoo-r5.tar.bz2
--07:58:06-- 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving distro.ibiblio.org... done.
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.

>>> Resuming download...
>>> Downloading
ftp://gentoo.linux.no/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:58:37-- 
ftp://gentoo.linux.no/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving gentoo.linux.no... done.
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.20-gentoo-r5.tar.bz2 ... done.
==> PASV ... done.    ==> REST 393216 ... done.    
==> RETR patches-2.4.20-gentoo-r5.tar.bz2 ... done.
Length: 393,216 [0 to go]

100%[============================================================================================>]
393,216       --.--K/s    ETA --:--

07:58:49 (0.00 B/s) - `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
saved [393216]

>>> Resuming download...
>>> Downloading
http://gentoo.gnukorea.org/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
--07:58:49--  http://gentoo.gnukorea.org/distfiles/patches-2.4.20-gentoo-r5.tar.bz2
           => `/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'
Resolving gentoo.gnukorea.org... done.
Connecting to gentoo.gnukorea.org[211.202.2.240]:80... connected.
HTTP request sent, awaiting response... 403 Forbidden

Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file
`/usr/portage/distfiles/patches-2.4.20-gentoo-r5.tar.bz2'.

Expected Results:  
After downloading, exit.

Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs fixpackages"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb kde libg++ libwww mad mikmod mmx
mpeg ncurses nls pdflib quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline svga guile X sdl gpm tcpd pam ssl perl python imlib
oggvorbis gtk qt motif cdr scanner cups usb samba xml -arts -esd -gnome tiff
jpeg png gif java hyriand gtk2 opengl"
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-09-13 11:38:21 UTC
this could have something to do with me and plasmaroo working on the 
same thing at the same time, apparently we both uploaded tarballs, but he 
beat me to the cvs commit by a few minutes 
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-09-13 13:08:56 UTC
iggy: your tarball was never used in the ebuild so did nothing wrong :-)

tseng was the one who screwed it [patches-5] up. I've uploaded a fresh non-corrupt copy to the main mirror, and I've also mirror the patches at http://dev.gentoo.org/~plasmaroo

The problem is that I don't know how long it will take it to sync...

*** This bug has been marked as a duplicate of 28579 ***