pacman 5 introduced the --files argument (as replacement for pkgfile). The respective short option -F conflicts with pkgbuilder -F when the pb wrapper is used.
Possible replacement: -G (--get), cf. https://github.com/trizen/trizen#get-options--g