The error above results from lines like: elif [ -f /etc/redhat-release -a `grep -c "Red Hat" /etc/redhat-release 2>/dev/null` -ne 0 ]; then instead it should be elif [[ -f /etc/redhat-release && `grep -c "Red Hat" /etc/redhat-release 2>/dev/null` -ne 0 ]; then notice the doubled '[[' and ']]' and '&&' instead of '-a', isn't it ? Reproducible: Always Steps to Reproduce: 1. 2. 3.
that isn't a gentoo problem... could you please report it upstream to the alsa developers.
ok, done it (bug 318) of project "alsa-utils"