emerge -pv xorg-x11 These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] net-fs/samba-3.0.34 USE="acl automount cups fam pam readline -ads -async -caps -debug -doc -examples -ipv6 -ldap -oav -python -quotas (-selinux) -swat -syslog -winbind" [nomerge ] net-print/cups-1.3.10-r1 USE="X acl dbus java jpeg pam samba ssl -avahi -gnutls -kerberos -ldap -perl -php -png -ppds -python -slp -static -tiff -xinetd -zeroconf" LINGUAS="pl -de -en -es -et -fr -he -id -it -ja -sv -zh_TW" [nomerge ] virtual/ghostscript-0 [nomerge ] app-text/ghostscript-gpl-8.64-r3 USE="X cups gtk jpeg2k -bindist -cairo -cjk -djvu" [nomerge ] x11-libs/gtk+-2.14.7-r2 USE="X cups jpeg jpeg2k -debug -doc -tiff -vim-syntax -xinerama" [nomerge ] x11-base/xorg-server-1.5.3-r5 USE="nptl sdl xorg (-3dfx) -debug -dmx -hal -ipv6 -kdrive -minimal -tslib" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="nv nvidia -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) (-imstt) -intel -mach64 -mga -neomagic (-newport) -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l (-vermilion) -vesa -via -virtualbox -vmware -voodoo (-xgi)" [nomerge ] x11-drivers/nvidia-drivers-180.51 USE="gtk (multilib) -acpi -custom-cflags" [nomerge ] media-libs/mesa-7.4.1-r1 USE="nptl -debug -doc -motif -pic -xcb" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" [ebuild N ] media-libs/glew-1.5.1 [ebuild N ] virtual/glu-7.0 [ebuild N ] virtual/opengl-7.0 [ebuild N ] media-libs/mesa-7.4.1-r1 USE="nptl -debug -doc -motif -pic -xcb" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" * Error: circular dependencies: ('ebuild', '/', 'virtual/glu-7.0', 'merge') depends on ('ebuild', '/', 'media-libs/mesa-7.4.1-r1', 'merge') (runtime) ('ebuild', '/', 'media-libs/mesa-7.4.1-r1', 'merge') depends on ('ebuild', '/', 'media-libs/glew-1.5.1', 'merge') (runtime) ('ebuild', '/', 'media-libs/glew-1.5.1', 'merge') depends on ('ebuild', '/', 'virtual/glu-7.0', 'merge') (runtime) ('ebuild', '/', 'virtual/opengl-7.0', 'merge') (runtime) ('ebuild', '/', 'media-libs/mesa-7.4.1-r1', 'merge') (runtime) ('ebuild', '/', 'virtual/opengl-7.0', 'merge') depends on ('ebuild', '/', 'media-libs/mesa-7.4.1-r1', 'merge') (runtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Reproducible: Always Actual Results: Adding >=media-libs/mesa-7.4.1-r1 in /etc/portage/package.mask solves the problem emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-11-generic x86_64) ================================================================= System uname: Linux-2.6.28-11-generic-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 01 May 2009 13:15:01 +0000 app-shells/bash: 4.0_p17-r1 dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -s -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -s -pipe -fomit-frame-pointer -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig cvs distlocks fixpackages nodoc parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.po.opole.pl http://gentoo.prz.rzeszow.pl ftp://mirror.icis.pcz.pl/gentoo/ ftp://gentoo.po.opole.pl" LANG="en_US.UTF-8" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1,-enable-new-dtags,--sort-common,--hash-style=both,--as-needed" LINGUAS="pl" MAKEOPTS="-j5 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa amd64 automount browserplugin bzip2 cdr cdrkit cli cracklib crypt cups dbus divx dri dvd encode fam ffmpeg firefox flac flash gadu gnome gtk gtk+ gtk2 hal iconv isdnlog java jpeg jpeg2k lame linux midi mmx mmxext mp3 mpeg mudflap multilib nautilus nls nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf pl pppd rar readline reflection samba sdl session speedup spl sse sse2 sse3 ssl ssse3 sysfs tcpd theora truetype type1-fonts udev usb userlocales v4l vorbis wma x264 xorg xpm xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This is fixed in CVS. emerge --sync and try again: 01 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild: Move glew RDEPEND to PDEPEND for avoiding circular deps.