View previous topic :: View next topic |
Author |
Message |
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Sun Oct 04, 2009 11:29 pm Post subject: [Solved]Circular dependencies & use flag clarification |
|
|
Hi,
After using a bunch of other distributions I finally decided to try building my own gentoo system. During the install I edited my use flag list in /etc/make.conf. I pretty much went through the list and added whatever I thought I would want. Yesterday I got xorg-server installed but it said it needed svg, after adding svg to my use list I then got the circular dependency error. I spend some time on the irc channel and got xorg-server installed.
Now I'm just trying to figure out how to interpret the circular dependency error and how to really use the use flags. When I try to emerge -pv gnome I get the following.
Quote: |
emerge -pv gnome
--- Invalid atom in /etc/portage/package.use: gnome-base/gnome-2.24.1
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge ] gnome-base/gnome-2.24.1 USE="cdr cups dvdr mono -accessibility -esd -ldap"
[nomerge ] app-misc/tomboy-0.12.2 USE="-debug -doc -eds -galago"
[nomerge ] dev-dotnet/gconf-sharp-2.24.1 USE="-debug"
[nomerge ] dev-dotnet/glade-sharp-2.12.9 USE="-debug"
[nomerge ] dev-dotnet/gdk-sharp-2.12.9 USE="-debug"
[nomerge ] dev-dotnet/glib-sharp-2.12.9 USE="-debug"
[nomerge ] dev-lang/mono-2.4.2.3 USE="-minimal -moonlight -xen"
[ebuild N ] www-client/links-2.2 USE="X bzip2 gpm jpeg png sdl ssl unicode zlib -directfb -fbcon -livecd (-svga) -tiff"
[ebuild N ] media-libs/libsdl-1.2.13-r1 USE="X alsa audio joystick opengl pulseaudio video xinerama xv -aalib -arts -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -oss (-svga)"
[ebuild N ] media-sound/pulseaudio-0.9.15-r2 USE="X alsa asyncns avahi caps dbus glib gnome hal tcpd -bluetooth -jack -libsamplerate -lirc -oss -test"
[nomerge ] gnome-base/gnome-2.24.1 USE="cdr cups dvdr mono -accessibility -esd -ldap"
[nomerge ] x11-wm/metacity-2.24.0-r2 USE="xinerama -debug"
[nomerge ] x11-libs/gtk+-2.16.6 USE="X cups jpeg jpeg2k vim-syntax xinerama -debug -doc -test -tiff"
[ebuild N ] net-print/cups-1.3.10-r2 USE="X acl avahi dbus gnutls java jpeg pam perl png python samba ssl -kerberos -ldap -php -ppds -slp -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[ebuild N ] net-dns/avahi-0.6.24-r2 USE="dbus gdbm gtk ipv6 mono python -autoipd -bookmarks -doc -howl-compat -mdnsresponder-compat -qt3 -qt4 -test"
[ebuild N ] dev-dotnet/gtk-sharp-2.12.9 USE="-debug"
[ebuild N ] dev-dotnet/gdk-sharp-2.12.9 USE="-debug"
[ebuild N ] dev-dotnet/atk-sharp-2.12.9 USE="-debug"
[ebuild N ] dev-dotnet/pango-sharp-2.12.9 USE="-debug"
[ebuild N ] dev-dotnet/glib-sharp-2.12.9 USE="-debug"
[ebuild N ] dev-dotnet/gtk-sharp-gapi-2.12.9 USE="-debug"
[ebuild N ] dev-lang/mono-2.4.2.3 USE="-minimal -moonlight -xen"
[ebuild N ] dev-python/pygtk-2.14.1-r1 USE="X -doc -examples"
[ebuild N ] gnome-base/libglade-2.6.4 USE="-debug -doc"
[ebuild N ] gnome-base/gconf-2.24.0 USE="-debug -doc -ldap"
[ebuild N ] x11-libs/gtk+-2.16.6 USE="X cups jpeg jpeg2k vim-syntax xinerama -debug -doc -test -tiff"
* Error: circular dependencies:
('ebuild', '/', 'dev-dotnet/gtk-sharp-gapi-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'media-sound/pulseaudio-0.9.15-r2', 'merge') depends on
('ebuild', '/', 'gnome-base/gconf-2.24.0', 'merge') (buildtime)
('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/gconf-2.24.0', 'merge') depends on
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/atk-sharp-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-dotnet/glib-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-gapi-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'www-client/links-2.2', 'merge') depends on
('ebuild', '/', 'media-libs/libsdl-1.2.13-r1', 'merge') (buildtime)
('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') depends on
('ebuild', '/', 'dev-python/pygtk-2.14.1-r1', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') depends on
('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gdk-sharp-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-dotnet/glib-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-gapi-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/pango-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') depends on
('ebuild', '/', 'www-client/links-2.2', 'merge') (runtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-dotnet/glib-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-gapi-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gdk-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/atk-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/pango-sharp-2.12.9', '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', '/', 'media-sound/pulseaudio-0.9.15-r2', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') depends on
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/glib-sharp-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/pango-sharp-2.12.9', 'merge') depends on
('ebuild', '/', 'dev-dotnet/glib-sharp-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-dotnet/gtk-sharp-gapi-2.12.9', 'merge') (buildtime)
('ebuild', '/', 'dev-lang/mono-2.4.2.3', 'merge') (buildtime)
('ebuild', '/', 'dev-python/pygtk-2.14.1-r1', 'merge') depends on
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
As far as I've understood it, the -pv command let's me see the different packages that will be installed along with the one I want and what kind of flags that can be set along with them. How do I find which ones are conflicting or where the problem is?
Last edited by whitethorn on Sat Oct 10, 2009 1:01 am; edited 1 time in total |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Sun Oct 04, 2009 11:39 pm Post subject: |
|
|
Code: | emerge -pv gnome
--- Invalid atom in /etc/portage/package.use: gnome-base/gnome-2.24.1 |
Don't include the revision information in package.use. Just use gnome-base/gnome.
Try: Code: | USE="-mono" emerge -pv gnome |
|
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Sun Oct 04, 2009 11:52 pm Post subject: |
|
|
Nerevar wrote: | Code: | emerge -pv gnome
--- Invalid atom in /etc/portage/package.use: gnome-base/gnome-2.24.1 |
Don't include the revision information in package.use. Just use gnome-base/gnome.
Try: Code: | USE="-mono" emerge -pv gnome |
|
Oh ok thx. That did a bunch, but how did you know what flag to get rid of? In the list do the flag in red mean that they are conflicting? I only added mono to my use line is to get beagle installed with gnome according to this webpage.
http://gentoo-install.com/gnome
Quote: |
USE="-mono" emerge -pv gnome
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge ] gnome-base/gnome-2.24.1 USE="cdr cups dvdr -accessibility -esd -ldap -mono"
[nomerge ] x11-wm/metacity-2.24.0-r2 USE="xinerama -debug"
[nomerge ] x11-libs/gtk+-2.16.6 USE="X cups jpeg jpeg2k vim-syntax xinerama -debug -doc -test -tiff"
[ebuild N ] net-print/cups-1.3.10-r2 USE="X acl avahi dbus gnutls java jpeg pam perl png python samba ssl -kerberos -ldap -php -ppds -slp -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[ebuild N ] net-dns/avahi-0.6.24-r2 USE="dbus gdbm gtk ipv6 python -autoipd -bookmarks -doc -howl-compat -mdnsresponder-compat -mono -qt3 -qt4 -test"
[ebuild N ] dev-python/pygtk-2.14.1-r1 USE="X -doc -examples"
[ebuild N ] gnome-base/libglade-2.6.4 USE="-debug -doc"
[ebuild N ] x11-libs/gtk+-2.16.6 USE="X cups jpeg jpeg2k vim-syntax xinerama -debug -doc -test -tiff"
* Error: circular dependencies:
|
|
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Mon Oct 05, 2009 12:33 am Post subject: |
|
|
I looked at the USE flags you had enabled for gnome and the circular dependency errors. Mono stood out as the most likely offender.
After you get gnome emerged w/o the mono USE flag, you should be able to add it back and then run:
Code: | emerge --update --deep --with-bdeps=y --reinstall changed-use --tree --verbose world |
As for what the colors mean:
http://www.gentoo-wiki.info/HOWTO_Use_Portage_Correctly#Color_Output |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Oct 05, 2009 12:44 am Post subject: |
|
|
Mono is for dotnet stuff - if you want that Code: | # quse -D mono
global:mono: Build Mono bindings to support dotnet type stuff
|
One good and easy way to enable the USE flags that you would need for Gnome is by enabling a desktop profile. To see what is available run Code: | eselect profile list |
Then if you want to set a profile run Code: | eselect profile set <number> |
|
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Mon Oct 05, 2009 1:03 am Post subject: |
|
|
Nerevar wrote: | I looked at the USE flags you had enabled for gnome and the circular dependency errors. Mono stood out as the most likely offender.
After you get gnome emerged w/o the mono USE flag, you should be able to add it back and then run:
Code: | emerge --update --deep --with-bdeps=y --reinstall changed-use --tree --verbose world |
As for what the colors mean:
http://www.gentoo-wiki.info/HOWTO_Use_Portage_Correctly#Color_Output |
How did you see that it might be the offender? How would I go about installing gnome now, or getting rid of the next circular dependency? |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Sat Oct 10, 2009 1:01 am Post subject: figured it out |
|
|
I tried a bunch of USE... --oneshot --nodeps emerge ...
I finally got past the problem, and was able to emerge gnome. Was a bit of a hassle but at least I've got gnome installed. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Oct 11, 2009 9:54 am Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments.
Not about getting gentoo installed, so moved here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|
|
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
|
|