Gentoo's Bugzilla –
Attachment 893153 Details for
Bug 895842dev-util/premake-5.0.0_beta2 fails to compile (MUSL-CLANG-SYSTEM): mkstemp.c:76:8: error: call to undeclared function getpid; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]