Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39059 - portage 2.0.50_pre19 hangs after file download
Summary: portage 2.0.50_pre19 hangs after file download
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 11:33 UTC by gentoo-bugs
Modified: 2004-01-22 11:51 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 gentoo-bugs 2004-01-22 11:33:47 UTC
I upgraded to portage 2.0.50_pre19 today. Since then package download seems to be a bit broken. When I try to emerge a packet, whose files are not yet download, it starts the download process per wget as usual. When wget finishes, it just hangs, doing nothing (not using CPU for example) until I abort via Ctrl-C. If I start the emerge again (with the file downloaded now), it works fine.
A reproducible package seems to be gpc-20030209.

Reproducible: Always
Steps to Reproduce:
1. rm /usr/portage/distfiles/gpc-20030209.tar.gz
2. emerge gpc (now it will hang after download)
3. Abort via Ctrl-C
4. emerge gpc (now it works)

Actual Results:  
# rm /usr/portage/distfiles/gpc-20030209.tar.gz
# emerge gpc
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/gpc-20030209 to /
>>> Downloading ftp://gentoo.inode.at/source/distfiles/gpc-20030209.tar.gz
--20:28:57--  ftp://gentoo.inode.at/source/distfiles/gpc-20030209.tar.gz
           => `/usr/portage/distfiles/gpc-20030209.tar.gz'
Resolving gentoo.inode.at... 81.223.20.162
Connecting to gentoo.inode.at[81.223.20.162]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /source/distfiles ... done.
==> PASV ... done.    ==> RETR gpc-20030209.tar.gz ... done.
Length: 2,785,765 (unauthoritative)
 
100%[=================================================================================>]
2,785,765    239.44K/s    ETA 00:00
 
(hangs, abort via Ctrl-C)
# emerge gpc
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/gpc-20030209 to /
>>> md5 src_uri ;-) gpc-20030209.tar.gz
...

Expected Results:  
Not hang after download

# emerge info
Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.0-udev)
=================================================================
System uname: 2.6.0-udev i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache nostrip sandbox userpriv"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
ftp://mirror.pudas.net/gentoo http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apache2 apm arts avi berkdb bonobo cdr crypt cups
dedicated dvd dvdr encode esd fbcon foomaticdb gd gdbm gif gnome gpm gtk gtk2
gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla
moznocompose mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex
truetype x86 xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-01-22 11:37:33 UTC
did you try doing a `ps axu` or something and see WHAT was hanging ?
Comment 2 gentoo-bugs 2004-01-22 11:51:09 UTC
Damn, wo invented a lengthy 5 minute FTP timeout? A mirror seemed to have connection problems. After 2-3 minutes I was cconvinced that this couldn't be a connection problem, a "normal" application would have spit out a timeout, but no, it was set to 5 minutes ;) (Anyway perfect timing to get broken when I upgraded to _pre19 ;)

[x] this bug is invalid