result of: emerge -v darcs is: These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] dev-util/darcs-1.0.9 USE="doc" [nomerge ] dev-lang/ghc-6.4.2 USE="X doc openal opengl -test" [ebuild N ] dev-haskell/haddock-0.8 USE="doc" [ebuild N ] dev-haskell/cabal-1.1.6.2 USE="doc -profile" [ebuild N ] dev-lang/ghc-6.4.2 USE="X doc openal opengl -test" !!! Error: circular dependencies: ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') depends on ('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') (medium) ('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') depends on ('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') (hard) ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (medium-soft) ('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') depends on ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (hard) !!! Note that circular dependencies can often be avoided by temporarily !!! disabling USE flags that trigger optional dependencies. Reproducible: Always Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-suspend2-r2 i686) ================================================================= System uname: 2.6.22-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1.70GHz Timestamp of tree: Wed, 26 Sep 2007 10:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="de_DE.UTF-8" LINGUAS="de en" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi alsa apache2 audiofile berkdb bitmap-fonts bluetooth bonobo bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cscope cups dbus dga directfb doc dri dvd dvdr dvdread eds encode evo exif fbcon ffmpeg firefox flac foomaticdb fortran gcj gd gdbm ggi gif glut gnome gpm gps graphviz gstreamer gtk gtk2 gtkhtml hal icc iconv imagemagick imlib innodb ipv6 isdnlog jabber java jikes joystick jpeg lcms ldap leim libsamplerate libwww mad maildir matroska mbox midi mikmod mmx mng mono motif mp3 mpeg mplayer mudflap mule musepack mysql nas ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp oss pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session slp sndfile speex spell spl sse sse2 ssl svg svga tcl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wmf x86 xine xinerama xml xorg xosd xprint xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev i810 vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try without USE=doc ;) *** This bug has been marked as a duplicate of bug 175808 ***