When building net-libs/webkit-gtk-0_p40220, I've found that the build fails immediately upon calling emake, as the makefile never creates the "DerivedSources" directory, which is needed for the first file to be built to be placed in. An easy fix for this is to call "mkdir DerivedSources" immediately before emake in the ebuild, which allows the build to proceed. My build logs are attached.
Created attachment 191215 [details] build log
Note that while the build log shows MAKEOPTS=-j5, the build fails with -j1 as well.
emerge --info please.
Created attachment 191255 [details] emerge --info
Still an issue with 1.1.7?
(In reply to comment #5) > Still an issue with 1.1.7? Yes, and the same fix (`mkdir DerivedSources` at the end of src_configure) still works.
This is still an issue with the latest 1.1.10
Jonathan, I've just struggled from the same problem and found the root cause on my system: it's --disable-dependency-tracking enabled system wide. DerivedSources directory is created during dependency checking at ./config.status. I don't see any hints in your build output that you've disabled dependency tracking but may be this idea gives you clues...
I had forgotten that I had the line "enable_dependency_tracking=${enable_dependency_tracking-no}" in my /usr/share/config.site, which is equivalent to passing --disable-dependency-tracking everywhere. So, yes, that does appear to be the cause on my system as well.
closing invalid then, thanks for reporting.