Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33528 - sys-apps/dbus-0.13 breaks when qt is not installed on system
Summary: sys-apps/dbus-0.13 breaks when qt is not installed on system
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 19:32 UTC by James W. Dumay
Modified: 2003-11-14 19:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Revised ebuild for dbus-0.13, allowing the enabling/disabling of qt in dbus at emerge time (dbus-0.13.ebuild,1.00 KB, application/octet-stream)
2003-11-14 19:51 UTC, James W. Dumay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James W. Dumay 2003-11-14 19:32:50 UTC
sys-apps/dbus-0.13 complains when ebuild is in ./configure stage.

configure: WARNING: Qt development libraries not found
configure: error: Qt integration explicitly required, and Qt libraries not found

I Checked the ebuild deps
qt? ( x11-libs/qt )

and src_compile() options
`use_enable qt` \

I unpacked dbus-0.13.tar.gz and ran ./configure --help . I was told I can use
the option --enable-qt or --disable-qt.

I ran ./configure --prefix=/usr --disable-qt and dbus configured without a hitch.

The problem lies in the "`use_enable qt`" line in the src_compile() section of
the ebuild.

I have included a fixed ebuild that either enables or disables depending on
where QT is in USE. 

But I voice my concern that dbus needs qt enabled on the system so that it may
"talk" to programs using the qt interface and recommend that qt be installed
with dbus on emerge. This will be a waste of time on systems that dont use qt
libraries or applications.

Reproducible: Always
Steps to Reproduce:
1. emerge -C qt
2. emerge dbus

Actual Results:  
checking DBUS_GLIB_LIBS... -lglib-2.0
checking for glib-2.0 gthread-2.0... yes
checking DBUS_GLIB_THREADS_CFLAGS... -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking DBUS_GLIB_THREADS_LIBS... -pthread -lgthread-2.0 -lglib-2.0
checking for qglobal.h... found
configure: WARNING: Qt development libraries not found
configure: error: Qt integration explicitly required, and Qt libraries not found 
!!! ERROR: sys-apps/dbus-0.13 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.8p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod
motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts tetex svga java mysql X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gnome gtk qt opengl mozilla ldap gtk2 dvd alsa"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-11-14 19:36:35 UTC
I don't see "-qt" in your USE flags.  if you don't want it to compile with qt support you should use your USE flags.
Comment 2 James W. Dumay 2003-11-14 19:51:35 UTC
Created attachment 20764 [details]
Revised ebuild for dbus-0.13, allowing the enabling/disabling of qt in dbus at emerge time

fix'ed :)

My concerns are voiced in the bug details.