public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thomas Rasch <thomas@macnews.de>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Is my portage broken?
Date: Tue, 17 Sep 2002 20:20:22 +0200	[thread overview]
Message-ID: <20020917202022.2892f8a0.thomas@macnews.de> (raw)

Hello!

I didn't get an answer to this question in the gentoo-user mailinglist,
so it seems to be more tricky than I thought... 

To make it short: I made an emerge rsync, and something didn't
survive...

emerge -up world gives:

Calculating world dependencies  
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1369, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 805, in xcreate
    elif portage.db[portage.root]["vartree"].dbapi.match(x):
  File "/usr/lib/python2.2/site-packages/portage.py", line 2522, in
match
    mydep=dep_expand(origdep,self)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2037, in
dep_expand
    return prefix+cpv_expand(mydep,mydb)+postfix
  File "/usr/lib/python2.2/site-packages/portage.py", line 1970, 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 2481, 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


... and (e.g.) emerge -u portage:

Calculating dependencies -Traceback (most recent call last):
  File "/usr/bin/emerge", line 1379, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 698, in select_files
    if not self.select_dep(portage.root,mykey,arg=x):
  File "/usr/bin/emerge", line 752, in select_dep
    self.create(myk,myparent,"--onlydeps" not in myopts)
  File "/usr/bin/emerge", line 665, in create
    if self.select_dep("/",edepend[0]+" "+edepend[1],myparent=mp):
  File "/usr/bin/emerge", line 748, in select_dep
    self.create(myk,myparent)
  File "/usr/bin/emerge", line 665, in create
    if self.select_dep("/",edepend[0]+" "+edepend[1],myparent=mp):
  File "/usr/bin/emerge", line 748, in select_dep
    self.create(myk,myparent)
  File "/usr/bin/emerge", line 665, in create
    if self.select_dep("/",edepend[0]+" "+edepend[1],myparent=mp):
  File "/usr/bin/emerge", line 721, in select_dep
    myeb=portage.portdb.xmatch("bestmatch-visible",x)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2928, in
xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2939, in
xmatch
   
myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,myk
ey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2925, in
xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2882, in
cp_list
    for x in listdir(self.root+"/"+mycp):
  File "/usr/lib/python2.2/site-packages/portage.py", line 43, in
listdir
    mtime = os.stat(path)[8]
TypeError: stat() argument 1 must be (encoded string without NULL
bytes), not str

Does anyone have a hint on how to solve this? Or at least, how could I
get it back working? Thanks!


Thomas

Famous last words:


             reply	other threads:[~2002-09-17 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17 18:20 Thomas Rasch [this message]
2002-09-18  7:43 ` [gentoo-dev] Is my portage broken? Serge Eric Thiam
2002-09-18 12:44   ` mike
2002-09-18 16:14     ` Thomas Rasch
2002-09-18 17:51       ` mike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020917202022.2892f8a0.thomas@macnews.de \
    --to=thomas@macnews.de \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox