Gentoo's Bugzilla –
Attachment 851224 Details for
Bug 894562app-misc/screen-4.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM): display.c:4034:13: error: call to undeclared function chmod; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]