Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge borked
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Sat Jun 01, 2002 5:11 am    Post subject: emerge borked Reply with quote

I came across several people having experienced this problem, but I couldn't find one that had a fix, other than just reinstalling, which isn't a fix. I tried to emerge lyx, walked away, came back and the computer had ran out of ram, swap and had stopped responding. I reset the computer. Now emerge (portage version 1.8.19) doesn't work. Emerge any package prints out one line, then sandbox (from top) takes up 99% of the CPU and starts to suck up RAM resources. So I added FEATURES="-sandbox" to make.conf. Now everything looks like it's working, but every package errors out with:
Code:
>>> Merging foo-bar/gen-app2.4.2 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1314, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 590, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1007, in doebuild
    return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1262, in merge
    mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3000, in merge
    self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2714, in treewalk
    packagecounter=long(globalcounterfile.readline())
ValueError: invalid literal for long():


I've tried to untar the rescue portage and that didn't help. I can't emerge anything to try to fix it. Has anyone been able to fix this? I'm almost totally satisfied with my setup. Enough that if I can't figure this out I'll probably just hand install everything from now on, but it kind of defeats the purpose. Anyways, any help would be appreciated.
Back to top
View user's profile Send private message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Sun Jun 02, 2002 3:20 am    Post subject: followup Reply with quote

Perhaps someone can send me the /usr/lib/python2.2/site-packages/portage.py and /usr/lib/portage/bin/emerge files off their system and I can run a diff on them and see what's changed from what I have? Don't know if this will help, but this is super frustrating and I'm grasping now. A lot of mentions of the problem from other people, yet no fixes.

email: grakker AT tharin.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum