When I try to emerge gnumeric without a properly set display variable and an xhost localhost,so root and not the user I run X as can access the display, the emerge fails with the following error. make[3]: Entering directory `/var/tmp/portage/gnumeric-1.0.5/work/gnumeric-1.0.5/doc/de' LC_ALL="de_DE" ; export LC_ALL ; ../../src/gnumeric --dump-func-defs=./func.defs Gtk-WARNING **: cannot open display: make[3]: *** [func.defs] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.0.5/work/gnumeric-1.0.5/doc/de' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.0.5/work/gnumeric-1.0.5/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.0.5/work/gnumeric-1.0.5' make: *** [all-recursive-am] Error 2
It during compile it call 'gnumeric' to generate function lists ... If the gnumeric authors do not fix it, not much I can do but check that you are in X when merging ....
i think this is fixed now :)