From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SbDDp-0008Rn-N0 for garchives@archives.gentoo.org; Sun, 03 Jun 2012 16:00:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8226AE072E; Sun, 3 Jun 2012 15:59:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4C63AE072E for ; Sun, 3 Jun 2012 15:59:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id CBED71B4015 for ; Sun, 3 Jun 2012 15:59:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.195 X-Spam-Level: X-Spam-Status: No, score=-1.195 tagged_above=-999 required=5.5 tests=[AWL=-0.185, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bg602jj27peE for ; Sun, 3 Jun 2012 15:59:49 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA5BB1B400A for ; Sun, 3 Jun 2012 15:59:48 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SbDDS-0000lP-HH for gentoo-devhelp@gentoo.org; Sun, 03 Jun 2012 17:59:42 +0200 Received: from athedsl-347278.home.otenet.gr ([85.72.212.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jun 2012 17:59:42 +0200 Received: from realnc by athedsl-347278.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jun 2012 17:59:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-devhelp@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-devhelp] Re: package.env files error: unexpected EOF while looking for matching `}' Date: Sun, 03 Jun 2012 18:58:49 +0300 Organization: Lucas Barks Message-ID: References: <4FCB7CBA.708@orlitzky.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Reply-To: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-347278.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120602 Thunderbird/12.0.1 In-Reply-To: <4FCB7CBA.708@orlitzky.com> X-Archives-Salt: 21c624dc-f547-4fbd-8c56-15b6f47fa9ac X-Archives-Hash: 17cd9580e5ce89e573a8be2bb8e04d84 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?