[MacPorts] #68638: bash @5.2.15: When a "command not found" situation happens, Bash prints errors and ends with "Abort Trap: 6" instead of printing "Command not found"

MacPorts noreply at macports.org
Sun Apr 28 02:45:18 UTC 2024


#68638: bash @5.2.15: When a "command not found" situation happens, Bash prints
errors and ends with "Abort Trap: 6" instead of printing "Command not
found"
----------------------+----------------------
  Reporter:  some1so  |      Owner:  raimue
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  bash     |
----------------------+----------------------

Comment (by msbit):

 > That seems like it would work until they rev the in-tree gettext in the
 next release. After which it would once again be broken.

 Is there anything specifically in that branch that would cause that? I'm
 able to get a failing build by invoking:

 {{{
 LDFLAGS=-L/opt/local/lib ./configure
 }}}

 and a working build by invoking:

 {{{
 LDFLAGS=-L/opt/local/lib ./configure --with-included-gettext
 }}}

 on each of the following branches/tags

 * devel
 * bash-5.3-alpha
 * bash-5.3-testing

 Test script:

 {{{
 #!/usr/bin/env bash

 set -eu

 git status --porcelain --ignored=matching | grep '^!!' | awk '{print $2}'
 | xargs rm -rf
 git checkout -- .

 LDFLAGS=-L/opt/local/lib ./configure --silent ${@}
 make --jobs 12 --silent
 otool -L bash
 ./bash -l
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68638#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list