Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41098 - After updating portage fails to execute unpack-stage and stops after fetch
Summary: After updating portage fails to execute unpack-stage and stops after fetch
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 04:19 UTC by Mario Witte
Modified: 2004-05-11 00:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Logfile of "emerge -v --debug gcc" (gcc-emerge.log,2.36 KB, text/plain)
2004-02-11 01:10 UTC, Mario Witte
Details
log of what emerging the new portage does. (portage-build.log,16.03 KB, application/octet-stream)
2004-05-11 00:07 UTC, Clint Silvester
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Witte 2004-02-10 04:19:20 UTC
Yestrday I updated all available packages. The only package I couldn't update was GCC because it failed several times. Unfortunately I don't have a log of the GCC build because I had the update running overnight and didn't keep a log.

Today I noticed that I couldn't use emerge anymore. Some checking with ebuild revealed that portage stop right after executing the "fetch"-stage and won't execute unpack - even if unpack ist directly executed via the ebuild command.

Reproducible: Always
Steps to Reproduce:
1. e.g.: emerge gcc

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-3.3.2-r5 to /
>>> md5 src_uri ;-) gcc-3.3.2.tar.bz2
>>> md5 src_uri ;-) gcc-3.3.2-patches-1.0.tar.bz2
>>> md5 src_uri ;-) gcc-3.3.2-branch-update-20031218.patch.bz2
>>> md5 src_uri ;-) protector-3.3-7.tar.gz
>>> md5 src_uri ;-) gcc-3.3.2-manpages.tar.bz2


Expected Results:  
It should unpack the source packages and start compiling

Output of "emerge info":

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/co
                                                                               
       
nfig /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/sh
                                                                               
       
are-texmf/tex/generic/cmnfie/ /usr/qhare/texmf/tex/platex/cmnfie/ /tar/qmail/col
                                                                               
       
trol"
CONDIG_PROTECT_MASK="/etc/gaonf /eta/ent.d"
CXXDLAGQ="-M2 -mcpu=i684 -pipe"
DISTDIR="/uqr/pmrtaee/distfiles 
FEATUREQ="autoaddcvq ccache sandbox 
GENTOO_MIRRMRS= http://eentmo.opegolstate.edu http:-/diqtro,ibi`lio,org-pub-Linu
                                                                               
       
x/distributions-gentoo"
MAKEOPTQ="-h2"
PKGDIR= /usp/poptage/paakages"
PORTAGE]TMPDIR= /vap/tmp"
PORTDIR="/uqr/pmrtaee"
PORTDIR]OVEPLAY=""
SYNA="rqync8//rqync,gentoo.mrg/eentmo-pmrtaee"
USE="X alsa apaahe2 apm avi beridb `ono`o cpypt cupq dillo dvd encode eqd eto fl
                                                                               
       
ash foomatiadb dreetype gd edbm gif gnome gtk gtk2 etkhtml euile imlib hava jpee
                                                                               
       
 li`g++ libuww mad md5sum memlimit mikmmd mmtif mozilla mpee myqql lcurqes lls m
                                                                               
       
ggvmrbiq opengl oss pam pdflib perl png python qt quicktime readline sdl slang q
                                                                               
       
pell ssl svea taltk tcpd tetex truetype x86 xml0 xmms xt zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-02-11 00:32:13 UTC
does your harddisk work ?
Comment 2 Mario Witte 2004-02-11 01:09:25 UTC
The harddisk works fine.
To make sure I just ran a complete fsck and checked the logfiles for errors, but there is no indication of errors.

I'm attaching a logfile of an "emerge -v --debug gcc", perhaps this sheds some light on my problem.

Comment 3 Mario Witte 2004-02-11 01:10:36 UTC
Created attachment 25387 [details]
Logfile of "emerge -v --debug gcc"
Comment 4 Mario Witte 2004-02-16 23:54:20 UTC
After checking --verbose and --debug outputs and poking around inside the ebuild-scripts I just found a fairly simple solution:
A binary package of portage-2.0.49-r21 (compiled on a different box) installed fine and works. The problem seems to be with the portage-2.0.50-r1 ebuild which doesn't install correctly on this box.
Comment 5 Clint Silvester 2004-05-11 00:05:13 UTC
I also have this problem.  Anything I try to emerge it just acts like i passed -f to emerge.  This also happens when I try ebuild /path/to/ebuild.ebuild unpack.  Same thing, just gives me an MD5 and stops.  I cannot continue using portage I guess.  I have to untar an older portage-rescue to get emerge to work again, and I think I've had some ebuilds that won't emerge because I'm not using a new enough version.  Untarring a binary version is not going to work for the future.  I'd like to know why this happens, and how to fix it.  Can someone offer a suggestion?  what's RESOLVED WORKSFORME mean anyway?  That this doesn't happen to everyone?  Shouldn't be closed since it's obvious it doesn't happen to everyone.  Anyway, what do I need to do to figure out what's going on here.  This started happening to me when I went to  sys-apps/portage-2.0.50-r6.
Comment 6 Clint Silvester 2004-05-11 00:07:34 UTC
Created attachment 31145 [details]
log of what emerging the new portage does.

I don't see anything weird here, but I dunno what I'm looking for.
Comment 7 Clint Silvester 2004-05-11 00:09:44 UTC
emerge info:
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc3-love4)
=================================================================
System uname: 2.6.6-rc3-love4 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/quake3/cpma/server.cfg /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm avi berkdb bonobo cdr crypt cups dga dvd encode fb fbcon foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 guile imlib java joystick jpeg kde kerberos ldap libg++ libwww mad matroska mikmod mmx motif mozilla moznocompose moznoirc mpeg mysql nas ncurses nls nptl nvidia oggvorbis openal opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype usb v4l x86 xinerama xml2 xmms xv xvid zlib"



BTW, I've tried moving make.conf out of the way and using make.conf.example in it's place, and get the same results.