Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39502 - emerge crashes using portage 2.0.50 pre-release
Summary: emerge crashes using portage 2.0.50 pre-release
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 14:12 UTC by Andreas Eriksson
Modified: 2004-01-27 00:02 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 Andreas Eriksson 2004-01-26 14:12:08 UTC
During the final phases of an emerge I get this: (it happens with everything I try to emerge, so I can reproduce it. The things I emerge seem to be work)

>>> Completed installing into /var/tmp/portage/vim-6.2-r5/image/

>>> Merging app-editors/vim-6.2-r5 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/ex -> vim
>>> /usr/bin/vim
>>> /usr/bin/rvim -> vim
>>> /usr/bin/view -> vim
>>> /usr/bin/rview -> vim
>>> /usr/bin/vimdiff -> vim
 * Updating documentation tags in /usr/share/vim/vim62
 * 
 * gvim has now a seperate ebuild, 'emerge gvim' will install gvim
 * 
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2415, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1486, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2297, 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 2419, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 5763, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 5487, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/portage/pym/portage.py", line 598, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 917, 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

Here is my info:

Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc1-love1)
=================================================================
System uname: 2.6.2-rc1-love1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi directfb dvd fbcon gif gpm gtk input_devices_synaptics ipv6 java javascript jpeg mmx mpeg ncurses nptl oggvorbis pam png python quicktime readline samba sdl sse sse2 ssl tcltk tetex tiff truetype video_cards_radeon x86 xml2 xmms zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-01-26 15:11:11 UTC
check /etc/env.d/* for files with unbalanced quotes
Comment 2 Andreas Eriksson 2004-01-27 00:02:50 UTC
oops, sorry.