Imakefile.c:39: error: Imake.tmpl: No such file or directory is preventing kdebase from building as well. There are probably other packages affected.