That just occurred to me so I installed pkgconf.
It still fails but at a later stage. I’ll have to check that out another day.
config.status: creating config.h config.status: executing depfiles commands config.status: error: in `/var/tmp/pamac-build-andy/lingot/src/lingot-1.1.1': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See `config.log' for more details ==> ERROR: A failure occurred in build(). Aborting...
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text