Gentoo Archives: gentoo-devhelp

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] package.env files error: unexpected EOF while looking for matching `}'
Date: Sun, 03 Jun 2012 15:03:34
Message-Id: 4FCB7CBA.708@orlitzky.com
In Reply to: [gentoo-devhelp] package.env files error: unexpected EOF while looking for matching `}' by Nikos Chantziaras
1 On 06/03/2012 08:55 AM, Nikos Chantziaras wrote:
2 > package.env really hates me. It seems I can do nothing useful with it.
3 > I'm trying to remove a compiler flag:
4 >
5 > CFLAGS=${CFLAGS//-flto/}
6 > CXXFLAGS=${CXXFLAGS//-flto/}
7 > LDFLAGS=${LDFLAGS//-flto/}
8 >
9 > However:
10 >
11 > "/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking for
12 > matching `}'
13 > "/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for
14 > matching `}'
15 > "/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for
16 > matching `}'
17 > /"/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking
18 > for matching `}'
19 > "/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for
20 > matching `}'
21 > "/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for
22 > matching `}'
23 >
24 > The string replacement syntax looks correct to me. What am I doing wrong?
25 >
26 >
27
28 I think I ran into this too. Basically, you can wind up with two
29 different kinds of parsers depending on where you stick your file:
30
31 http://bugs.gentoo.org/show_bug.cgi?id=388781
32
33 Looks like you're getting the make.conf-like parser instead of the
34 bashrc one.

Replies