Created attachment 406488 [details] cdk-5.0.20131107:20150711-053546.log Tries to include `fscale.h` before building it. Compiles fine with MAKEOPTS=-j1.
Created attachment 406490 [details] emerge--info.txt
Can you retry with dev-libs/cdk-5.0.20141106 ?
bug still present with current portage gree : dev-libs/cdk-5.0.20160131
https://github.com/ThomasDickey/cdk-snapshots/commit/3ef299f6031770942c6d2e76f00f03a846d6f873#diff-b48650cabc0f502b52865f525765f2d688198f06e0ffb5456c76fabab7f2bfb2R299 @@ -296,7 +296,9 @@ LIB_OBJECT = @LIB_OBJECT@ all sources :: $(AUTO_SRC) -$(OBJECTS) : include/cdk_config.h +# make sure we generate all headers before trying +# to build first source file. +$(OBJECTS) : $(MY_HDR) this should had been fixed in release t20211216, so please close.
resolved by upstream since release 20211216