* Re: [gentoo-user] odd emerge problem
2006-08-22 2:55 [gentoo-user] odd emerge problem Adrian
@ 2006-08-22 2:45 ` Zac Medico
2006-08-22 12:42 ` Adrian
2006-08-22 14:01 ` Alan Mckinnon
1 sibling, 1 reply; 4+ messages in thread
From: Zac Medico @ 2006-08-22 2:45 UTC (permalink / raw
To: gentoo-user
-----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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] odd emerge problem
@ 2006-08-22 2:55 Adrian
2006-08-22 2:45 ` Zac Medico
2006-08-22 14:01 ` Alan Mckinnon
0 siblings, 2 replies; 4+ messages in thread
From: Adrian @ 2006-08-22 2:55 UTC (permalink / raw
To: gentoo-user
Greetings all;
Emerge is doing some odd things. Most of the time it works, but when I
try to run
emerge -pv world
I get:
---------------------------------
\x02Mon Aug 21 19:47:13
\x02/usr/portage/distfiles/portage-snapshots
root $ emerge -pv 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
----------------------------
emerge -pv system
works just fine. I have been & currently am installing other things.
I've gotten the same (or a very similar) message when trying to install
or fetch some packages, but I can consistently reproduce this when I
try to do the emerge -pv world. Or anything else with the 'world'.
--------------------------------
\x02Mon Aug 21 19:47:38
\x02/usr/portage/distfiles/portage-snapshots
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
-----------------
and
----------------
\x02Mon Aug 21 19:51:51
\x02/usr/portage/distfiles/portage-snapshots
root $ emerge -f world
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
---------------------------
As always, I am very thankful for any assistance or leads.
Adrian
--
On The Fly Photography -:- Creation From Chaos
On The Fly Photography: http://204EastSouth.com
Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society: http://www.204EastSouth.com/cls
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] odd emerge problem
2006-08-22 2:45 ` Zac Medico
@ 2006-08-22 12:42 ` Adrian
0 siblings, 0 replies; 4+ messages in thread
From: Adrian @ 2006-08-22 12:42 UTC (permalink / raw
To: gentoo-user
You were so correct.
Problem solved.
I'll be checking the file system for corruption.
Thanks so much.
Adrian
On Mon, 21 Aug 2006 19:45:22 -0700
Zac Medico <zmedico@gentoo.org> wrote the words:
> -----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
>
>
>
--
On The Fly Photography -:- Creation From Chaos
On The Fly Photography: http://204EastSouth.com
Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society: http://www.204EastSouth.com/cls
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] odd emerge problem
2006-08-22 2:55 [gentoo-user] odd emerge problem Adrian
2006-08-22 2:45 ` Zac Medico
@ 2006-08-22 14:01 ` Alan Mckinnon
1 sibling, 0 replies; 4+ messages in thread
From: Alan Mckinnon @ 2006-08-22 14:01 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-08-21 at 19:55 -0700, Adrian wrote:
>
> Greetings all;
>
> Emerge is doing some odd things. Most of the time it works, but when
> I
> try to run
>
> emerge -pv world
>
> I get:
> ---------------------------------
> \x02Mon Aug 21 19:47:13
> \x02/usr/portage/distfiles/portage-snapshots
> root $ emerge -pv 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
I was getting a lot of these a week or so ago. I also noted a fair
number of portage/emerge zombie processes showing up in top, and some
others that just hung for no good reason. A workaround was to make sure
no emerges were still running then 'killall emerge' and retry.
That worked. Meanwhile, since a portage update in the last few days the
bug hasn;t shown up again for me.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-22 12:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 2:55 [gentoo-user] odd emerge problem Adrian
2006-08-22 2:45 ` Zac Medico
2006-08-22 12:42 ` Adrian
2006-08-22 14:01 ` Alan Mckinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox