Hello. Please, be kind, it's my first Gentoo bug report and my English is not as good as I wish ;) I'm building my new mythtv box and I encountered a circular dependency merging xorg-server and hal. Here is the result: (chroot) / # emerge -pv xorg-server These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] x11-base/xorg-server-1.4.2 USE="dri hal ipv6 sdl xorg -3dfx -debug -dmx -kdrive -minimal (-nptl) -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vga -via -vmware -voodoo -xgi" [ebuild N ] sys-apps/hal-0.5.11-r1 USE="X acpi crypt -apm -debug -dell -disk-partition -doc -laptop (-selinux)" [ebuild N ] dev-python/pyxf86config-0.3.34-r1 [ebuild N ] x11-base/xorg-server-1.4.2 USE="dri hal ipv6 sdl xorg -3dfx -debug -dmx -kdrive -minimal (-nptl) -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vga -via -vmware -voodoo -xgi" * Error: circular dependencies: ('ebuild', '/', 'x11-base/xorg-server-1.4.2', 'merge') depends on ('ebuild', '/', 'sys-apps/hal-0.5.11-r1', 'merge') (hard) ('ebuild', '/', 'sys-apps/hal-0.5.11-r1', 'merge') depends on ('ebuild', '/', 'dev-python/pyxf86config-0.3.34-r1', 'merge') (hard) ('ebuild', '/', 'dev-python/pyxf86config-0.3.34-r1', 'merge') depends on ('ebuild', '/', 'x11-base/xorg-server-1.4.2', 'merge') (hard) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Reproducible: Always Steps to Reproduce: 1. Use ~x86 keyword in /etc/make.conf 2. Have "X" and "hal" in useflags 3. Try to emerge xorg-server or something what needs xorg-server Actual Results: Circular dependencies as showned Expected Results: Merging of xorg-server and hal together with useflags I use emerge --info Portage 2.2_rc1 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r5-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0 Timestamp of tree: Mon, 23 Jun 2008 17:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r6, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.62 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tiscali.nl/" LANG="fr_FR.utf8" LC_ALL="fr_FR.utf8" LDFLAGS="" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa audiofile automount autostart avhi bash-completion bidi binary-drivers bindist bl branding bzip2 cairo caps cdaudio cdb cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css ctype curl dbus directfb directv dri dts dv dvb dvd dvdr dvdread encode exif expat extrafilters fam fbdev ffmpeg fftw firefox flac fortran fr freebox gd gdbm gif gpm gstreamer gtk gtk2 hal hddtemp iconv ieee1394 imlib ipv6 isdnlog java javascript joystick jpeg jpeg2k lame lirc lm_sensors logrotate mad mailwrapper matroska midi mikmod mime mmx mmxext mng modplug mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ntponly nvidia nxclient offensive ogg openal opengl opengl-xvmc openmp pam pcre pdf perl png posix pppd python qt3 quicktime raw readline reflection replaygain samba sdl sensord server session spell spl sse sse2 ssl ssse3 startup-notification svg tcpd theora threads transcode truetype tv_check tv_combiner tv_pick_cgi type1 unicode upnp usb v4l v4l2 vcd vim-syntax vorbis wavpack win32codecs x264 x86 xcomposite xfs xine xml xmlrpc xorg xosd xpm xscreensaver xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Here is a possible workaround : # echo "sys-apps/hal -X" >> /etc/portage/package.use # emerge -pv xorg-server These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-apps/mkfontdir-1.0.4 USE="-debug" 0 kB [ebuild N ] media-fonts/encodings-1.0.2 USE="-debug" 0 kB [ebuild N ] media-fonts/font-alias-1.0.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libXfont-1.3.2 USE="ipv6 -debug" 0 kB [ebuild N ] dev-util/intltool-0.37.1 0 kB [ebuild N ] x11-libs/libXxf86misc-1.0.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libXtst-1.0.3 USE="-debug" 0 kB [ebuild N ] x11-misc/xkeyboard-config-1.3 0 kB [ebuild N ] x11-libs/libXres-1.0.3 USE="-debug" 0 kB [ebuild N ] x11-misc/imake-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-apps/xhost-1.0.2 USE="ipv6 -debug" 96 kB [ebuild N ] x11-libs/libXcomposite-0.4.0 USE="-debug" 0 kB [ebuild N ] app-vim/gtk-syntax-20060423 80 kB [ebuild N ] media-libs/libsdl-1.2.13 USE="X aalib alsa opengl xv -arts -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo -oss -pulseaudio -svga -xinerama" 0 kB [ebuild N ] sys-apps/usbutils-0.73 USE="zlib -network-cron" 0 kB [ebuild N ] dev-libs/libgcrypt-1.4.1 USE="bindist nls -idea" 0 kB [ebuild N ] x11-apps/bdftopcf-1.0.0 USE="-debug" 0 kB [ebuild N ] x11-misc/shared-mime-info-0.40 437 kB [ebuild N ] dev-libs/DirectFB-1.1.1 USE="X gif jpeg mmx png sdl sse truetype v4l v4l2 zlib -debug -fbcon -fusion -sysfs" 0 kB [ebuild N ] sys-fs/cryptsetup-1.0.6 USE="nls -build -dynamic (-selinux)" 0 kB [ebuild N ] x11-libs/cairo-1.6.4 USE="X directfb opengl svg -debug -doc -glitz -test -xcb" 0 kB [ebuild N ] media-fonts/font-adobe-75dpi-1.0.0 USE="X nls" 0 kB [ebuild N ] media-fonts/font-misc-misc-1.0.0 USE="X nls" 0 kB [ebuild N ] media-fonts/font-cursor-misc-1.0.0 USE="X nls" 0 kB [ebuild N ] x11-libs/pango-1.20.3 USE="X -debug -doc" 0 kB [ebuild N ] sys-apps/hal-0.5.11-r1 USE="acpi crypt -X -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 0 kB [ebuild N ] app-misc/hal-info-20080310 0 kB [ebuild N ] x11-base/xorg-server-1.4.2 USE="dri hal ipv6 sdl xorg -3dfx -debug -dmx -kdrive -minimal (-nptl) -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vga -via -vmware -voodoo -xgi" 0 kB [ebuild N ] x11-drivers/xf86-video-vesa-1.3.0 USE="-debug" 0 kB [ebuild N ] x11-drivers/xf86-input-evdev-1.99.2-r2 USE="-debug" 0 kB [ebuild N ] x11-drivers/xf86-input-keyboard-1.3.1 USE="-debug" 0 kB [ebuild N ] x11-drivers/xf86-input-mouse-1.3.0 USE="-debug" 0 kB [ebuild N ] x11-drivers/xf86-video-nv-2.1.9 USE="-debug" 0 kB [ebuild N ] x11-drivers/nvidia-drivers-173.14.09 USE="acpi gtk -custom-cflags (-multilib)" 11,319 kB [ebuild N ] x11-libs/gtk+-2.12.10-r1 USE="X jpeg vim-syntax -cups -debug -doc -tiff -xinerama" 0 kB [ebuild N ] media-video/nvidia-settings-171.05 0 kB Total: 36 packages (36 new), Size of downloads: 11,931 kB
*** This bug has been marked as a duplicate of bug 225091 ***