Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339700 - dev-python/jinja and dev-python/sphinx circular dependencies with USE="doc"
Summary: dev-python/jinja and dev-python/sphinx circular dependencies with USE="doc"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 12:31 UTC by André Terpstra
Modified: 2010-10-07 08:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2010-10-04 12:31:52 UTC
updating system with deep dependencies failed on a stable amd64 system, because dev-python/sphinx-1.0.3 and dev-python/jinja-2.5.2 depend on each other

Reproducible: Always

Steps to Reproduce:
1.emerge -uND world
2.
3.
Comment 1 André Terpstra 2010-10-04 12:32:58 UTC
HTPC ~ # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-Intel-R-_Core-TM-_i3_CPU_530_@_2.93GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 04 Oct 2010 11:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
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:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j5"
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://192.168.1.222/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cddb cdr cleartype cli consolekit cracklib crypt css cups cxx dbus doc dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jadetex java jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd tiff tk truetype unicode usb vdpau vorbis x264 xcb xml xorg xrandr xulrunner xv xvid 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 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" CAMERAS=" canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES=" keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS=" intel vesa vga" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

HTPC ~ # emerge -uND world
Calculating dependencies... done!


[nomerge      ] virtual/editor-0 
[nomerge      ]  app-editors/nano-2.2.4  USE="ncurses nls spell unicode -debug -justify -minimal -slang" 
[nomerge      ]   sys-devel/gettext-0.18.1.1-r1 [0.17-r1] USE="acl doc git%* nls openmp -emacs -nocxx" 
[nomerge      ]    dev-vcs/git-1.7.2.2  USE="blksha1 curl doc gtk iconv perl threads tk webdav -bash-completion -cgi -cvs -emacs (-ppcsha1) -subversion -xinetd" 
[nomerge      ]     dev-python/pygtk-2.16.0-r1  USE="doc -examples -test" 
[nomerge      ]      dev-python/pycairo-1.8.10  USE="doc svg -examples -test" 
[nomerge      ]       dev-python/sphinx-1.0.3  USE="doc -latex -test" 
[ebuild  N    ]        dev-python/jinja-2.5.2  USE="doc -examples -i18n -test" 682 kB
[ebuild  N    ]         dev-python/sphinx-1.0.3  USE="doc -latex -test" 2,224 kB

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

 * Error: circular dependencies:

('ebuild', '/', 'dev-python/sphinx-1.0.3', 'merge') depends on
  ('ebuild', '/', 'dev-python/jinja-2.5.2', 'merge') (buildtime)
('ebuild', '/', 'dev-python/jinja-2.5.2', 'merge') depends on
  ('ebuild', '/', 'dev-python/sphinx-1.0.3', 'merge') (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
HTPC ~ 
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-10-04 12:48:13 UTC
Don't enable USE="doc" globally, it's generally a bad idea.
Comment 3 André Terpstra 2010-10-04 13:03:52 UTC
(In reply to comment #2)
> Don't enable USE="doc" globally, it's generally a bad idea.

thx I will look elsewhere for info about that, if you can give me a hint...
Comment 4 Johan Bergström 2010-10-07 08:53:40 UTC
What Samuli said. Please don't use USE="doc" globally since situations like the one you just experienced are impossible to solve.