commoncpp2 doesn't compile with recent glibc (I'm using glibc-2.12.1-r1). Reproducible: Always
Created attachment 244277 [details] build log
Created attachment 244279 [details] emerge --info
Created attachment 244313 [details, diff] adds the missing sys/stat.h
On a second thought ... maybe I should've put that HAVE_SYS_STAT_H into the cpp file instead, as it's not header stuff but rather implementation details. (And forgot to CC myself.) Anyway, it compiles with the patch, on an ~x86 with glibc 2.12.1.
The same package has sys/stat.h everywhere and doesn't check for it beforehand, so no need for this either Fixed now