Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 1535
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Justin Stallard <DarkFloyd7@att.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1535 depends on: Show dependency tree
Bug 1535 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-04-04 18:27 0000
I recently upgraded from portage-1.8.9.4 to 1.8.15, then 1.8.16. In both 1.8.15
and 1.8.16, i get the following output at the end of any emerge attempt:

--begin output--

!!! Invalid token (not "=") PATH
Traceback (most recent call last):
  File "/usr/sbin/emerge", line 1263, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/sbin/emerge", line 569, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1003, 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 1258, in merge
    mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2991, in merge
    self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2815, in treewalk
    env_update()	
  File "/usr/lib/python2.2/site-packages/portage.py", line 244, in env_update
    if myconfig.has_key(myspec):
AttributeError: 'NoneType' object has no attribute 'has_key'

--end output--

The reason this is strange is because after emerge exits, the package seems to
have merged successfully.

------- Comment #1 From Seemant Kulleen (RETIRED) 2002-04-04 18:41:17 0000 -------
*** Bug 1536 has been marked as a duplicate of this bug. ***

------- Comment #2 From Daniel Robbins (RETIRED) 2002-04-04 19:58:44 0000 -------
You have a file in /etc/env.d that is causing a parsing error.  Have you been
modifying any files in there?  If not, then we have a package on cvs that is
installing incorrectly-formatted data in there.

------- Comment #3 From Justin Stallard 2002-04-04 20:25:48 0000 -------
I haven't touched anything in there. I could look at the files to see if
there's
anything out of the ordinary, but I don't know what to look for.

------- Comment #4 From Daniel Robbins (RETIRED) 2002-04-07 20:17:02 0000 -------
could you tar up your /etc/env.d directory and attach here or simply email it
to
me?  (drobbins@gentoo.org)

------- Comment #5 From Daniel Robbins (RETIRED) 2002-04-16 02:21:13 0000 -------
Seemant: do you happen to know if karl has fixed his java-config and thus fixed
this bug?

------- Comment #6 From Seemant Kulleen (RETIRED) 2002-04-16 07:54:34 0000 -------
According to bug #1577 karl fixed this.  And now java-config is at 0.2.2 with
even more improvements, so I imagine this fix is in the relatively distant past.

------- Comment #7 From Seemant Kulleen (RETIRED) 2002-04-16 11:07:06 0000 -------
<karltk> seemant: it might be that the newer portages barf of the java
directory
in env.d
<karltk> seemant: ie, that it is a dir, not a file

------- Comment #8 From Seemant Kulleen (RETIRED) 2002-04-16 11:08:01 0000 -------
Is this still an issue, by the way?  Portage is at 1.8.19 for a while now.

------- Comment #9 From Justin Stallard 2002-04-16 16:14:17 0000 -------
All I can say is that since the bug was fixed in java-config, everything has
been working fine for me. 

------- Comment #10 From Seemant Kulleen (RETIRED) 2002-04-16 23:41:29 0000 -------
Great

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug