Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Nikos Chantziaras <realnc@...>
Subject: Re: package.env files error: unexpected EOF while looking for matching `}'
Date: Sun, 03 Jun 2012 18:58:49 +0300
On 03/06/12 18:03, Michael Orlitzky wrote:
> On 06/03/2012 08:55 AM, Nikos Chantziaras wrote:
>> package.env really hates me.  It seems I can do nothing useful with it.
>>    I'm trying to remove a compiler flag:
>>
>>     CFLAGS=${CFLAGS//-flto/}
>>     CXXFLAGS=${CXXFLAGS//-flto/}
>>     LDFLAGS=${LDFLAGS//-flto/}
>>
>> However:
>>
>> "/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking for
>> matching `}'
>> "/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for
>> matching `}'
>> "/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for
>> matching `}'
>>    /"/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking
>> for matching `}'
>> "/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for
>> matching `}'
>> "/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for
>> matching `}'
>>
>> The string replacement syntax looks correct to me.  What am I doing wrong?
>>
>>
>
> I think I ran into this too. Basically, you can wind up with two
> different kinds of parsers depending on where you stick your file:
>
>    http://bugs.gentoo.org/show_bug.cgi?id=388781
>
> Looks like you're getting the make.conf-like parser instead of the
> bashrc one.

Simple assignment is the *only* thing that parser can do?



Replies:
Re: Re: package.env files error: unexpected EOF while looking for matching `}'
-- Michael Orlitzky
References:
package.env files error: unexpected EOF while looking for matching `}'
-- Nikos Chantziaras
Re: package.env files error: unexpected EOF while looking for matching `}'
-- Michael Orlitzky
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: package.env files error: unexpected EOF while looking for matching `}'
Next by thread:
Re: Re: package.env files error: unexpected EOF while looking for matching `}'
Previous by date:
Re: package.env files error: unexpected EOF while looking for matching `}'
Next by date:
Re: Re: package.env files error: unexpected EOF while looking for matching `}'


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.