[MacPorts] #35352: bash-completion @2.0 broken after upgrade

MacPorts noreply at macports.org
Fri Jul 27 03:26:40 PDT 2012


#35352: bash-completion @2.0 broken after upgrade
----------------------------------+-----------------------------------------
 Reporter:  lars.mai@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.1.2                                
 Keywords:                        |        Port:  bash-completion                      
----------------------------------+-----------------------------------------
 Hi,

 i did some port upgrade outdated lately and my bash completion stopped
 working afterwards. I investigated briefly and noticed that the script in
 /opt/local/share gives errors when sourced manually:

 {{{
 lars at mbp-5:~$ . /opt/local/share/bash-completion/bash_completion
 -bash: declare: -A: invalid option
 declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
 -bash: complete: -D: invalid option
 complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action]
 [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F
 function] [-C command] [name ...]
 }}}

 here's info from port info:
 {{{
 lars at mbp-5:~$ port info bash-completion
 bash-completion @2.0, Revision 1 (sysutils)

 Description:          Programmable completion library for bash. This port
 requires bash >=4.1 and is meant to be used together with the bash port.
 Homepage:             http://bash-completion.alioth.debian.org/

 Runtime Dependencies: bash
 Conflicts with:       bash-completion-devel
 Platforms:            darwin
 License:              GPL-2+
 Maintainers:          raimue at macports.org
 }}}

 and my bash version:

 {{{
 lars at mbp-5:~$ bash --version
 GNU bash, version 4.2.37(2)-release (i386-apple-darwin10.8.0)
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>

 This is free software; you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35352>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list