FYI: "which" program is broken by default on centos-8
Joel A Cohen
Centos 8 'which' installs an alias by default: alias which='(alias; typeset -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
This comes from the which rpm, in /etc/profile.d/which.sh
This breaks in OE, I'm guessing because the shell used doesn't support whatever is going on there. You get a mystifying message about unexpected parentheses.
To fix for the moment, I just got rid of the alias, but is it worth adding a check or something?