When you get the message from pikaur:

Read damn arch-wiki before borking your computer
https://wiki.archlinux.org/title/Arch_User_Repository
(Also, don't report any issues to pikaur, if ure seeing this message)

you need to check your base-devel package is installed.

References: