Ok, so.. I have this: [ebuild N ] sys-devel/gettext-0.14.4 -debug +doc -emacs +nls 0 kB WARNING: Warnings can be ignored. :-) if test "xemacs" != no; then \ set x; \ list='start-po.el po-mode.el po-compat.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS="xemacs" /bin/sh ../../build-aux/elisp-comp "$@" || exit 1; \ else : ; fi xemacs: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory make[3]: *** [elc-stamp] error now I realize that: xemacs: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory is what's causing the failure, which is something different from this bug and I'm fixing seperately. However, my real question here is if this should not be compiled in the first place. Shouldn't -emacs make sure this doesn't compile? That's it.
fixed by exporting EMACS=no