pkgconfig dep solver requires which

AUTO: -- /usr/lib/rpm/pkgconfigdeps.sh: line 3: which: command not found