Just about every time I try to execute emerge, I get the following error: ParseError: Invalid token '' (not '='): /Gentoo/etc/make.conf: line 2 in /Gentoo/etc/make.conf I've looked at my make.conf file, but nothing stands out as wrong to me. Reproducible: Always Steps to Reproduce: 1. Install the attached make.conf 2. Run "emerge --pretend --update world" Actual Results: ParseError: Invalid token '' (not '='): /Gentoo/etc/make.conf: line 2 in /Gentoo/etc/make.conf Expected Results: A summary of what outdated packages would be updated, per usual. Portage 2.2.00.13830-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.7.0 i386) ================================================================= System uname: Darwin-9.7.0-i386-32bit Timestamp of tree: Mon, 20 Jul 2009 03:34:16 +0000 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p24 dev-lang/python: 2.5.4-r2, 2.6.2-r01.1 dev-util/ccache: 2.4-r8 sys-devel/autoconf: 2.13, 2.63-r01.1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2-r00.1, 1.11 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.1 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-march=prescott" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="" DISTDIR="/Gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="" PKGDIR="/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Gentoo/var/tmp" PORTDIR="/Gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 198514 [details] The make.conf that is causing the error.
(In reply to comment #1) > Created an attachment (id=198514) [edit] > The make.conf that is causing the error. > I can reproduce. No clue why this matters, but if you remove line 2 (which the error reported): "# Distributed under the terms of the GNU General Public License v2" everything works as expected.
This should be fixed in the next portage version. In the meantime, please edit your make.conf. I'm not masking this version because it isn't serious enough. 16:01 < darkside_> zmedico: mind looking at 278373, seems like a weird regression in trunk 16:02 < Arfrever> darkside_: Maybe it's related to shlex and unicode... 16:03 < zmedico> looks like the errors I was getting when I tried to feed unicode to shlex 16:03 < zmedico> maybe fixed by latest changes 16:03 < darkside_> ah, ok 16:03 < zmedico> in r13845 16:04 < darkside_> snapshot was just done at the wrong time, maybe? 16:04 < zmedico> yeah, the bug was there for awhile. only triggered in some cases. 16:04 < darkside_> ok, thx for looking 16:04 < zmedico> you're welcome 16:04 < zmedico> codecs.open() returns a unicode stream in some cases and not others 16:05 < zmedico> which can give different results depending on your system
note to self: DOIT!
this should be in 2.2.00.13849, thanks
Works for me with Portage 2.2.00.13849-prefix Thanks.