Re: [gentoo-user] emerge -Uvp hosed

2003-09-28 Thread Doug Weimer
On Sun, 2003-09-28 at 12:46, Shawn wrote:

>  
> Calculating world dependencies
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 2096, in ?
> if not mydepgraph.xcreate(myaction):
>   File "/usr/bin/emerge", line 996, in xcreate
> if portage.db["/"]["vartree"].dbapi.match(x):
>   File "/usr/lib/python2.2/site-packages/portage.py", line 3193, in match
> mydep=dep_expand(origdep,self)
>   File "/usr/lib/python2.2/site-packages/portage.py", line 2629, in dep_expand
> return prefix+cpv_expand(mydep,mydb)+postfix
>   File "/usr/lib/python2.2/site-packages/portage.py", line 2562, in cpv_expand
> if (not mydb.cp_list(mykey)) and virts and virts.has_key(mykey):
>   File "/usr/lib/python2.2/site-packages/portage.py", line 3145, in cp_list
> mystat=os.stat(self.root+"var/db/pkg/"+mysplit[0])[ST_MTIME]
> TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
> 

Do either of the solutions here:
http://bugs.gentoo.org/show_bug.cgi?id=22701 fix your problem? Since
regenworld didn't work for you, try running 'rm -rf /var/cache/edb/dep/*
&& emerge sync'.

Good Luck,

Doug


--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge -Uvp hosed

2003-09-28 Thread Shawn
When I try to check out what's changed with world my emerge barfs.
Checking groups of packages or just one works fine, but not "world".
I've quickly searched the forums with no result.

I did a regenworld but to no avail. This is what I get:
 
These are the packages that I would merge, in order:
 
Calculating world dependencies
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2096, in ?
if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 996, in xcreate
if portage.db["/"]["vartree"].dbapi.match(x):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3193, in match
mydep=dep_expand(origdep,self)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2629, in dep_expand
return prefix+cpv_expand(mydep,mydb)+postfix
  File "/usr/lib/python2.2/site-packages/portage.py", line 2562, in cpv_expand
if (not mydb.cp_list(mykey)) and virts and virts.has_key(mykey):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3145, in cp_list
mystat=os.stat(self.root+"var/db/pkg/"+mysplit[0])[ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str

Here's emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r5, 2.6.0-test5-mm4)
=
System uname: 2.6.0-test5-mm4 i686 AMD Athlon(tm) XP 2400+
ccache version 2.2 [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config 
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox -ccache userpriv"
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"
SYNC="rsync://www.enodev.com/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb 
slang readline arts tetex aalib bonobo svga java guile mysql sdl gpm tcpd pam perl 
python esd imlib oggvorbis motif opengl mozilla ldap cdr X cups nptl scanner usb sse 
dvd tcltk gtk2 gtk gnome alsa imap libwww maildir sasl ssl -qt -kde"


--
[EMAIL PROTECTED] mailing list