From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-34429-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LbNMb-0003xz-NU
	for garchives@archives.gentoo.org; Sun, 22 Feb 2009 23:03:58 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 89439E029E;
	Sun, 22 Feb 2009 23:03:56 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 6AC08E029E
	for <gentoo-dev@lists.gentoo.org>; Sun, 22 Feb 2009 23:03:56 +0000 (UTC)
Received: from sapphire (atlnts.org [85.222.29.130])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id 72A9867340
	for <gentoo-dev@lists.gentoo.org>; Sun, 22 Feb 2009 23:03:28 +0000 (UTC)
From: Dawid =?utf-8?q?W=C4=99gli=C5=84ski?= <cla@gentoo.org>
Organization: Gentoo Linux
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells)
Date: Mon, 23 Feb 2009 00:03:23 +0100
User-Agent: KMail/1.9.9
References: <200902211827.10563.vapier@gentoo.org> <200902222330.09925.cla@gentoo.org> <200902221739.11734.vapier@gentoo.org>
In-Reply-To: <200902221739.11734.vapier@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200902230003.24056.cla@gentoo.org>
X-Archives-Salt: c39eac54-8c16-47ce-ad74-b7a97dbc313c
X-Archives-Hash: 67a2a501b495875f7ca372f62d0916d9

On Sunday 22 of February 2009 23:39:11 Mike Frysinger wrote:
> On Sunday 22 February 2009 17:30:09 Dawid W=C4=99gli=C5=84ski wrote:
> > On Sunday 22 of February 2009 00:27:10 Mike Frysinger wrote:
> > > looks like bash-4.0 has broken semicolon escaping in subshells.  this
> > > comes up when using find's -exec like we do in a few places in
> > > eclasses: ls=3D$(find "$1" -name '*.po' -exec basename {} .po \;); sh=
ift
> > > you can work around the issue in a couple of ways:
> > >  - quote the semicolon:
> > > 	.... ';')
> > >  - use backticks
> > > 	`find .... \;`
> > >
> > > i'll tweak the eclasses to use quoting for now
> >
> > FYI. Not only find's semicolons are affected. It also happens in case ;;
> > construction.
>
> embedded case statements in $(...) subshells have always been broken.
> bash-4.0 is supposed to fix that.  if you have some code that is broken,
> please post it so i can push it upstream.
> -mike

It wasn't me who experienced that, but a user:

13:50 < diabel-> <<<          dir /usr/share/doc/wxGTK-2.8.9.1-r3
13:50 < diabel-> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environmen=
t:=20
line 2989: b=C5=82=C4=85d sk=C5=82adni przy nieoczekiwanym znaczniku `;;'
13:50 < diabel-> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environmen=
t:=20
line 2989: `        ;;' * * ERROR: x11-libs/wxGTK-2.8.9.1-r3 failed.

All it states is syntax error near double semicolons.