public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] odd emerge problem
Date: Mon, 21 Aug 2006 19:45:22 -0700	[thread overview]
Message-ID: <44EA6FC2.1020303@gentoo.org> (raw)
In-Reply-To: <20060821195519.496a161c@gentoo-01>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian wrote:
>  root $  emerge --ask -v world
> These are the packages that would be merged, in order:
> Calculating world dependencies
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 3440, in ?
>     if not mydepgraph.xcreate(myaction):
>   File "/usr/bin/emerge", line 1416, in xcreate
>     elif not portage.db["/"]["vartree"].dbapi.match(x):
>   File "/usr/lib/portage/pym/portage.py", line 4665, in match
>     mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
>   File "/usr/lib/portage/pym/portage.py", line 3531, in dep_expand
>     return
> prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
> "/usr/lib/portage/pym/portage.py", line 3694, in cpv_expand if (not
> mydb.cp_list(mykey,use_cache=use_cache)) and virts and
> virts.has_key(mykey): File "/usr/lib/portage/pym/portage.py", line
> 4606, in cp_list
> mystat=os.stat(self.root+VDB_PATH+"/"+mysplit[0])[stat.ST_MTIME]
> TypeError: stat() argument 1 must be (encoded string without NULL
> bytes), not str

It seems that /var/lib/portage/world is corrupt and contains NULL bytes.  You should probably check your filesystem for additional corruption.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE6m/A/ejvha5XGaMRAv4VAKDGVR6akfOrLz8ywPL0c+A4yObW0gCg5BOh
ooFTc2ndsl2KU5jWuuprNBY=
=DRd6
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-08-22  2:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22  2:55 [gentoo-user] odd emerge problem Adrian
2006-08-22  2:45 ` Zac Medico [this message]
2006-08-22 12:42   ` Adrian
2006-08-22 14:01 ` Alan Mckinnon

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=44EA6FC2.1020303@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-user@lists.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