I'm bootstrapping a prefix portage on the fresh opensolaris (indiana) 2009.06 on my workstation and sys-apps/file causes a circular dependancy on python although the python USE-flag is unset. Reproducible: Always Steps to Reproduce: 1. follow http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml until code listing "env FEATURES="-collision-protect" emerge --oneshot portage" 2. get circular dependancy Actual Results: portage@heka:/opt/gentoo$ env FEATURES="-collision-protect" emerge --oneshot -p portage These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] sys-apps/portage-2.2.00.13629 USE="-build -doc -epydoc -prefix-chaining (-selinux)" LINGUAS="-pl" [nomerge ] dev-lang/python-2.6.2-r01.1 USE="ncurses readline threads xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -ssl -tk -ucs2 -wininst" [ebuild N ] app-admin/eselect-python-20090606 [ebuild N ] app-admin/eselect-1.1.1-r00.1 USE="-bash-completion -doc" [ebuild N ] sys-apps/file-5.03 USE="-python" [ebuild N ] dev-lang/python-2.6.2-r01.1 USE="ncurses readline threads xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -ssl -tk -ucs2 -wininst" * Error: circular dependencies: ('ebuild', '/', 'app-admin/eselect-1.1.1-r00.1', 'merge') depends on ('ebuild', '/', 'sys-apps/file-5.03', 'merge') (runtime) ('ebuild', '/', 'dev-lang/python-2.6.2-r01.1', 'merge') depends on ('ebuild', '/', 'app-admin/eselect-python-20090606', 'merge') (buildtime) ('ebuild', '/', 'sys-apps/file-5.03', 'merge') depends on ('ebuild', '/', 'dev-lang/python-2.6.2-r01.1', 'merge') (buildtime) ('ebuild', '/', 'app-admin/eselect-python-20090606', 'merge') depends on ('ebuild', '/', 'app-admin/eselect-1.1.1-r00.1', 'merge') (runtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Expected Results: sys-apps/file-5.03 USE="-python" not depending on python and no circular dependancy portage@heka:/opt/gentoo$ emerge --info Portage 2.2.00.13629-prefix (prefix/sunos/solaris/5.11/x86, gcc-4.2.4, unavailable, 5.11 i86pc) ================================================================= System uname: Solaris-2.11-i86pc-i386-32bit Timestamp of tree: Sat, 20 Jun 2009 22:02:01 +0000 app-shells/bash: 4.0_p24 sys-devel/binutils: 2.19.1-r01.1 sys-devel/gcc-config: 1.4.1-r00.2 ACCEPT_KEYWORDS="~x86-solaris" CBUILD="i386-pc-solaris2.11" CFLAGS="" CHOST="i386-pc-solaris2.11" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CPPFLAGS="-I/opt/gentoo//usr/include" CXXFLAGS="" DISTDIR="/opt/gentoo/usr/portage/distfiles" EPREFIX="/opt/gentoo" FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LDFLAGS="-L/opt/gentoo//usr/lib -R/opt/gentoo//usr/lib -L/opt/gentoo//lib -R/opt/gentoo//lib" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" 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="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib midi ncurses prefix readline x86-solaris zlib" 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="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(prefix bugs should goto prefix@gentoo.org and bypass the bug-wranglers completely)
file doesn't depend on anything. However, this circular dependency should have been broken by the code from 1.11: $ emerge --oneshot --nodeps file $ emerge --oneshot --nodeps eselect did you perhaps accidentially skip those?
yepp, my fault, sry... the last time I ran $ for PKG in coreutils findutils tar grep patch gawk make "--nodeps file" "--nodeps eselect"; do emerge --oneshot $PKG || break; done seems like I forgot the last ones this time.