Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48688 - Unable to emerge anything - portage crash
Summary: Unable to emerge anything - portage crash
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 07:30 UTC by Robert Muchacki (RETIRED)
Modified: 2004-04-23 02:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Muchacki (RETIRED) gentoo-dev 2004-04-22 07:30:16 UTC
After emergeing anything, I get this:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2599, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1555, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2369, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2491, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 5919, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 5639, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/portage/pym/portage.py", line 630, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 948, in getconfig
    val=lex.get_token()
  File "/usr/lib/python2.3/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.3/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation


I tried the portage-rescue thing, but it didn't work.


Reproducible: Always
Steps to Reproduce:
1. emerge anything
2. crash

Actual Results:
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-04-22 15:58:35 UTC
One of your config files in /etc/env.d is bad. Find the quotation
mark that is missing.
Comment 2 Robert Muchacki (RETIRED) gentoo-dev 2004-04-23 02:20:03 UTC
Ok, fixed. Maybe there should be some tool to check the consistency of the configuration files?