Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --update crash on portage? (fixed)
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
sedition
n00b
n00b


Joined: 16 Jun 2002
Posts: 5

PostPosted: Thu Jul 18, 2002 12:31 am    Post subject: emerge --update crash on portage? (fixed) Reply with quote

I was performing an update system and the last merged package seems to be portage-2.0.13.

After env-update things started to go crazy:

..snip..

>>> /usr/sbin/env-update -> ../lib/portage/bin/env-update
>>> Database upgrade...
Traceback (most recent call last):
File "/usr/lib/portage/bin/db-update.py", line 4, in ?
import portage
File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
import string,os,types,sys,shlex,shutil,xpak,fcntl,signal,time,missingos
ImportError: dynamic module does not define init function (initfcntl)
Traceback (most recent call last):
File "/usr/lib/portage/bin/db-update.py", line 4, in ?
import portage
File "/usr/lib/python2.2/site-packages/portage.py", line 41, in ?
import md5
ImportError: dynamic module does not define init function (initfcntl)
Traceback (most recent call last):
File "/usr/lib/portage/bin/db-update.py", line 4, in ?
import portage
File "/usr/lib/python2.2/site-packages/portage.py", line 41, in ?
import md5

<..above repeated slightly less than a billion times..>

>>> Database upgrade complete.
>>> Regenerating /etc/ld.so.cache...
>>> sys-apps/portage-2.0.13 merged.
>>> emerge sys-apps/texinfo-4.2-r5 to /
Traceback (most recent call last):
File "/usr/bin/emerge", line 1242, in ?
mytype="binary"
File "/usr/bin/emerge", line 619, in merge
if retval:
File "/usr/lib/python2.2/site-packages/portage.py", line 1037, in doebuild
settings["ECLASSDIR"]=settings["PORTDIR"]+"/eclass"
IOError: [Errno 2] No such file or directory: '/var/cache/edb/dep/dep-texinfo-4.2-r5.ebuild'

...end..

Now when I run emerge I get this (no matter what args)
I think the dep-textinfo may be a redhearring

Traceback (most recent call last):
File "/usr/bin/emerge", line 71, in ?
tmpcmdline.extend(portage.settings["EMERGE_OPTS"].split())
AttributeError: 'module' object has no attribute 'settings'


*squeak*.. Any idea?
Back to top
View user's profile Send private message
sedition
n00b
n00b


Joined: 16 Jun 2002
Posts: 5

PostPosted: Thu Jul 18, 2002 6:02 am    Post subject: Fix. Reply with quote

I was using -oexpensive-optimizations. Looks like I optimized time and md5 right out in the python build.
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