From owner-freebsd-ports@FreeBSD.ORG Thu Mar 12 14:06:09 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 99E4C106567D for ; Thu, 12 Mar 2009 14:06:09 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id C18958FC20 for ; Thu, 12 Mar 2009 14:06:08 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: by bwz8 with SMTP id 8so396902bwz.43 for ; Thu, 12 Mar 2009 07:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lBetkkwm2IqlbHD8OKCdzbh2K+zcAEtxFZRiU6H5lZY=; b=PPSk7H7+D4XcHjgDA/RywS0CbiKq7hvlzCz+6W0VcO8cv+eLR35rKE5MKi6FrZuNiV mRLJeRHOfWl8wmy5zSQuGpuk9It0LR2Rb9KSiU0dQkQIlezbKChyBAS0JGx2N3H+kPq1 1IXWHO+eS4fCDqgB/KfVBwiqIDq75L44OdZ5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=x3+E9wI7WRGBANa1eJBSQY/pDSapPXug5rLKUeBVtk8kzj0ACiwNPktZt8T9jJ8rZu Sybm6Km5JISgK/mj/W0zaAFlDFmzyh56HnOk8b1v0OTMmjOMdpp76hvfam91rncRtsuJ nfk4/LsgU30yoQIy5QDAZ7uBDzAjZcHcLWuoU= MIME-Version: 1.0 Received: by 10.204.57.81 with SMTP id b17mr584035bkh.212.1236866767804; Thu, 12 Mar 2009 07:06:07 -0700 (PDT) In-Reply-To: <76B7C6A4-B380-4224-AF69-03ABB1CE5175@lassitu.de> References: <20090311210322.GA17971@ozzmosis.com> <20090312073556.GA39778@ozzmosis.com> <20090312112958.4d0cac92.ehaupt@FreeBSD.org> <76B7C6A4-B380-4224-AF69-03ABB1CE5175@lassitu.de> Date: Thu, 12 Mar 2009 16:06:07 +0200 Message-ID: <6161f3180903120706y7af9a7efja2d3c669e0f78159@mail.gmail.com> From: "Andrew W. Nosenko" To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@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 14:06:10 -0000 On Thu, Mar 12, 2009 at 1:48 PM, Stefan Bethke wrote: > Am 12.03.2009 um 11:29 schrieb Emanuel Haupt: > >>>> $ sudo make >>>> ===> Vulnerability check disabled, database not found >>>> => bash-4.tar.gz is not in /usr/ports/shells/bash/distinfo. >>>> => Either /usr/ports/shells/bash/distinfo is out of date, or >>>> => bash-4.tar.gz is spelled incorrectly. >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/shells/bash. >>> >>> Update: After a recent ports tree update bash now builds correctly >>> here. >> >> The update still remains broken: >> >> [fooman@portjail ~]$ pkg_info >> bash-static-4.0.10_1 The GNU Project's Bourne Again SHell >> >> [root@portjail ~]$ set -x >> [root@portjail ~]$ echo $(uname) >> -bash: command substitution: line 25: syntax error near unexpected token >> `)' >> -bash: command substitution: line 25: `uname)' > > I also find this rather annoying. I believe that a rather large percentage > of people use bash as their default shell, so moving from 3.2 to 4.0 should > have been preceded by a headsup or an entry in UPDATING. Hmm... But record in UPDATING won't cure the bug itself. Or error in the parsing $ echo $(ls) construct is not a bug? If it is not a bug but intended behavior, then could someone point me to the appropriate part of documentation? -- Andrew W. Nosenko