shells/bash-4.0 port horribly broken

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 12 03:30:01 PDT 2009


> > $ 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 at portjail ~]$ pkg_info 
bash-static-4.0.10_1 The GNU Project's Bourne Again SHell

[root at portjail ~]$ set -x
[root at portjail ~]$ echo $(uname)
-bash: command substitution: line 25: syntax error near unexpected token `)'
-bash: command substitution: line 25: `uname)'
[root at portjail ~]$ echo $(uptime)
-bash: command substitution: line 26: syntax error near unexpected token `)'
-bash: command substitution: line 26: `uptime)'
[root at portjail ~]$ echo $(ls)
-bash: command substitution: line 27: syntax error near unexpected token `)'
-bash: command substitution: line 27: `ls)'

however, backticks work:

[root at 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


More information about the freebsd-ports mailing list