From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 18 14:10:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C8EC1065693 for ; Sun, 18 Oct 2009 14:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CAA488FC15 for ; Sun, 18 Oct 2009 14:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9IEA27o043664 for ; Sun, 18 Oct 2009 14:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9IEA21F043663; Sun, 18 Oct 2009 14:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 18 Oct 2009 14:10:02 GMT Resent-Message-Id: <200910181410.n9IEA21F043663@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Weisgerber Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9147106566B; Sun, 18 Oct 2009 14:01:15 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mx1.freebsd.org (Postfix) with ESMTP id 749298FC14; Sun, 18 Oct 2009 14:01:15 +0000 (UTC) Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id F28653FE4A9; Sun, 18 Oct 2009 16:01:13 +0200 (CEST) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id E92022DB0D4; Sun, 18 Oct 2009 16:01:13 +0200 (CEST) Received: from lorvorc.mips.inka.de (dslb-092-075-109-122.pools.arcor-ip.net [92.75.109.122]) by mail-in-14.arcor-online.net (Postfix) with ESMTPS id C138B28B075; Sun, 18 Oct 2009 16:01:13 +0200 (CEST) Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.3/8.14.3) with ESMTP id n9IE1DvX065072; Sun, 18 Oct 2009 16:01:13 +0200 (CEST) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.14.3/8.14.3/Submit) id n9IE1DJf065071; Sun, 18 Oct 2009 16:01:13 +0200 (CEST) (envelope-from naddy) Message-Id: <200910181401.n9IE1DJf065071@lorvorc.mips.inka.de> Date: Sun, 18 Oct 2009 16:01:13 +0200 (CEST) From: Christian Weisgerber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: obrien@FreeBSD.org Subject: ports/139720: shells/bash: fix $() parsing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Weisgerber List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 14:10:03 -0000 >Number: 139720 >Category: ports >Synopsis: shells/bash: fix $() parsing >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 18 14:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Christian Weisgerber >Release: FreeBSD 7.2-STABLE amd64 >Organization: >Environment: System: FreeBSD lorvorc.mips.inka.de 7.2-STABLE FreeBSD 7.2-STABLE #0: Sun Oct 18 13:39:23 CEST 2009 naddy@lorvorc.mips.inka.de:/usr/obj/usr/src/sys/GENERIC amd64 >Description: $() parsing is still broken in bash 4.0.33 as installed by the port. We need to pass the -y flag to bison. Plain "bison -d parse.y" outputs parse.tab.c instead of y.tab.c, so y.tab.c is never regenerated, and the parser fix from patch 001 is effectively not applied. [Resent as PR so it doesn't get lost again.] >How-To-Repeat: bash -c 'echo $(echo \|)' >Fix: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/shells/bash/Makefile,v retrieving revision 1.115 diff -u -r1.115 Makefile --- Makefile 19 Sep 2009 22:24:28 -0000 1.115 +++ Makefile 18 Oct 2009 13:28:10 -0000 @@ -9,7 +9,7 @@ PORTNAME= bash PATCHLEVEL= 33 PORTVERSION= 4.0.${PATCHLEVEL:S/^0//g} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU:S/$/:bash/} \ ftp://ftp.cwru.edu/pub/%SUBDIR%/:faq @@ -94,7 +94,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" \ - YACC="bison" + YACC="bison -y" .include >Release-Note: >Audit-Trail: >Unformatted: