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 ) id 1LboiC-00070K-2g for garchives@archives.gentoo.org; Tue, 24 Feb 2009 04:16:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B81F0E02E3; Tue, 24 Feb 2009 04:16:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8F74AE02E3 for ; Tue, 24 Feb 2009 04:16:02 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1BA86B4A52; Tue, 24 Feb 2009 04:16:02 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org 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 23:16:00 -0500 User-Agent: KMail/1.11.0 (Linux/2.6.28; KDE/4.2.0; x86_64; ; ) Cc: Dawid =?utf-8?q?W=C4=99gli=C5=84ski?= References: <200902211827.10563.vapier@gentoo.org> <200902221739.11734.vapier@gentoo.org> <200902230003.24056.cla@gentoo.org> In-Reply-To: <200902230003.24056.cla@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart21693961.zAdL3Ljx17"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200902232316.01127.vapier@gentoo.org> X-Archives-Salt: f8ba369a-0e34-4c04-a150-6296115bc30a X-Archives-Hash: 4107b731c07f100c4d573d217c7db561 --nextPart21693961.zAdL3Ljx17 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 22 February 2009 18:03:23 Dawid W=C4=99gli=C5=84ski wrote: > 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. th= is > > > > 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 \;); > > > > shift 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. > > 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/environment: 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/environment: line 2989: `= =20 > ;;' * * ERROR: x11-libs/wxGTK-2.8.9.1-r3 failed. > > All it states is syntax error near double semicolons. this is probably the same issue i pointed out originally. re-emerge bash a= nd=20 it should work. =2Dmike --nextPart21693961.zAdL3Ljx17 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iQIcBAABAgAGBQJJo3SBAAoJEEFjO5/oN/WBFswQAJviZeryw7Tv2YKlCs/Zi7ya oTAczRdg7bjtkIIXkk3OtA6z5Zi4mYw6llIzGGmaoLPfTGtlLQLVyQcE81p3w3zn T3sJLAR2/ue7Ui8wgUCdXxRe8Q0nSTawVXQrV+sXS+0Y7pM0hCSFKz4feggfdNCq CGbhwjrX+zqnVJqDAp8Rsdq51vDKwri8TIad1ke0Ow9K2JPeVIjWEQfZTWqDRNoo 0PyrGIVp3WNuPP0O38pXtmIcPbwmZZxJMHjwU7iMmuSJjfBAuQQIwOFyfWmWJA+L vIeCtBrwviBrB6dZyWettqwe9UTjLTf7RyUgaZ8o4Y7cg9dhlZLB8wauj5YZtzm/ uvlwupTJCeMh+7jBIGooUiPQCECmY2J+2hadMD2rtN/Ek4is+KPDSstkSQDW5px0 vLbZx5sMpP29Ueh9e5Lo9km6FYrxQ61NaGHkUIUpSvz5V2jAWmw2MqzUZTQtnbT0 SHNQu/6mMFyLo0Uspy3Wd8IWt5kWeq1RL2mw6NpPpMkEyU0Wm7pNRPGexWuYA+eO O9seFGTKSTKxxgnFtAEdI2uF5OwyAG78FFkKDWUpqpr/oSITfLEXSGB42aMFIs5W TMQZ+uM+qG44kFjUgUukVyemAzPF4pNez9GT6hndbi73myaVp1emiU4JorKSUVaQ ZAX30gMdH4xZn12+2d38 =eifn -----END PGP SIGNATURE----- --nextPart21693961.zAdL3Ljx17--