Gentoo Archives: gentoo-devhelp

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

Replies

Subject Author
Re: [gentoo-devhelp] Re: package.env files error: unexpected EOF while looking for matching `}' Michael Orlitzky <michael@××××××××.com>