Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Detecting circular dependencies
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Sun Nov 22, 2009 8:30 pm    Post subject: Detecting circular dependencies Reply with quote

A freshly installed Gentoo... mmm... smells good! Now I want KDE, and emerge complains of circular dependencies
(and advises to temporarily disable USE flags for optional dependencies).

How can I find them?

Thanks,
SxN


Last edited by SxN on Wed Nov 25, 2009 9:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Nov 22, 2009 8:41 pm    Post subject: Reply with quote

post the bottom part of the output (the part that shows all the blocks) of emerge -ptv kde-meta please.

If it's very long paste it on http://pastebin.com and post the URL here please.
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Mon Nov 23, 2009 5:47 am    Post subject: Reply with quote

... lots of
Code:
('ebuild', '/', '<package>', 'merge') (buildtime)|(runtime)|depends on


then:

Code:

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

!!! Multiple package instances with a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/python:2.6

('ebuild', '/', 'dev-lang/python2.6.2-r1', 'merge') pulled in by
dev-lang/python[tk] required by ('ebuild', '/', 'dev-lang/epydoc-3.0.1', 'merge')
(and 45 more)

('installed', '/', 'dev-lang/python2.6.2-r1', 'nomerge') pulled in by
>=dev-lang/python-2 required by ('ebuild', '/', 'app-text/gnome-doc-utils-0.16.1', 'merge')
dev-lang/python required by ('ebuild', '/', 'media-gfx/exiv2-0.18.1', 'merge')
dev-lang/python required by ('ebuild', '/', 'net-fs/samba-3.0.37', 'merge')
(and 42 more)

Explanation:

New USE are correctly set, but --newuse wasn't requested, so an
installed package with incorrect USE happened to get pulled into the
dependency graph. In order to solve this, either specify the --newuse
option or explicitly reinstall dev-lang/python:2.6.


Any spelling mistake is probably mine, as I manually copied from one computer
to another one, using a KVM switch.

I tried --newuse before posting here, made no difference.

Thanks,
SxN
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Mon Nov 23, 2009 11:38 am    Post subject: Reply with quote

This looks like you have changed your USEs or changed the profile ?
looking to the ebuild of epydoc it looks like dev-lang/python[tk] is requiered in case epydoc is built with the X USE, so try to build that first or disable the X flag for this package in case you don´t need the tk frontend.

hope this helps.

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Mon Nov 23, 2009 2:15 pm    Post subject: Reply with quote

The profile was not touched. As for the flags, when I installed Gentoo, at the step explaining the USE flags I stopped, read them and their meaning one by one, then included what I thought necessary for me.

After finishing successfully I went on to install KDE. The documentation suggests to issue
Code:
emerge --ask dbus hal

before KDE. Attempting that, I end up with adding four more USE flags (jadetex, mysql, sql, webkit), which I don't intend to keep. I failed in that emerge anyway, and gave it up (after all, I'm used to the text prompt).

I definitely need tk. I would like to have KDE (was hoping for 4.3.3, but only 4.3.1 is in Portage), Python (I'll install the latest, 2.6.4) with ttk, which requires Tcl/Tk (and I'll install the latest, as well, 8.5.8).

I may have to disable some flags temporarily, and tk may be one of them; I just need to make sure that I won't end up with future conflicts. I guess, here is where I need an expert advise.

Thanks again,
SxN
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Mon Nov 23, 2009 3:20 pm    Post subject: Reply with quote

Quote:
I would like to have KDE (was hoping for 4.3.3, but only 4.3.1 is in Portage)


it is, but is in ~arch.

Quote:
I may have to disable some flags temporarily, and tk may be one of them


yes, it´s the only way when you hit circular deps i guess, apart from masking stuff.
I´m not an expert of course but i would do exactly that : disable some USE flags temporarily and start installing stuff, as you said you can enable the needed useflag later again.

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Mon Nov 23, 2009 9:10 pm    Post subject: Reply with quote

Took out tk, and here is the result
Code:
# emerge -pvt kde-meta

These are the packages that would be merged, in reversed order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/python[tk]"

!!! One of the following packages is required to complete your request:
- dev-lang/python-2.6.2.-r1 (Change USE: +tk)          <***********************
(dependency required by "dev-python/epydoc-3.0.1" [ebuild])
(dependency required by "dev-python/dbus-python-0.83.0-r1" [ebuild])
(dependency required by "dev-python/PyQt4-4.5.4-r4" [ebuild])
(dependency required by "kde-base/pykde4-4.3.1" [ebuild])
(dependency required by "kde-base/plasma-workspace-4.3.1" [ebuild])
(dependency required by "kde-base/kdeplasma-addons" [ebuild])
(dependency required by "kde-base/kde-meta-4.3.1" [ebuild])
(dependency required by "kde-meta" [argument])


Looks like tk is needed after all.

And here is my USE flags collection (tk restored, and the 4 extra flags previously required included: jadetex mysql sql webkit):
Code:
USE="X a52 aac acl acpi alsa apache2 arts bash-completion bzip2 cairo caps cdb cdda cdr cgi cracklib crypt cscope css cups
curl curlwrappers cxx dbase dga directfb djvu doc dri dts dv dvd dvdr encode enscript exif expat fastcgi fbcon ffmpeg fftw
flac fontconfig foomaticdb ftp gd geoip gif gimp ginac gphoto2 gpm gzip hal hardened hddtemp iconv icu idn imagemagick jadetex mysql sql webkit
java java6 javascript jbig joystick jpeg jpeg2k kde lame latex libedit lzo m17n-lib mad matroska mikmode mime mng mp3 mp4
mpeg mplayer musepack ncurses nntp nptl odbc ofx ogg openal openexr opengl pcntl pcre pda pdf perl php plasma plotutils
png posix postgres ppds prelude python qt3 qt4 quicktime raw rdesktop readline samba scanner slang sockets sndfile source
sox speex spell ssl svg svga syslog tcl threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wavpack
win32codecs wmf xattr xine xinerama xml xmlrpc xsl xv xvid zlib"


How do I filter down flags, so as to install KDE and not end up with later issues?

Thanks,
SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Nov 23, 2009 9:38 pm    Post subject: Reply with quote

For KDE4 you need mysql, sql, webkit, mng USE flags, and you need them to upgrade KDE4 whenever there is a new version.

You should change qt3 to qt3support

You can enable the 10.0/desktop profile which will preset most of those USE flags for you, so you won't need to clutter your make.conf.

Generally, the threads USE flag is not needed globally, but if you know that you need it...

In fact, that is the basic rule-of-thumb™ for each USE flag - ideally they should be enabled/disabled only for valid reasons.

Have fun. :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Nov 24, 2009 5:00 pm    Post subject: Reply with quote

FWIW, in your post above I think it's the doc flag on dbus-python which is
pulling in epydoc, which in turn needs python emerged with +tk. I had
some problems with tcl/tk in my last build, so emerged the system without
it; however, that's using Gnome, so there may be something in KDE which
prevents dropping tcl/tk entirely.

Will
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Nov 24, 2009 5:48 pm    Post subject: Reply with quote

Right ok. If you want to set the doc USE flag globally then yes you also need jadetex tk threads USE flags

You can't disable the tk flag and still keep the doc flag.

Either re-enable the tk flag and post the output of
Code:
emerge -uDNptv world


or disable doc jadetex tk threads USE flags.

and rebuild your system
Code:
emerge -uDVav world


Then continue on with KDE and so on...
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Tue Nov 24, 2009 9:18 pm    Post subject: Reply with quote

I started by eliminating one flag at a time, in the order listed above, then reissuing an emerge -pvt kde-meta.

I noticed a different feedback only when I got to doc:
Code:

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

Calculating dependencies  ... ..... ... .... done!


[nomerge      ] kde-base/kde-meta-4.3.1  USE="mysql nls -accessibility (-kdeprefix)"
[nomerge      ]  kde-base/kdegraphics-meta-4.3.1  USE="(-kdeprefix)"
[nomerge      ]   kde-base/thumbnailers-4.3.1  USE="(-aqua) -debug (-kdeprefix)"
[nomerge      ]    kde-base/libkdcraw-4.3.1  USE="(-aqua) -debug (-kdeprefix)"
[nomerge      ]     media-libs/lcms-1.18-r1  USE="jpeg python tiff zlib"
[nomerge      ]      dev-lang/swig-1.3.36  USE="java perl php python tcl tk -R -chicken -clisp -doc -guile -lua -mono -mzscheme -ocaml -octave -pike -ruby"
[ebuild  N    ]       dev-lang/php-5.2.11-r1  USE="apache2 berkdb bzip2 cdb cgi cli crypt curl curlwrappers dbase exif ftp gd gdbm iconv ipv6 ldap libedit mysql ncurses nls odbc pcntl pcre posix postgres readline reflection session sockets spell spl ssl threads truetype unicode xml xmlrpc xsl zlib -adabas -bcmath -birdstep -calendar -cjk -concurrentmodphp -ctype -db2 -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc (-java-external) -json -kerberos -kolab -ldap-sasl -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlwriter -xpm -yaz -zip"
[ebuild  N    ]        www-servers/apache-2.2.14-r1  USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" 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 -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
[ebuild  N    ]         dev-libs/apr-util-1.3.9  USE="berkdb gdbm ldap mysql odbc postgres -doc -freetds -sqlite -sqlite3"
[ebuild  N    ]          dev-db/unixODBC-2.2.12  USE="gnome -qt3"
[ebuild  N    ]           gnome-base/libgnomeui-2.24.1  USE="-doc"
[ebuild  N    ]            gnome-base/libbonoboui-2.24.1  USE="-doc -test"
[ebuild  N    ]             gnome-base/libgnome-2.26.0  USE="branding -debug -doc -esd"
[ebuild  N    ]              gnome-base/gnome-vfs-2.24.1  USE="acl fam hal ipv6 samba ssl -avahi -debug -doc -gnutls -kerberos"
[ebuild  N    ]               net-fs/samba-3.0.37  USE="acl caps cups fam ipv6 ldap pam python readline syslog -ads -async -automount -debug -doc -examples -oav -quotas (-selinux) -swat -winbind"
[ebuild  N    ]                net-print/cups-1.3.10-r2  USE="X acl dbus java jpeg ldap pam perl php png ppds python samba ssl tiff -avahi -gnutls -kerberos -slp -static -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[nomerge      ] kde-base/kde-meta-4.3.1  USE="mysql nls -accessibility (-kdeprefix)"
[nomerge      ]  kde-base/kdemultimedia-meta-4.3.1  USE="(-kdeprefix)"
[nomerge      ]   kde-base/dragonplayer-4.3.1  USE="handbook (-aqua) -debug (-kdeprefix)"
[nomerge      ]    media-libs/xine-lib-1.1.16.3-r1  USE="X a52 aac alsa css directfb dts fbcon flac gnome gtk imagemagick ipv6 mad mng modplug musepack nls opengl samba sdl speex theora truetype v4l vcd vorbis wavpack win32codecs xcb xinerama xv -aalib (-altivec) -dxr3 -esd -jack -libcaca -mmap -oss -pulseaudio (-real) -vidix (-vis) -xvmc"
[ebuild  N    ]     dev-libs/DirectFB-1.2.7  USE="X fbcon gif jpeg png sdl sysfs truetype v4l v4l2 zlib -debug -fusion -mmx -sse"
[ebuild  N    ]      media-libs/libsdl-1.2.13-r1  USE="X alsa audio dga directfb fbcon joystick opengl svga video xinerama xv -aalib -custom-cflags -esd -ggi -libcaca -nas -oss -pulseaudio -tslib"
[nomerge      ] gnome-base/libbonoboui-2.24.1  USE="-doc -test"
[ebuild  N    ]  gnome-base/libgnomecanvas-2.26.0  USE="-debug -doc -test"
[ebuild  N    ]   x11-libs/pango-1.24.5-r1  USE="X -debug -doc -test"
[ebuild  N    ]    x11-libs/cairo-1.8.8  USE="X directfb opengl svg -cleartype -debug -doc -glitz -xcb"
[nomerge      ] kde-base/kde-meta-4.3.1  USE="mysql nls -accessibility (-kdeprefix)"
[nomerge      ]  kde-base/kdepim-meta-4.3.1  USE="(-kdeprefix)"
[nomerge      ]   kde-base/kmail-4.3.1-r1  USE="handbook kontact semantic-desktop (-aqua) -debug (-kdeprefix)"
[nomerge      ]    kde-base/kmailcvt-4.3.1  USE="(-aqua) -debug (-kdeprefix)"
[nomerge      ]     app-crypt/gnupg-2.0.11  USE="bzip2 caps ldap nls -doc -openct -pcsc-lite (-selinux) -smartcard -static"
[ebuild  N    ]      net-misc/curl-7.19.6  USE="idn ipv6 ldap ssl -ares -gnutls -kerberos -libssh2 -nss -test"
[ebuild  N    ]       net-dns/libidn-1.15  USE="java nls -doc -emacs -mono"
[ebuild  N    ]        dev-java/gjdoc-0.7.9-r1  USE="source -xmldoclet"
[ebuild  N    ]         dev-java/antlr-2.7.7  USE="cxx java python source -debug -doc -examples -mono -script"
[ebuild  N    ]         virtual/jre-1.6.0
[ebuild  N    ]          virtual/jdk-1.6.0
[ebuild  N    ]           dev-java/sun-jdk-1.6.0.17  USE="X alsa odbc -derby -doc -examples -jce -nsplugin"
[nomerge      ] kde-base/kde-meta-4.3.1  USE="mysql nls -accessibility (-kdeprefix)"
[nomerge      ]  kde-base/kdebase-meta-4.3.1  USE="semantic-desktop (-kdeprefix) -policykit"
[nomerge      ]   kde-base/phonon-kde-4.3.1  USE="xine (-aqua) -debug (-kdeprefix) -pulseaudio"
[nomerge      ]    media-sound/phonon-4.4_pre20090520  USE="gstreamer xcb xine -debug"
[nomerge      ]     media-libs/xine-lib-1.1.16.3-r1  USE="X a52 aac alsa css directfb dts fbcon flac gnome gtk imagemagick ipv6 mad mng modplug musepack nls opengl samba sdl speex theora truetype v4l vcd vorbis wavpack win32codecs xcb xinerama xv -aalib (-altivec) -dxr3 -esd -jack -libcaca -mmap -oss -pulseaudio (-real) -vidix (-vis) -xvmc"
[nomerge      ]      gnome-base/gnome-vfs-2.24.1  USE="acl fam hal ipv6 samba ssl -avahi -debug -doc -gnutls -kerberos"
[nomerge      ]       gnome-base/gnome-mount-0.8-r1  USE="libnotify -debug -nautilus"
[ebuild  N    ]        gnome-base/gnome-keyring-2.26.3  USE="hal pam -debug -doc -test"
[nomerge      ] gnome-base/gnome-mount-0.8-r1  USE="libnotify -debug -nautilus"
[nomerge      ]  x11-libs/libnotify-0.4.5
[nomerge      ]   x11-misc/notification-daemon-0.4.0-r1  USE="gstreamer -debug"
[ebuild  N    ]    gnome-base/libglade-2.6.4  USE="-debug -doc"
[ebuild  N    ]    gnome-base/gconf-2.26.2-r1  USE="ldap -debug -doc -policykit"
[ebuild  N    ]     x11-libs/gtk+-2.16.6  USE="cups jpeg jpeg2k tiff vim-syntax xinerama -debug -doc -test"

 * Error: circular dependencies:

('ebuild', '/', 'gnome-base/libgnomeui-2.24.1', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gnome-keyring-2.26.3', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libbonoboui-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') (buildtime)
('ebuild', '/', 'virtual/jre-1.6.0', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (runtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (runtime)
('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/gnome-keyring-2.26.3', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-libs/apr-util-1.3.9', 'merge') depends on
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (buildtime)
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') depends on
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'dev-lang/php-5.2.11-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') (runtime_post)
('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libgnomeui-2.24.1', 'merge') (buildtime)
('ebuild', '/', 'net-misc/curl-7.19.6', 'merge') depends on
  ('ebuild', '/', 'net-dns/libidn-1.15', 'merge') (buildtime)
('ebuild', '/', 'dev-java/antlr-2.7.7', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libbonoboui-2.24.1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') (buildtime)
('ebuild', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') depends on
  ('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') (buildtime)
('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (runtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') depends on
  ('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') (buildtime)
('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') depends on
  ('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') depends on
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') (buildtime)
('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') depends on
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (runtime)
('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') depends on
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'www-servers/apache-2.2.14-r1', 'merge') depends on
  ('ebuild', '/', 'dev-libs/apr-util-1.3.9', 'merge') (buildtime)
('ebuild', '/', 'net-dns/libidn-1.15', 'merge') depends on
  ('ebuild', '/', 'dev-java/gjdoc-0.7.9-r1', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (runtime)
('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') depends on
  ('ebuild', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-java/gjdoc-0.7.9-r1', 'merge') depends on
  ('ebuild', '/', 'dev-java/antlr-2.7.7', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') depends on
  ('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/php-5.2.11-r1', 'merge') depends on
  ('ebuild', '/', 'www-servers/apache-2.2.14-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-misc/curl-7.19.6', 'merge') (buildtime)
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (buildtime)

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


but I restored the flag and kept going up to jpeg. Then I checked my correspondence and noticed your suggestions. So, I eliminated doc and jadetex (which, btw, is not listed at http://www.gentoo.org/dyn/use-index.xml). Then, performed a emerge -uDNptv world, with the following results:
Code:

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

Calculating dependencies  ... .... done!


[nomerge      ] gnome-base/gvfs-1.2.3  USE="bash-completion bluetooth cdda gnome gphoto2 hal samba -archive -avahi -debug -doc -fuse -gnome-keyring"
[nomerge      ]  net-libs/libsoup-2.26.3-r3  USE="gnome ssl -debug -doc"
[nomerge      ]   net-libs/libsoup-gnome-2.26.3-r1  USE="-debug -doc"
[nomerge      ]    net-libs/libproxy-0.2.3-r2  USE="gnome kde python webkit xulrunner -networkmanager -seamonkey"
[nomerge      ]     net-libs/xulrunner-1.9.1.4  USE="alsa dbus gnome java python startup-notification -custom-optimization -debug -sqlite"
[nomerge      ]      media-libs/lcms-1.18-r1  USE="jpeg python tiff zlib"
[nomerge      ]       dev-lang/swig-1.3.36  USE="java perl php python tcl tk -R -chicken -clisp -doc -guile -lua -mono -mzscheme -ocaml -octave -pike -ruby"
[nomerge      ]        dev-lang/php-5.2.11-r1  USE="apache2 berkdb bzip2 cdb cgi cli crypt curl curlwrappers dbase exif ftp gd gdbm iconv ipv6 ldap libedit mysql ncurses nls odbc pcntl pcre posix postgres readline reflection session sockets spell spl ssl threads truetype unicode xml xmlrpc xsl zlib -adabas -bcmath -birdstep -calendar -cjk -concurrentmodphp -ctype -db2 -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc (-java-external) -json -kerberos -kolab -ldap-sasl -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlwriter -xpm -yaz -zip"
[nomerge      ]         dev-db/unixODBC-2.2.12  USE="gnome -qt3"
[nomerge      ]          gnome-base/libgnomeui-2.24.1  USE="-doc"
[nomerge      ]           gnome-base/libgnome-2.26.0  USE="branding -debug -doc -esd"
[nomerge      ]            gnome-base/gnome-vfs-2.24.1  USE="acl fam hal ipv6 samba ssl -avahi -debug -doc -gnutls -kerberos"
[nomerge      ]             gnome-base/gnome-mount-0.8-r1  USE="libnotify -debug -nautilus"
[nomerge      ]              x11-libs/libnotify-0.4.5
[nomerge      ]               x11-misc/notification-daemon-0.4.0-r1  USE="gstreamer -debug"
[nomerge      ]                x11-libs/gtk+-2.16.6  USE="cups jpeg jpeg2k tiff vim-syntax xinerama -debug -doc -test"
[nomerge      ]                 x11-libs/cairo-1.8.8  USE="X directfb opengl svg -cleartype -debug -doc -glitz -xcb"
[nomerge      ]                  dev-libs/DirectFB-1.2.7  USE="X fbcon gif jpeg png sdl sysfs truetype v4l v4l2 zlib -debug -fusion -mmx -sse"
[ebuild  N    ]                   media-libs/libsdl-1.2.13-r1  USE="X alsa audio dga directfb fbcon joystick opengl svga video xinerama xv -aalib -custom-cflags -esd -ggi -libcaca -nas -oss -pulseaudio -tslib"
[ebuild  N    ]                    dev-libs/DirectFB-1.2.7  USE="X fbcon gif jpeg png sdl sysfs truetype v4l v4l2 zlib -debug -fusion -mmx -sse"
[ebuild  N    ]        dev-lang/php-5.2.11-r1  USE="apache2 berkdb bzip2 cdb cgi cli crypt curl curlwrappers dbase exif ftp gd gdbm iconv ipv6 ldap libedit mysql ncurses nls odbc pcntl pcre posix postgres readline reflection session sockets spell spl ssl threads truetype unicode xml xmlrpc xsl zlib -adabas -bcmath -birdstep -calendar -cjk -concurrentmodphp -ctype -db2 -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc (-java-external) -json -kerberos -kolab -ldap-sasl -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlwriter -xpm -yaz -zip"
[ebuild  N    ]         www-servers/apache-2.2.14-r1  USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" 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 -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
[ebuild  N    ]          dev-libs/apr-util-1.3.9  USE="berkdb gdbm ldap mysql odbc postgres -doc -freetds -sqlite -sqlite3"
[ebuild  N    ]           dev-db/unixODBC-2.2.12  USE="gnome -qt3"
[ebuild  N    ]            gnome-base/libgnomeui-2.24.1  USE="-doc"
[ebuild  N    ]             gnome-base/libbonoboui-2.24.1  USE="-doc -test"
[ebuild  N    ]              gnome-base/libgnome-2.26.0  USE="branding -debug -doc -esd"
[ebuild  N    ]               gnome-base/gnome-vfs-2.24.1  USE="acl fam hal ipv6 samba ssl -avahi -debug -doc -gnutls -kerberos"
[ebuild  N    ]                net-fs/samba-3.0.37  USE="acl caps cups fam ipv6 ldap pam python readline syslog -ads -async -automount -debug -doc -examples -oav -quotas (-selinux) -swat -winbind"
[ebuild  N    ]                 net-print/cups-1.3.10-r2  USE="X acl dbus java jpeg ldap pam perl php png ppds python samba ssl tiff -avahi -gnutls -kerberos -slp -static -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[ebuild  N    ]      x11-libs/cairo-1.8.8  USE="X directfb opengl svg -cleartype -debug -doc -glitz -xcb"
[nomerge      ] gnome-base/libbonoboui-2.24.1  USE="-doc -test"
[ebuild  N    ]  gnome-base/libgnomecanvas-2.26.0  USE="-debug -doc -test"
[ebuild  N    ]   x11-libs/pango-1.24.5-r1  USE="X -debug -doc -test"
[nomerge      ] gnome-base/gnome-mount-0.8-r1  USE="libnotify -debug -nautilus"
[nomerge      ]  gnome-base/gnome-keyring-2.26.3  USE="hal pam -debug -doc -test"
[nomerge      ]   x11-libs/gtk+-2.16.6  USE="cups jpeg jpeg2k tiff vim-syntax xinerama -debug -doc -test"
[nomerge      ]    net-print/cups-1.3.10-r2  USE="X acl dbus java jpeg ldap pam perl php png ppds python samba ssl tiff -avahi -gnutls -kerberos -slp -static -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[nomerge      ]     dev-lang/php-5.2.11-r1  USE="apache2 berkdb bzip2 cdb cgi cli crypt curl curlwrappers dbase exif ftp gd gdbm iconv ipv6 ldap libedit mysql ncurses nls odbc pcntl pcre posix postgres readline reflection session sockets spell spl ssl threads truetype unicode xml xmlrpc xsl zlib -adabas -bcmath -birdstep -calendar -cjk -concurrentmodphp -ctype -db2 -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc (-java-external) -json -kerberos -kolab -ldap-sasl -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlwriter -xpm -yaz -zip"
[ebuild  N    ]      net-misc/curl-7.19.6  USE="idn ipv6 ldap ssl -ares -gnutls -kerberos -libssh2 -nss -test"
[ebuild  N    ]       net-dns/libidn-1.15  USE="java nls -doc -emacs -mono"
[ebuild  N    ]        dev-java/gjdoc-0.7.9-r1  USE="source -xmldoclet"
[ebuild  N    ]         dev-java/antlr-2.7.7  USE="cxx java python source -debug -doc -examples -mono -script"
[ebuild  N    ]         virtual/jre-1.6.0
[ebuild  N    ]          virtual/jdk-1.6.0
[ebuild  N    ]           dev-java/sun-jdk-1.6.0.17  USE="X alsa odbc -derby -doc -examples -jce -nsplugin"
[ebuild  N    ]  gnome-base/gnome-keyring-2.26.3  USE="hal pam -debug -doc -test"
[nomerge      ] x11-misc/notification-daemon-0.4.0-r1  USE="gstreamer -debug"
[ebuild  N    ]  gnome-base/libglade-2.6.4  USE="-debug -doc"
[ebuild  N    ]  gnome-base/gconf-2.26.2-r1  USE="ldap -debug -doc -policykit"
[ebuild  N    ]   x11-libs/gtk+-2.16.6  USE="cups jpeg jpeg2k tiff vim-syntax xinerama -debug -doc -test"

 * Error: circular dependencies:

('ebuild', '/', 'gnome-base/libgnomeui-2.24.1', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gnome-keyring-2.26.3', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libbonoboui-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/gnome-keyring-2.26.3', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-libs/apr-util-1.3.9', 'merge') depends on
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (buildtime)
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') depends on
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'dev-lang/php-5.2.11-r1', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') (runtime_post)
('ebuild', '/', 'virtual/jre-1.6.0', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (runtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (runtime)
('ebuild', '/', 'dev-java/antlr-2.7.7', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libgnomeui-2.24.1', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libbonoboui-2.24.1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') depends on
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') depends on
  ('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') depends on
  ('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') (buildtime)
('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') depends on
  ('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') depends on
  ('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') depends on
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/cairo-1.8.8', 'merge') (buildtime)
('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') depends on
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (runtime)
('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') depends on
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (runtime)
('ebuild', '/', 'gnome-base/libgnomecanvas-2.26.0', 'merge') depends on
  ('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/pango-1.24.5-r1', 'merge') (buildtime)
  ('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'www-servers/apache-2.2.14-r1', 'merge') depends on
  ('ebuild', '/', 'dev-libs/apr-util-1.3.9', 'merge') (buildtime)
('ebuild', '/', 'net-dns/libidn-1.15', 'merge') depends on
  ('ebuild', '/', 'dev-java/gjdoc-0.7.9-r1', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (runtime)
('ebuild', '/', 'dev-libs/DirectFB-1.2.7', 'merge') depends on
  ('ebuild', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-java/gjdoc-0.7.9-r1', 'merge') depends on
  ('ebuild', '/', 'dev-java/antlr-2.7.7', 'merge') (buildtime)
  ('ebuild', '/', 'dev-java/sun-jdk-1.6.0.17', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jdk-1.6.0', 'merge') (buildtime)
  ('ebuild', '/', 'virtual/jre-1.6.0', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libgnome-2.26.0', 'merge') depends on
  ('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') (buildtime)
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/gnome-vfs-2.24.1', 'merge') depends on
  ('ebuild', '/', 'gnome-base/gconf-2.26.2-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-fs/samba-3.0.37', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/php-5.2.11-r1', 'merge') depends on
  ('ebuild', '/', 'www-servers/apache-2.2.14-r1', 'merge') (buildtime)
  ('ebuild', '/', 'net-misc/curl-7.19.6', 'merge') (buildtime)
  ('ebuild', '/', 'dev-db/unixODBC-2.2.12', 'merge') (buildtime)
('ebuild', '/', 'net-misc/curl-7.19.6', 'merge') depends on
  ('ebuild', '/', 'net-dns/libidn-1.15', 'merge') (buildtime)

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


I can live without doc, but there seems to be another troublesome flag there.

Thanks for your help,
SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Nov 24, 2009 9:53 pm    Post subject: Reply with quote

First, you don't have to live without doc. Some users have the doc flag enabled globally.

You must decide if you want doc globally or not - same with all flags BTW.

Once you've decided, then it becomes a case of tracking down and resolving each block one by one.

So what do you really prefer? To doc or not to doc, that is the question.
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Wed Nov 25, 2009 3:05 am    Post subject: Reply with quote

To doc, if it is possible

Thanks,
SxN

An update: I started to take out groups of flags. When I eliminated the group between mpeg and plotutils, I end up with a simpler circular dependency:
Code:
('ebuilds', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') depends on
  ('ebuilds', '/', 'media-libs/DirectFB-1.2.7', 'merge') (buildtime)
('ebuilds', '/', 'media-libs/DirectFB-1.2.7', 'merge')  depends on
  ('ebuilds', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') (buildtime)


I'll keep digging

Another update:
without doc (and jadetex), without directfb, and without odbc seems to work. I launched the emergence of KDE without those flags.

Thanks for all the suggestions, they've been all helpful.

SxN


Last edited by SxN on Wed Nov 25, 2009 4:39 am; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Nov 25, 2009 4:19 am    Post subject: Reply with quote

Ok, cool. Glad it's working now :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Wed Nov 25, 2009 1:18 pm    Post subject: Reply with quote

Mike Hunt wrote:
Right ok. If you want to set the doc USE flag globally then yes you also need jadetex tk threads USE flags

You can't disable the tk flag and still keep the doc flag.

Either re-enable the tk flag and post the output of
Code:
emerge -uDNptv world


or disable doc jadetex tk threads USE flags.

and rebuild your system
Code:
emerge -uDVav world


Then continue on with KDE and so on...


In fact, there are only half a dozen packages which hit circular dependencies with a global doc flag,
mostly involving dbus. It's relatively easy to suppress those packages with a specific "-doc" in
package.use.

I have in fact built my system with a global doc flag, and tk disabled; I think dbus-python was the only
package that needed docs suppressing (outside KDE, which I haven't tried).

Will
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Wed Nov 25, 2009 9:44 pm    Post subject: Reply with quote

I am re-opening the issue, as I stumbled over circular dependencies again.

While emerging KDE, it failed stating that:
Code:
*   To build ladpc++ you must emerge openldap with sasl support


So, I tried
Code:
USE="sasl" emerge openldap


and got the circular dependency:
Code:
('ebuild', '/', 'net-nds/openldap-2.4.19', 'merge') depends on
  ('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') depends on
  ('ebuild', '/', 'net-nds/openldap-2.4.19', 'merge') (buildtime)


So, including sasl is not a good idea, and omitting it is a bad one...

How do I go forward?

Thanks,
SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Nov 26, 2009 3:45 am    Post subject: Reply with quote

I wonder why KDE needs openldap, and with sasl support.

can you post your emerge --info please.

Please don't set use flags on the command line, use /etc/portage/package.use instead.

You should be able to resolve that block by running
Code:
emerge --oneshot --nodeps cyrus-sasl
emerge -uDN world
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Thu Nov 26, 2009 3:23 pm    Post subject: Reply with quote

Code:
# emerge --info

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Pentium_III_-Coppermine-with-gentoo-1.12.13
Timestamp of tree: Sun, 22 Nov 2009 00:45:02 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.mirrors.hoobly.com/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.its.uidaho.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ http://www.cyberuse.com/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdb cdda cdr cgi cli consolekit cracklib crypt cscope css cups curl curlwrappers cxx dbase dbus dga djvu dri dts dv dvd dvdr eds emboss encode enscript evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp ginac gnome gphoto2 gpm gstreamer gtk gzip hal hddtemp iconv icu idn imagemagick ipv6 java java6 javascript jbig joystick jpeg jpeg2k kde lame latex ldap libedit libnotify lzo m17n-lib mad matroska mikmod mikmode mime mng modules mp3 mp4 mpeg mplayer mudflap musepack mysql ncurses nls nntp nptl nptlonly ofx ogg openal openexr opengl openmp pam pcntl pcre pda pdf perl php plasma plotutils png posix postgres ppds pppd prelude python qt3support qt4 quicktime raw rdesktop readline reflection samba scanner sdl session slang sndfile sockets source sox speex spell spl sql ssl startup-notification svg svga sysfs syslog tcl tcpd threads thunar tiff tk truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wavpack webkit win32codecs wmf x264 x86 xattr xine xinerama xml xmlrpc xorg xsl xulrunner xv 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Thu Nov 26, 2009 3:54 pm    Post subject: Reply with quote

Meanwhile, I'm loosing myself in a maze here...

Code:
# emerge --oneshot --nodeps cyrus-sasl


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.23-r1
 * cyrus-sasl-2.1.23.tar.gz RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
!!! ERROR: Couldn't find suitable VM. Possible invalid dependency string.
 * Unable to determine VM for building from dependencies:
NV_DEPEND: authdaemond? ( || ( >=net-mail/courier-imap-3.0.7 >=mail-mta/courier-0.46 ) )
   berkdb? ( >=sys-libs/db-3.2 )
   gdbm? ( >=sys-libs/gdbm-1.8.0 )
   kerberos? ( virtual/krb5 )
   ldap? ( >=net-nds/openldap-2.0.25 )
   mysql? ( virtual/mysql )
   ntlm_unsupported_patch? ( >=net-fs/samba-3.0.9 )
   pam? ( virtual/pam )
   postgres? ( >=virtual/postgresql-base-7.2 )
   sqlite? ( dev-db/sqlite )
   ssl? ( >=dev-libs/openssl-0.9.6d )
   java? ( >=virtual/jdk-1.4 )  =sys-devel/automake-1.10*
   >=sys-devel/autoconf-2.61 sys-devel/libtool java? ( >=dev-java/java-config-2.1.6 >=sys-apps/portage-2.1.2.7 )
 *
 * ERROR: dev-libs/cyrus-sasl-2.1.23-r1 failed.
 * Call stack:
 *                     ebuild.sh, line   49:  Called pkg_setup
 *   cyrus-sasl-2.1.23-r1.ebuild, line   47:  Called java-pkg-opt-2_pkg_setup
 *         java-pkg-opt-2.eclass, line   45:  Called java-pkg_init
 *           java-utils-2.eclass, line 2096:  Called java-pkg_switch-vm
 *           java-utils-2.eclass, line 2520:  Called die
 * The specific snippet of code:
 *               die "Failed to determine VM for building."
 *  The die message:
 *   Failed to determine VM for building.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.23-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.23-r1/temp/die.env'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge dev-libs/cyrus-sasl-2.1.23-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.23-r1/temp/build.log'

 * Messages for package dev-libs/cyrus-sasl-2.1.23-r1:
 * Unable to determine VM for building from dependencies:
 *
 * ERROR: dev-libs/cyrus-sasl-2.1.23-r1 failed.
 * Call stack:
 *                     ebuild.sh, line   49:  Called pkg_setup
 *   cyrus-sasl-2.1.23-r1.ebuild, line   47:  Called java-pkg-opt-2_pkg_setup
 *         java-pkg-opt-2.eclass, line   45:  Called java-pkg_init
 *           java-utils-2.eclass, line 2096:  Called java-pkg_switch-vm
 *           java-utils-2.eclass, line 2520:  Called die
 * The specific snippet of code:
 *               die "Failed to determine VM for building."
 *  The die message:
 *   Failed to determine VM for building.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.23-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.23-r1/temp/die.env'.
 *


I found a post suggesting to run python-updater; didn't help. I found another suggesting the followings:
Code:
emerge -C java-config

emerge -1 “=java-config-1*” “=java-config-2*”

java-check-environment


Didn't help either. I also noticed when I tried the second solution that there is a message stating that Java is handled differently then before. It may be that this second solution was published before the changes, whatever they may be (I'm frustrated by my own stupidity, but not giving to much attention to Java, I have no idea of what happens on that front).

Please help,
SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Nov 26, 2009 5:43 pm    Post subject: Reply with quote

look at eselect java-vm list
and you can set a vm like so: eselect java-vm set [user|system] [vm]

Otherwise, whatever reason you need all those USE flags is beyond me.

I would keep the desktop profile, then backup make.conf cp /etc/{make.conf,make.conf.backup}
then remove all the USE flags in make.conf
then run emerge -uDNpv world

and start adding USE flags one-at-a-time and re-running emerge -uDNpv world after adding one flag, until all the blocks are gone, and you have the flags that you know you need/want - including the doc flag, if you are so inclined.

Also, you should look at how to use the /etc/portage/package.use file/folder. Tthere is a Use flags chapter about that in the Gentoo Handbook.
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Sat Nov 28, 2009 3:25 am    Post subject: Reply with quote

It's Friday night here, and I was poised to go flag by flag and see where is the conflict. Before that, though, I tried an
Code:
emerge -uDNpv world

and got no conflicts. Not much here to do.

Then, I went ahead with
Code:
# eselect java-vm list
Available Java Virtual Machines
  (none found)

Not much here either...

What would be the next step?

Quote:
whatever reason you need all those USE flags is beyond me

I went to the list of flags, took them one by one, read what they're responsible of, and decided "yes, I'd like to have that", or "no, not interested". Maybe I misunderstood the USE flags at a conceptual level: my take is that they are instructions in optimizing the code for the intended use. Am I wrong?

SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Nov 28, 2009 4:14 am    Post subject: Reply with quote

If a USE flag is not set by a profile, and portage doesn't ask for one, there is absolutely no need to enable a USE flag, unless you know that you need it and why you need it.

The purpose of USE flags isn't optimization, they only add optional functionality that some packages are able to provide.

For example: kdelibs has a kerberos USE flag available, but what would be the point of enabling it if kerberos is not used. Same is true for all USE flags. In fact enabling USE flags for nothing can bloat your code, add unnecessary complexity and add unused dependencies.


Do you have dev-java/icedtea6-bin installed? I think it should be pulled in by the java USE flag.
Is there anything java related other than dev-java/java-config installed?

If you don't have portage-utils installed, emerge it and run qlist -I java
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Mon Nov 30, 2009 3:20 am    Post subject: Reply with quote

Code:
# qlist -I java
dev-java/java-config
dev-java/java-config
dev-java/java-config-wrapper


Following Mike's advice, I'm reconsidering what USE flags to include. Coincidentally, I'm not the only one having fun with this issue, see https://forums.gentoo.org/viewtopic-t-803017.html.

I'll be back as soon as I have something.

Thanks,
SxN
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Mon Nov 30, 2009 4:15 am    Post subject: Reply with quote

Using
Code:
euse -a
I found several flags which are enabled by default, and I enabled them also in make.conf. I eliminated this duplication.

If I want, say KDE, but not Gnome, do I have to explicitly add -gnome -gtk... ?

SxN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Nov 30, 2009 6:40 am    Post subject: Reply with quote

You can always see which USE flags are enabled in emerge --info

So, if you want -gnome, then yes you would need to disable gnome in make.conf.

Check your emerge --info after every flag you enable/disable.
That way you will see if you are actually really doing anything. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum