Here is the relevant output. checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XT... configure: error: Package requirements (sm x11 xproto kbproto) were not met: No package 'x11' found No package 'kbproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XT_CFLAGS and XT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/libXt-1.0.2/work/libXt-1.0.2/config.log !!! ERROR: x11-libs/libXt-1.0.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 316: Called x-modular_src_configure x-modular.eclass, line 303: Called econf '--prefix=/usr' '--datadir=/usr/share' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.15-23-k7 i686) ================================================================= System uname: 2.6.15-23-k7 i686 Mobile AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS="-O2 -pipe -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_CA.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X X509 Xaw3d a52 aac aalib acpi alsa apache2 arts asf asm async automount avahi avi bash-completion berkdb bitmap-fonts bl bootsplash branding bzip2 cairo cddb cdparanoia cdr chroot cjk cli cpudetection crypt cscope ctype cups curlwrappers dbus dhcp doc dri dts dv dvd dvdr dvdread dvi edl eds emboss encode fat fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp gimpprint glitz gnome gnutls gpm gs gstreamer gtk gtk2 hal hfs hpn iconv ieee1394 imagemagick imlib ipod ipv6 isdnlog java javascript jfs joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ldap libcaca libg++ libwww live logitech-mouse logrotate lzo mad matroska md5sum memlimit mikmod mjpeg mmap mmx mmxext mp3 mpeg mplayer multicall musicbrainz nas nautilus ncurses network new-login nfs nls nntp no-htdocs nptl nptlonly nsplugin ntfs offensive ogg oggvorbis on-the-fly-crypt opengl oss pam pcmcia pcre pda pdf pdflib perl png povray ppds pppd python qt quicktime rdesktop readline real reflection reiser4 reiserfs rtc samba sasl sdl session simplexml slp soap sockets speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga syslog t1lib tcpd tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode userlocales v4l v4l2 vcd vidix vim-with-x vorbis vv widescreen wifi win32codecs wmf xanim xcomposite xfs xine xinerama xml xml2 xorg xpm xprint xrandr xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_radeon video_cards_fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
I was running emerge --vuaD xorg-x11; I changed that to just emerge -va xorg-x11 and the order changed, which fixed the error.
Looks like a portage bug if --deep --update breaks the dependency structure such that its RDEPENDs aren't installed before it.
(In reply to comment #2) > Looks like a portage bug if --deep --update breaks the dependency structure > such that its RDEPENDs aren't installed before it. Yeah, the resolver isn't capable of handling all the || ( (modular deps) virtual/x11 ) style circular dependencies... *** This bug has been marked as a duplicate of 133671 ***