Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge error, please help
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
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Sat Apr 27, 2002 6:55 am    Post subject: emerge error, please help Reply with quote

Hello all,

I got the following error while trzing to emerge xkeycaps and previously gentoolkit:

>>> original instance of package unmerged safely.
!!! Invalid token (not "=") PATH
Traceback (most recent call last):
File "/usr/bin/emerge", line 1122, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 566, in merge
retval=portage.doebuild(y,"merge",myroot,edebug)
File "/usr/lib/python2.2/site-packages/portage.py", line 1000, 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 1079, in merge
mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 2784, in merge
self.treewalk(mergeroot,myroot,inforoot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 2610, in treewalk
env_update()
File "/usr/lib/python2.2/site-packages/portage.py", line 241, in env_update
if myconfig.has_key(myspec):
AttributeError: 'NoneType' object has no attribute 'has_key'



Can anybody tell me how I could fix it?

Thanks very much.
Back to top
View user's profile Send private message
weasel
n00b
n00b


Joined: 27 Apr 2002
Posts: 17
Location: New York

PostPosted: Sun Apr 28, 2002 7:29 am    Post subject: Reply with quote

I am merging xkeycaps now, and have not run into any problems yet.

When you post something like this it is helpful to include what platform you are running and "exactly" what you did to encounter the error. Another rule of thumb I like to live by is never post something as a "bug" unless you have done some independent testing to first determine if you are not in some way at fault. If you are unsure about where to post a problem try posting to the "All Things Gentoo" board.

So anyway, onto the situation at hand. I am using a PII 266 Dell Lattitude running Gentoo 1.1a for my tests. I had previously not had any X components installed so I needed to build the xfree base first. Since the portage system rocks, I was able to simply do the following:

Code:

cd /usr/portage
emerge x-11-misc/xkeycaps


This installed xkeycaps along with "x-11-base/xfree" which was a dependancy. Since xfree is huge and my processor is sadly dated I am still compiling everything. No errors yet though. I know this does not give you a way to fix your problem, but perhaps if you post some more information about what is going on to produce this error we can find a solution.

Hope it helps,
- W e a s e l
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Sun Apr 28, 2002 4:49 pm    Post subject: Reply with quote

thanks, I sorted the problem out myself - there was a script in /etc/init.d that contained an error so emerge halted when tried to do env-update
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Apr 29, 2002 2:37 pm    Post subject: can you be more specific? Reply with quote

I have the same error, so it would be helpful to know which script and what/where the error was.
Thanks.
Back to top
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Mon Apr 29, 2002 8:08 pm    Post subject: Reply with quote

it was "20java" from /etc/init.d, so I simply removed it and everything works now
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