Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -upv world failing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Mon Dec 15, 2003 9:07 am    Post subject: emerge -upv world failing Reply with quote

I have been trying to get my system to update for almost a week now. Emerge keeps failing with this error:
Code:

bash-2.05b# emerge -upv world

These are the packages that I would merge, in order:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2170, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1011, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 4065, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4076, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4062, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 4145, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/portage/pym/portage.py", line 3759, in aux_get
    myebuild,in_overlay=self.findname2(mycpv)
ValueError: need more than 0 values to unpack


Here is the output of emerge info:
Code:

bash-2.05b# emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-lov
e2)
=================================================================
System uname: 2.6.0-test11-love2 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -mmmx -m3dnow -msse -mfpmath=sse -fforce-addr -ffor
ce-mem -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -mmmx -m3dnow -msse -mfpmath=sse -fforce-addr -ff
orce-mem -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://oss.redundant.com/pub/gentoo http://cudlug.cudenver.edu/g
entoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://mirrors.tds.net/ge
ntoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa avi cdr cups curl directfb dvd esd fbcon ggi gif gpm gtk g
tk2 ipv6 java jpeg mmx mozilla moznoirc mpeg ncurses nptl oggvorbis opengl oss p
am pdflib png python radeon readline spell sse ssl svga truetype usb xface xmms
xv zlib"



Emerge -upv system works fine though, so I don't know why this is failing. I have tried syncing (emerge sync) and even untarring a portage snapshot over the /usr/portage directory. Neither caused any change.

Anything that uses the "world" class seems to fail. (emerge depclean -p fails also).

I am running the ~x86 tree, and do have 2 versions of python installed: python-2.2.3-r5 (2.2) and dev-lang/python-2.3.2-r2 (2.3). I dont know if this is causing any problems or not.

If there is anything that anyone knows that can help me fix this, that would be great.

Thanks,
irasnyd

PS - I have fixed the myret bug on line 3822 in portage.py.
Back to top
View user's profile Send private message
phosphan
n00b
n00b


Joined: 02 Dec 2003
Posts: 46

PostPosted: Mon Dec 15, 2003 11:26 am    Post subject: Reply with quote

what's in your world file?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9532
Location: beyond the rim

PostPosted: Mon Dec 15, 2003 1:18 pm    Post subject: Reply with quote

check your PORTDIR_OVERLAY for misnamed ebuilds
Back to top
View user's profile Send private message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Mon Dec 15, 2003 6:25 pm    Post subject: Reply with quote

My world file was screwed up a while back (there were lines from an XFree86 log in there, I have no idea how they got there) but I edited it and removed them.

I tried commenting out my PORTDIR_OVERLAY in /etc/make.conf, and now everything is working great again, so perhaps I put some bad ebuild in there. Now to go hunt it down.

Thanks very much!!
Ira
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum