Install /usr/bin/core_perl must be added to PATH when you run yay. Re-login to fix pod2man not found issue. Clean Build Clean build is effectively git reset --hard origin/HEAD; git clean -fdx before building the package.