From owner-freebsd-ports@FreeBSD.ORG Thu Mar 12 21:18:29 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DC391065672 for ; Thu, 12 Mar 2009 21:18:29 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39102.mail.mud.yahoo.com (web39102.mail.mud.yahoo.com [209.191.86.253]) by mx1.freebsd.org (Postfix) with SMTP id DABD58FC16 for ; Thu, 12 Mar 2009 21:18:28 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 3389 invoked by uid 60001); 12 Mar 2009 21:18:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1236892708; bh=rH2dGhpObqCaD7gpj8z0yfyl2dZmgNOCRSGEN49MniA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=EQgQ83Q8Iv4l82wgfoj4DEI2jEd3t3q8oF12nimXBw4fo2tuC8WP+1Aseg3y/bzDUOxC49gTB+moOAhbOBYMPdJbKmvBX4Q0ewLxZm3NN6PNscY/WLqwWPxhx+Py5GUhbE6EgrMet47YpvYgC7y3WuRMETUIdltCqku70mLmG9E= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=ZW9ibUeuiSUO/7g7sr5OzI9ytYbQMbGbDyPSfsqaSGVYk4pnNkcT7MFYb9KJ//q9vP8UKRWdNUO4duEjbrCKbRTbR41Q6wFxEy4Tjw0lQjBlYCYoZiCPJLpd1FKjx31uXSEfHcaYMemB8JoZyRwpDagTc6djIS+eTl/8DS188Ig=; Message-ID: <151637.2537.qm@web39102.mail.mud.yahoo.com> X-YMail-OSG: ALOrYDMVM1nzZoADvabSk.01as8gbmVZ4xLSeWBth6Ej_0hYw7_.R7FTv32wU1Q8gzlZ2ItvEVpqFsMcEyo2zJBJeh87471TSV3FZe83IwTFsO6ktnssXNhl0zKI_Vli6v8a6SsfNcv23HolhF1lm4fyhWQT_c5fS8tdqGk_pnpOXs9VWfLyHcvC_7503A-- Received: from [78.51.25.169] by web39102.mail.mud.yahoo.com via HTTP; Thu, 12 Mar 2009 14:18:28 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Thu, 12 Mar 2009 14:18:28 -0700 (PDT) From: bf To: freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-388893817-1236892708=:2537" Cc: obrien@FreeBSD.org Subject: Re: shells/bash-4.0 port horribly broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 21:18:29 -0000 --0-388893817-1236892708=:2537 Content-Type: text/plain; charset=us-ascii --- On Thu, 3/12/09, bf wrote: > From: bf > Subject: Re: shells/bash-4.0 port horribly broken > To: freebsd-ports@FreeBSD.org > Cc: obrien@FreeBSD.org > Date: Thursday, March 12, 2009, 4:48 PM > Hang on guys, we're looking into it. The upstream > maintainer > confirms that failures in command substitutions are _not_ > the > expected behavior of bash 4.x, that they are not being > observed on > many other systems, and that in the past similar problems > like > this have been connected with problems in bison, so maybe > our use > of system yacc has something to do with it. > > The point about running the testsuite is well-taken. > > b. Yes, I can confirm on my system (8-CURRENT i386), switching the port from system yacc to bison 2.x solves the command substitution problem. Try the attached patch. b. --0-388893817-1236892708=:2537 Content-Type: text/plain; name="bash_diff.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bash_diff.txt" ZGlmZiAtcnVOIGJhc2gub3JpZy9NYWtlZmlsZSBiYXNoL01ha2VmaWxlCi0t LSBiYXNoLm9yaWcvTWFrZWZpbGUJMjAw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