Check for base-devel before trying to build any AUR package

What do you mean with the statement?

Do you mean the support for AUR in Pamac or the option to install yay from the repo?

In any case the following should clarify if AUR is backed as an option in manjaro

Due to the difference between Arch and Manjaro - AUR can be an outright disaster if used on stable branch.