Did you build bash yourself? You need bison when compiling it, and make sure to run a: make distclean before building. I also found this issue while building for openbsd/freebsd, but this is due to some problem in the files included with the bash distribution that have to be regenerated specifically for the BSDs.
It should fix after doing make distclean and rebuilding. -- Eduardo Bustamante https://dualbus.me/