Created attachment 559456 [details] build.log The build fails for dev-util/cppcheck-1.81[htmlreport, pcre, qt5] build.log is attached.
Created attachment 559458 [details] emerge --info output
For what it's worth, unmasking keyworded dev-util/cppcheck-1.86 resolved this issue for me, as its build completed without failure.
x86 stable
I've tested =dev-util/cppcheck-1.85 as well, which has compiled without problems.
Subsequent attempts to build =dev-util/cppcheck-1.81 continued to fail as before.
sparc stable
hppa stable
amd64 stable