| View previous topic :: View next topic |
| Author |
Message |
fnord_ix n00b


Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Fri Feb 17, 2006 11:20 pm Post subject: [Solved] Circular Dependency Hell with dbus and hal |
|
|
Hi,
I'm having alot of trouble trying to emerge hal-0.5.5.1-r3 and dbus-0.60-r3. These are the results for the following commands;
| Code: |
emerge -p hal
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-apps/pmount-0.9.6
[ebuild NS ] gnome-base/gnome-vfs-2.12.2
[ebuild N ] gnome-base/libgnome-2.12.0.1
[ebuild N ] gnome-base/libbonoboui-2.10.1-r1
[ebuild N ] gnome-base/libgnomeui-2.12.0
[ebuild NS ] gnome-extra/gtkhtml-3.2.5
[ebuild N ] dev-dotnet/gtkhtml-sharp-1.0.10
[ebuild N ] dev-util/mono-tools-1.1.10
[ebuild N ] sys-apps/dbus-0.60-r3
[ebuild N ] sys-apps/hal-0.5.5.1-r3
[ebuild N ] x11-themes/gtk-engines-2.6.7
[ebuild N ] x11-themes/gnome-themes-2.12.1
|
and
| Code: |
emerge -p dbus
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-apps/hal-0.5.5.1-r3
[ebuild N ] sys-apps/pmount-0.9.6
[ebuild NS ] gnome-base/gnome-vfs-2.12.2
[ebuild N ] gnome-base/libgnome-2.12.0.1
[ebuild N ] gnome-base/libbonoboui-2.10.1-r1
[ebuild N ] gnome-base/libgnomeui-2.12.0
[ebuild NS ] gnome-extra/gtkhtml-3.2.5
[ebuild N ] dev-dotnet/gtkhtml-sharp-1.0.10
[ebuild N ] dev-util/mono-tools-1.1.10
[ebuild N ] sys-apps/dbus-0.60-r3
[ebuild N ] x11-themes/gtk-engines-2.6.7
[ebuild N ] x11-themes/gnome-themes-2.12.1
|
Ass you can see dbus needs hal and vice versa. I have read some other posts which state similar problems, but none of the solutions work for me.
Has anyone had similar problems, or know of a solution?
TIA
Last edited by fnord_ix on Sat Feb 18, 2006 6:08 am; edited 1 time in total |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Fri Feb 17, 2006 11:22 pm Post subject: |
|
|
| I don't see any problem so far. |
|
| Back to top |
|
 |
drwook Veteran

Joined: 30 Mar 2005 Posts: 1324 Location: London
|
Posted: Fri Feb 17, 2006 11:37 pm Post subject: |
|
|
Looking at the ebuilds, HAL does have a build time (and run time) dependancy on dbus, but not the other way around, so you should be ok.
Are you actually having any trouble here? |
|
| Back to top |
|
 |
fnord_ix n00b


Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Sat Feb 18, 2006 3:21 am Post subject: |
|
|
The problem I am having, is when I try to emerge dbus, the first package to be compiled, due to dependencies, is hal, and I get this error;
| Code: |
....
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (glib-2.0 >= 2.6.0, gobject-2.0 >= 2.6.0, dbus-glib-1 >= 0.33, dbus-1 >= 0.33) were not met:
No package 'dbus-glib-1' found
No package 'dbus-1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
|
To me this indicates that I need glib installed to install hal, but when I try to install glib, it tries to install hal, which need glib ...
So, unless there is something that I am missing, I can't install either. |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Feb 18, 2006 3:53 am Post subject: |
|
|
How about a normal emerge:
| Code: | | emerge --quiet --update --newuse --deep world |
|
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Sat Feb 18, 2006 4:29 am Post subject: |
|
|
First, please use --verbose when posting emerge output to the forums -- it makes it a lot easier to see what's going on. Also, consider using --tree.
That said, it's easy to see what's happening; the doc and mono use flags on dbus are pulling in mono-tools, which is pulling in various gnome libraries that depend on hal.
The easiest way to fix this would be not to emerge hal or dbus directly; just turn on the hal USE flag and let portage sort out the dependency order. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
| Back to top |
|
 |
fnord_ix n00b


Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Sat Feb 18, 2006 5:27 am Post subject: |
|
|
I already have the hal use flag turned on.
Just a bit more info to help you...
| Quote: |
emerge -avt dbus
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] x11-themes/gnome-themes-2.12.1 -accessibility -debug 2,501 kB
[ebuild N ] x11-themes/gtk-engines-2.6.7 -accessibility -debug 468 kB
[ebuild N ] sys-apps/dbus-0.60-r3 +X -debug +doc -gcj +gtk +mono +python +qt (-selinux) +xml2 1,635 kB
[ebuild N ] dev-util/mono-tools-1.1.10 247 kB
[ebuild N ] dev-dotnet/gtkhtml-sharp-1.0.10 0 kB
[ebuild NS ] gnome-extra/gtkhtml-3.2.5 -debug 0 kB
[ebuild N ] gnome-base/libgnomeui-2.12.0 -debug +doc +jpeg -static 0 kB
[ebuild N ] gnome-base/libbonoboui-2.10.1-r1 +X -debug +doc -static 0 kB
[ebuild N ] gnome-base/libgnome-2.12.0.1 -debug +doc +esd -static 0 kB
[ebuild NS ] gnome-base/gnome-vfs-2.12.2 -debug +doc -gnutls +hal -howl +ipv6 +samba +ssl 1,521 kB
[ebuild N ] sys-apps/pmount-0.9.6 +crypt 368 kB
[ebuild N ] sys-apps/hal-0.5.5.1-r3 +acpi -debug +doc -pam_console -pcmcia (-selinux) 0 kB
Total size of downloads: 6,743 kB
|
and my make.conf file
| Code: |
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X 3dnow a52 aac acl acpi alsa apache apache2 apm arts bash-completion berkdb bmp bzip2 cdb cdr crypt cups dbus doc dri dv dvd dvdr dvdread emacs emacs-w3 emul-linux-x86 encode exif fastcgi fbcon ffmpeg foomaticdb ftp gif gimpprint gphoto2 gstreamer gtk gtk2 hal hardenedphp ieee1394 imagemagick innodb jabber jack java javascript joystick jpeg jpeg2k kde kdexdeltas kerberos krb4 ldap mono mozilla mp3 mpeg mysql mysqli ncurses nvidia odbc offensive ogg oggvorbis openal opengl pam pda pdflib perl php png ppds python qt quicktime readline samba scanner session sharedext sharedmem simplexml soap sockets spell sqlite sse ssl svg svga tcpd tetex theora tiff tokenizer truetype unicode usb vcd videos vorbis win32codecs wmf xine xml xml2 xmlrpc xmms xpm xprint xvid"
|
I hope this info is helpful |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
fnord_ix n00b


Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Sat Feb 18, 2006 6:08 am Post subject: |
|
|
It appears that the problem is solved. I'm not sure how, but I'll explain what I did in the hope that it might help future users who have a similar problem.
I just had to rebuild my system due to a faulty hard drive. I was installing KDE following The KDE Configuration HOWTO http://www.gentoo.org/doc/en/kde-config.xml. Towards the end of the document it says to | Code: | | emerge --noreplace dbus hal | so you can mount devices. This is when I first struck the hal dbus dependency issue.
While I was working on this problem, and waiting for some insight from other forum users, I was trying to emerge other program that I want to use, one of them being gtkam. That came up with the same problem. So I followed ecatmur's advice and tried to emerge something that uses hal, instead of hal directly. I chose mono-tools, which is a dependency of gtkam.
The first items in the dependency list were dbus, then hal. I thought, "Cool, this is just what ecatmur was talking about." When I tried, I got error from compiling dbus, but it was an error from not having monodoc installed. I checked, and it was installed, so I tried | Code: | | USE="-doc" emerge -av mono-tools | and the install went without a problem.
I now have hal & dbus installed on my system. I still don't know what the problem was, but I seem to have worked around it.
Thanks to everyone who read my post, and tried to shed some more light on my problem |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
|