Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 11:29:58 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        obrien@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: shells/bash-4.0 port horribly broken
Message-ID:  <20090312112958.4d0cac92.ehaupt@FreeBSD.org>
In-Reply-To: <20090312073556.GA39778@ozzmosis.com>
References:  <20090311210322.GA17971@ozzmosis.com> <20090312073556.GA39778@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > $ 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)'
[root@portjail ~]$ echo $(uptime)
-bash: command substitution: line 26: syntax error near unexpected token `)'
-bash: command substitution: line 26: `uptime)'
[root@portjail ~]$ echo $(ls)
-bash: command substitution: line 27: syntax error near unexpected token `)'
-bash: command substitution: line 27: `ls)'

however, backticks work:

[root@portjail ~]$ echo `uname`
++ uname
+ echo FreeBSD
FreeBSD

Also, shells/bash now conflicts with shells/bash-completion which
it shouldn't.

Emanuel

-- 
GnuPG key id: 0x90215DB9         Download: http://pgp.mit.edu:11371
Key fingerprint: 741B C70F 100B F360 0B52  E92D 5F01 7A86 9021 5DB9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090312112958.4d0cac92.ehaupt>