There is a fix for the gentoo problem: http://www.gramps-project.org/bugs/view.php?id=2533

It is:

--------------------------------
--- src/docgen/Makefile.am.orig    2008-12-22 13:24:05.000000000 +0100
+++ src/docgen/Makefile.am    2008-12-22 13:24:39.000000000 +0100
@@ -23,11 +23,9 @@
     TextBufDoc.py \
     GtkPrint.py
 
-docgen_DATA = \
+dist_docgen_DATA = \
     gtkprintpreview.glade
 
-dist_docgen_DATA = $(docgen_DATA)
-
 # Clean up all the byte-compiled files
 MOSTLYCLEANFILES = *pyc *pyo

--------------------------------

Looks ok to me although I don't know what it is for. We don't have any docgen anymore I believe.
Anybody reasons not to apply this patch?

Benny