Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196507 - kde-base/ksmserver-3.5.8 and kde-base/kdebase-3.5.8 fail without dbus/hal
Summary: kde-base/ksmserver-3.5.8 and kde-base/kdebase-3.5.8 fail without dbus/hal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 196509 196515 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-20 10:06 UTC by Jukka Ruohonen
Modified: 2007-10-20 12:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Ruohonen 2007-10-20 10:06:39 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2007-10-20 10:37:44 UTC
*** Bug 196509 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-20 11:15:57 UTC
*** Bug 196515 has been marked as a duplicate of this bug. ***
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2007-10-20 12:41:57 UTC
Fixed in CVS.