Bug 196507 - kde-base/ksmserver-3.5.8 and kde-base/kdebase-3.5.8 fail without dbus/hal
Bug#: 196507 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: drear@iki.fi
Component: KDE
URL: 
Summary: kde-base/ksmserver-3.5.8 and kde-base/kdebase-3.5.8 fail without dbus/hal
Keywords:  
Status Whiteboard: 
Opened: 2007-10-20 10:06 0000
Description:   Opened: 2007-10-20 10:06 0000
Hello. 

Upgrading to KDE 3.5.8 went, as usual, well, except that this time ksmserver
fails in a system without D-BUS or HAL. Thus, after all other KDE-components of
the system based on split ebuilds have been emerged:

[ebuild     U ] kde-base/ksmserver-3.5.8 [3.5.7] USE="kdehiddenvisibility
xinerama -arts -dbus% -debug -hal% -kdeenablefinal" 0 kB

we arrive to

In file included from shutdown.cpp:86:
shutdowndlg.h:22:29: error: dbus/connection.h: No such file or directory
shutdowndlg.h:23:20: error: libhal.h: No such file or directory
/usr/kde/3.5/bin/dcopidl ./KSMServerInterface.h > KSMServerInterface.kidl || (
rm -f KSMServerInterface.kidl ; false )
/usr/kde/3.5/bin/dcopidl ./server.h > server.kidl || ( rm -f server.kidl ;
false )
echo 'extern "C" int kdemain(int argc, char* argv[]);' > ksmserver.la.cpp; \
        echo 'int main(int argc, char* argv[]) { return kdemain(argc,argv); }'
>> ksmserver.la.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../kdmlib -I/usr/kde/3.5/include
-I/usr/qt/3/include -I.     -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -msse3 -O2
-pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -fvisibility=hidden
-fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o ksmserver_dummy.lo
ksmserver_dummy.cpp
shutdowndlg.h:74: error: ISO C++ forbids declaration of 'LibHalContext' with no
type
shutdowndlg.h:74: error: expected ';' before '*' token
shutdowndlg.h:75: error: ISO C++ forbids declaration of 'DBusConnection' with
no type
shutdowndlg.h:75: error: expected ';' before '*' token
make[3]: *** [shutdown.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/kde-base/ksmserver-3.5.8/work/ksmserver-3.5.8/ksmserver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kde-base/ksmserver-3.5.8/work/ksmserver-3.5.8/ksmserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-base/ksmserver-3.5.8/work/ksmserver-3.5.8'
make: *** [all] Error 2
 *
 * ERROR: kde-base/ksmserver-3.5.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ksmserver-3.5.8.ebuild, line 29:   Called kde-meta_src_compile
 *   kde-meta.eclass, line 380:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make
 * 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/kde-base/ksmserver-3.5.8/temp/build.log'.


This was replicated on two AMD64 systems; both otherwise stable, except for
~amd64 keywords for KDE (emerge --infos and other information on request).

------- Comment #1 From Jakub Moc (RETIRED) 2007-10-20 10:37:44 0000 -------
*** Bug 196509 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc (RETIRED) 2007-10-20 11:15:57 0000 -------
*** Bug 196515 has been marked as a duplicate of this bug. ***

------- Comment #3 From Wulf Krueger (RETIRED) 2007-10-20 12:41:57 0000 -------
Fixed in CVS.