patsubst adds whitespaces preventing the correct file, perl and chrpath to be used. For archlinux package file command fails because of this. /cc @tomo @jm