Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336682 - circular deps dev-python/sphinx
Summary: circular deps dev-python/sphinx
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Blocks: 335925
  Show dependency tree
Reported: 2010-09-10 03:36 UTC by Max S. Makarov
Modified: 2010-09-10 05:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Max S. Makarov 2010-09-10 03:36:51 UTC
emerge -av dev-python/sphinx: circular dependency if USE-flag "doc" is turn on.

Reproducible: Always

Steps to Reproduce:
1. doc USE-flag must be active
2. emerge -av dev-python/sphinx

Actual Results:  
[nomerge      ] dev-python/sphinx-0.6.7  USE="doc -latex -test" 
[ebuild  N    ]  dev-python/jinja-2.5  USE="doc -examples -i18n -test" 675 kB
[ebuild  N    ]   dev-python/sphinx-0.6.7  USE="doc -latex -test" 952 kB

Total: 2 packages (2 new), Size of downloads: 1,627 kB

 * Error: circular dependencies:

('ebuild', '/', 'dev-python/jinja-2.5', 'merge') depends on
  ('ebuild', '/', 'dev-python/sphinx-0.6.7', 'merge') (buildtime)
('ebuild', '/', 'dev-python/sphinx-0.6.7', 'merge') depends on
  ('ebuild', '/', 'dev-python/jinja-2.5', 'merge') (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

Expected Results:  
[ebuild  N    ]  dev-python/jinja-2.5  USE="doc -examples -i18n -test" 675 kB
[ebuild  N    ]   dev-python/sphinx-0.6.7  USE="doc -latex -test" 952 kB

localhost ~ # emerge --info dev-python/sphinx
Portage (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-gentoo-r7 i686)
                        System Settings
System uname: Linux-2.6.32-gentoo-r7-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.13
Timestamp of tree: Fri, 10 Sep 2010 03:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
CFLAGS="-O2 -march=k8 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/bangert /usr/local/portage"
USE="3dnow 3dnowext 3gpp X acl alsa bash-completion berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus doc dri dvd dvdr emovix encode fame ffmpeg flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk gtk2 hal iconv id3tag ipv6 ithreads java jpeg jpeg2k kde lame lcms libnotify mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd profile python qt3support qt4 quicktime readline reflection sdl session slang sound spell sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis webkit win32codecs x86 xcomposite xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="php profiler webcommon ide java websvccommon nb harness isupport" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Comment 1 Max S. Makarov 2010-09-10 03:45:47 UTC
I tried to temprary remove doc use-flag for dev-python/jinja package. It's fixed a problem. But jinja installed without documentation. Not very important for, i think.
Comment 2 Max S. Makarov 2010-09-10 03:46:46 UTC
Sorry for my English :)
Comment 3 Zac Medico gentoo-dev 2010-09-10 03:48:11 UTC
 DEPEND=doc? ( >=dev-python/sphinx-0.6 )

Add this setting to /etc/portage/package.use:
 dev-python/jinja -doc

Note that portage-2.1.9 gives a recommendation like this automatically:;a=commit;h=180de572bcf6b247b0f85989e02b265aee33ead2