Can't compile evince-0.4.0-r2. I get this error: Making all in help make[2]: Entering directory `/var/tmp/portage/evince-0.4.0-r1/work/evince-0.4.0/help' if ! test -d el/; then mkdir el/; fi if test -f "C/evince.xml"; then d="../"; else d=".././"; fi; \ (cd el/ && \ `which xml2po` -e -p \ ${d}el/el.po \ ${d}C/evince.xml > evince.xml.tmp && \ cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp) if ! test -d es/; then mkdir es/; fi if ! test -d sr/; then mkdir sr/; fi if test -f "C/evince.xml"; then d="../"; else d=".././"; fi; \ (cd es/ && \ `which xml2po` -e -p \ ${d}es/es.po \ ${d}C/evince.xml > evince.xml.tmp && \ cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp) if test -f "C/evince.xml"; then d="../"; else d=".././"; fi; \ (cd sr/ && \ `which xml2po` -e -p \ ${d}sr/sr.po \ ${d}C/evince.xml > evince.xml.tmp && \ cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp) Traceback (most recent call last): File "/usr/bin/xml2po", line 34, in ? import libxml2 ImportError: No module named libxml2 make[2]: *** [es/evince.xml] Error 1 make[2]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/usr/bin/xml2po", line 34, in ? import libxml2 ImportError: No module named libxml2 make[2]: *** [el/evince.xml] Error 1 Traceback (most recent call last): File "/usr/bin/xml2po", line 34, in ? import libxml2 ImportError: No module named libxml2 make[2]: *** [sr/evince.xml] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evince-0.4.0-r1/work/evince-0.4.0' make: *** [all] Error 2 !!! ERROR: app-text/evince-0.4.0-r1 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. echo app-text/evince ~x86 >> /etc/portage/package.keywords 2. echo app-text/evince >> /etc/portage/package.unmask 2. emerge evince Actual Results: The error above. Expected Results: compile succesfuly. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.13-gentoo-r1 i686) ================================================================= System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa avi berkdb bitmap-fonts cdr crypt cups dbus dvd dvdr eds emboss encode fam foomaticdb fortran gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 jpeg libg++ libwww lirc mad mikmod mono motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
evince depends on gnome-doc-utils, which depends on libxml2, which provides that, so your deps got messed up somehow. Likely a re-emerge of libxml2 will fix it, and if not, a re-emerge of gnome-doc-utils.
reemerging libxml2 fixed this. Now I can compile evince and file-roller. Don't know why this fixed an error, cuz' I've tried to reemerge libxml2 and even gnome-doc-utils earlier and came with nothing... Thanks.