Bug 137551 - kde-base/kdebase-kioslaves need dbus with USE="qt3" for HAL support
Bug#: 137551 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: rickard.narstrom@gmail.com
Component: KDE
URL: 
Summary: kde-base/kdebase-kioslaves need dbus with USE="qt3" for HAL support
Keywords:  
Status Whiteboard: 
Opened: 2006-06-22 01:20 0000
Description:   Opened: 2006-06-22 01:20 0000
emerge w/o qt3 support in dbus
----
checking for the HAL... headers -I/usr/include/hal  libraries -L/usr/lib64
-lhal -lhal-storage
checking for DBus... headers -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include libraries -L/usr/lib64 -ldbus-1
checking for DBus-Qt bindings... searched but not found
checking if the HAL backend for media:/ should be compiled... no
----

emerge w/ qt3 support in dbus
----
checking for the HAL... headers -I/usr/include/hal  libraries -L/usr/lib64
-lhal -lhal-storage
checking for DBus... headers -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include libraries -L/usr/lib64 -ldbus-1
checking for DBus-Qt bindings... headers /usr/include/dbus-1.0 libraries
/usr/lib64
checking if the HAL backend for media:/ should be compiled... yes
----

emerge --info
----
Portage 2.1.1_pre1-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla,
glibc-2.4-r3, 2.6.16-ck11 x86_64)
=================================================================
System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/init.d
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo http://mirror.uni-c.dk/pub/gentoo/
http://ds.thn.htu.se/linux/gentoo"
LANG="sv_SE.UTF-8"
LC_ALL="sv_SE.UTF-8"
LINGUAS="sv"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa anthy arts audiofile avi bitmap-fonts
boundschecking browserplugin cdparanoia cdr cjk crypt css cups curl dbus dmi
dri dvd dvdr dvdread eds emboss encode fam ffmpeg flac font-server foomaticdb
ftp gd gif gpm hal iconv icq imagemagick imlib immqt insecure-drivers jabber
java javascript jpeg kde lm_sensors mad matroska memlimit mikmod mod mono mp3
mp4 mpeg mpeg2 mpeg4 mplayer msdfs msn ncurses network nls no-old-linux
no_wxgtk1 nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar pam pcre
pdflib perl png posix python qt qt4 quicktime rar readline reiserfs samba sdl
sockets spell ssl subtitles subversion svg sysfs syslog tcpd tetex theora
threads tiff transcode truetype truetype-fonts type1 type1-fonts udev uim
unicode usb userlocales utf8 vcd vim vnc vorbis x11vnc x264 xcomposite xfs xim
xine xml xml2 xorg xpm xrandr xscreensaver xv xvid zlib elibc_glibc
input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux
linguas_sv userland_GNU video_cards_ati video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS
----

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-06-22 05:42:22 0000 -------
Will take care.

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-06-22 05:45:48 0000 -------
Thanks for reporting, now both kdebase and kdebase-kioslaves checks for qt3
useflag in dbus before starting building.

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-06-22 12:07:57 0000 -------
*** Bug 137642 has been marked as a duplicate of this bug. ***

------- Comment #4 From Eric Thibodeau 2006-12-20 06:11:20 0000 -------
Shouldn't it be the other way around. By this I mean that shouldn't DBUS check
to see if the KDE flag is set and force qt3 compilation or provide a better
mechanism than the present "kioslave emerge dies because dbus isn't compiled
with qt3". Not to rant but it's rather annoying to rebuild a system with +900
packages for it to die midway because dbus wasn't compiled with qt3 _and_ you
wnt to use it with kde.

I know the solution might not be to simply imply qt3 in dbus if the kde USE
flag is set but I find it much better than the alternative breakage.

(PS: I tried to find a discussion on this topic with no success, so _do_ throw
me in the proper direction)

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-12-20 06:19:46 0000 -------
This will be fixed when dbus 1.0.x is marked stable, as the bindings have their
own packaging.