Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286311 - circular dependencies dev-python/sphinx-0.6.1-r1 & dev-python/jinja2-2.1.1
Summary: circular dependencies dev-python/sphinx-0.6.1-r1 & dev-python/jinja2-2.1.1
Status: RESOLVED DUPLICATE of bug 268805
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2009-09-24 21:14 UTC by Chris Hogevonder
Modified: 2009-09-29 19:51 UTC (History)
2 users (show)

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 Chris Hogevonder 2009-09-24 21:14:27 UTC
dev-python/sphinx-0.6.1-r1 & dev-python/jinja2-2.1.1 have a circular dependencie

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/sphinx or emerge dev-python/jinja2

Actual Results:  
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

[nomerge      ] dev-python/jinja2-2.1.1  USE="doc -examples -i18n -test"
[ebuild  N    ]  dev-python/sphinx-0.6.1-r1  USE="doc -test"
[ebuild  N    ]   dev-python/jinja2-2.1.1  USE="doc -examples -i18n -test"

 * Error: circular dependencies:

('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') depends on
  ('ebuild', '/', 'dev-python/sphinx-0.6.1-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-python/sphinx-0.6.1-r1', 'merge') depends on
  ('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') (buildtime)

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

Portage 2.2_rc40 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5-Roodhaar-AMD64-X2 x86_64)
System uname: Linux-2.6.30-gentoo-r5-Roodhaar-AMD64-X2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-
Timestamp of tree: Thu, 24 Sep 2009 20:00:01 +0000                                                                                
app-shells/bash:     4.0_p28                                                                                                      
dev-java/java-config: 2.1.8-r1                                                                                                    
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                                                    
dev-python/pycrypto: 2.0.1-r8                                                                                                     
dev-util/cmake:      2.6.4                                                                                                        
sys-apps/sandbox:    1.6-r2                                                                                                       
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                                    
sys-devel/binutils:  2.18-r3                                                                                                      
sys-devel/gcc-config: 1.4.1                                                                                                       
sys-devel/libtool:   2.2.6a                                                                                                       
virtual/os-headers:  2.6.27-r2                                                                                                    
CFLAGS="-march=athlon64 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LINGUAS="en nl"
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/kde-testing /usr/local/portage/layman/zugaina /usr/portage/local/overlay"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi aiglx akode akonadi alsa amd64 amr amrnb amrwb ao apache2 ass async audio audiofile automount bash-completion berkdb bluetooth bonjour branding bzip2 cairo cdaudio cdda cddb cdio cdparanoia cdr chm cli consolekit corefonts cracklib crypt cups daap dbus directfb disk-partition djbfft djvu doc dri dts dv dvd dvdnav dvdr dvdread ebook embedded emerald encode exif extrafilters fame ffmpeg flac fluidsynth fontconfig fontforge fortran ftp gadu gd gdbm gif gimp glitz google-gadgets gphoto2 gpm groupwise gs gstreamer gtk hal handbook hdri iconv icotools id3tag ieee1394 imagemagick imlib inkjar ipod isdnlog jadetex java jce jingle joystick jpeg jpeg2k kde4 kipi ladspa lame laptop lastfm latex lcms libcaca libnotify libsamplerate live lm_sensors logitech-mouse lzo mad mdnsresponder-compat meanwhile mjpeg mmx mmxext mng modplug modules mp2 mp3 mp3tunes mp4 mp520 mpeg msn mtp mudflap multilib musepack musicbrainz mysql ncurses nemesi networkmanager nls nptl nptlonly nsplugin ntfs nuv offensive ogg openexr opengl openmp oscar otr pam pch pcre pdf perl phonon plasma plotutils png postscript ppds pppd python qq qt3 qt3support qt4 quicktime rar raw readline reflection reiserfs replytolist rtc samba scanner schroedinger sdl semantic-desktop sensord session smp sndfile solver speex spell spl sql sqlite sse sse2 ssl startup-notification subversion svg swat sysfs tcpd theora threads tidy tiff tk toolbar truetype unicode unsupported unzip upnp usb utempter v4l v4l2 vcd video visualization vorbis wavpack webkit winetools wlm wmf x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="hda-intel usb-audio" 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="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Comment 1 Chris Hogevonder 2009-09-24 21:20:57 UTC
Also, emerging either one of them with --nodeps ans USE="doc" fails, because dev-python/jinga2 needs sphinx for the doc use-flag, and dev-python/sphinx needs jinga for the same use-flag.

Emerging one of them first with USE="-doc" and --nodeps option works as a workaround, after which the other one can be emerged with the doc use-flag followed by a re-emerge of the first with the doc use-flag.
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2009-09-25 17:53:56 UTC
Can't we remove the doc use flag for one of them ? Upstream just had to fix their shit if they want us to carry their doc.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-25 19:45:41 UTC

*** This bug has been marked as a duplicate of bug 268805 ***