touch tmpl-build.stamp make[3]: *** No rule to make target `tmpl/*.sgml', needed by `sgml-build.stamp'. Stop. make[3]: Leaving directory `/var/tmp/portage/gmime-2.1.15-r1/work/gmime-2.1.15/docs/reference' make[2]: *** [all-recursive] Error 1 Googling for the error throws up the gnome bug http://bugzilla.gnome.org/show_bug.cgi?id=156643 as linked above. It seems to be a bug in gtk-doc.make that is triggered in a few corner cases. Suggested fix: in src_unpack, add: sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \ gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)" This is the patch as in the above linked gnome bug. By patching docs/reference/Makefile.in we avoid having to run automake. This fix works for me.
Fixed in CVS, thanks!