Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55889 - emerge -u world -vpt fails
Summary: emerge -u world -vpt fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-02 08:04 UTC by Elan Ruusamäe
Modified: 2004-07-04 07:50 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 Elan Ruusamäe 2004-07-02 08:04:31 UTC
i don't recall any odd changes i did to system, and have no idea what to dig, so i'm glueless. i've synced tree several times, that did not help. so it's broken elsewhere.

# emerge -u world -vpt
These are the packages that I would merge, in reverse order:

Calculating world dependencies
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1097, in xcreate
    if portage.db["/"]["vartree"].dbapi.match(x):
  File "/usr/lib/portage/pym/portage.py", line 4154, in match
    mymatch=match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
  File "/usr/lib/portage/pym/portage.py", line 4080, in cp_list
    mystat=os.stat(self.root+VDB_PATH+"/"+mysplit[0])[ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str


here's emerge info:

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-lck1)
=================================================================
System uname: 2.4.26-lck1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache noinfo sandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts artswrappersuid avi cups dga directfb dvd encode fbcon ggi gif gpm gtk2 imlib javascript jpeg kde ldap libg++ libwww lirc mad maildir md5sum memlimit mmx mozilla mpeg ncurses oggvorbis opengl oss pam perl png quicktime samba sdl slang ssl svga tiff truetype x86 xmms xv zlib"
Comment 1 Elan Ruusamäe 2004-07-02 12:14:20 UTC
ok, figured out that my world file is full of garbage, how to i recover it?
is there need to recover it?

here's copy of my world file:
http://haarber.alkohol.ee/world
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-07-02 18:29:09 UTC
Just delete /var/cache/edb/world and then run /usr/sbin/regenworld. Make sure to check and, if necessary, edit the contents of the new world file afterward.

By the way, you probably want to fsck.
Comment 3 Elan Ruusamäe 2004-07-04 07:50:24 UTC
thanks.

I'm using reiserfs, i don't think i should fsck, right?