Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278373 - ParseError: Invalid token '' (not '='): /Gentoo/etc/make.conf with seemingly correct make.conf
Summary: ParseError: Invalid token '' (not '='): /Gentoo/etc/make.conf with seemingly ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High critical (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-20 04:04 UTC by Christopher Warrington (c45207)
Modified: 2009-07-23 10:00 UTC (History)
0 users

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


Attachments
The make.conf that is causing the error. (make.conf,17.34 KB, text/plain)
2009-07-20 04:05 UTC, Christopher Warrington (c45207)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Warrington (c45207) 2009-07-20 04:04:48 UTC
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
Comment 1 Christopher Warrington (c45207) 2009-07-20 04:05:33 UTC
Created attachment 198514 [details]
The make.conf that is causing the error.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-21 21:01:10 UTC
(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.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-21 21:06:14 UTC
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
Comment 4 Fabian Groffen gentoo-dev 2009-07-22 08:05:29 UTC
note to self: DOIT!
Comment 5 Fabian Groffen gentoo-dev 2009-07-22 18:35:14 UTC
this should be in 2.2.00.13849, thanks
Comment 6 Christopher Warrington (c45207) 2009-07-23 10:00:03 UTC
Works for me with Portage 2.2.00.13849-prefix

Thanks.