Bug#297709: kdebase: FTBFS (amd64/gcc-4.0): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const'
Package: kdebase Severity: normal Tags: patch When building 'kdebase' on amd64 with gcc-4.0, I get the following error: /bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-linux-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE-o kcm_khotkeys.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined kcm_khotkeys_la.all_cpp.lo ui/libui.la -lkdeui .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys32Command_url_shortcut_action_dataE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys18Simple_action_dataINS_16Shortcut_triggerENS_18Command_url_actionEEE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys30Menuentry_shortcut_action_dataE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys18Simple_action_dataINS_16Shortcut_triggerENS_16Menuentry_actionEEE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys18Simple_action_dataINS_16Shortcut_triggerENS_11Dcop_actionEEE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys18Simple_action_dataINS_16Shortcut_triggerENS_21Keyboard_input_actionEEE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' .libs/kcm_khotkeys_la.all_cpp.o(.gnu.linkonce.d._ZTVN8KHotKeys18Simple_action_dataINS_16Shortcut_triggerENS_22Activate_window_actionEEE+0x20): undefined reference to `KHotKeys::Simple_action_data::cfg_write(KConfig&) const' collect2: ld returned 1 exit status make[5]: *** [kcm_khotkeys.la] Error 1 make[5]: Leaving directory `/kdebase-3.3.2/obj-x86_64-linux/khotkeys/kcontrol' With the attached patch (taken from CVS) the 'kdebase' package can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/kdebase-3.3.2/khotkeys/shared/action_data.cpp ./khotkeys/shared/action_data.cpp --- ../tmp-orig/kdebase-3.3.2/khotkeys/shared/action_data.cpp 2004-05-22 22:26:49.0 +0200 +++ ./khotkeys/shared/action_data.cpp 2005-02-28 16:08:59.613349642 +0100 @@ -304,8 +304,6 @@ // Command_url_shortcut_action_data -template class Simple_action_data< Shortcut_trigger, Command_url_action >; - Command_url_shortcut_action_data::Command_url_shortcut_action_data( Action_data_group* parent_P, const QString& name_P, const QString& comment_P, const KShortcut& shortcut_P, const QString& command_url_P, bool enabled_P ) @@ -324,9 +322,9 @@ cfg_P.writeEntry( "Type", "COMMAND_URL_SHORTCUT_ACTION_DATA" ); } -// Menuentry_shortcut_action_data +template class Simple_action_data< Shortcut_trigger, Command_url_action >; -template class Simple_action_data< Shortcut_trigger, Menuentry_action >; +// Menuentry_shortcut_action_data Menuentry_shortcut_action_data::Menuentry_shortcut_action_data( Action_data_group* parent_P, const QString& name_P, const QString& comment_P, @@ -346,9 +344,9 @@ cfg_P.writeEntry( "Type", "MENUENTRY_SHORTCUT_ACTION_DATA" ); } -// Dcop_shortcut_action_data +template class Simple_action_data< Shortcut_trigger, Menuentry_action >; -template class Simple_action_data< Shortcut_trigger, Dcop_action >; +// Dcop_shortcut_action_data template<> void Simple_action_data< Shortcut_trigger, Dcop_action > @@ -357,11 +355,9 @@ base::cfg_write( cfg_P ); cfg_P.writeEntry( "Type", "DCOP_SHORTCUT_ACTION_DATA" ); } - +template class Simple_action_data< Shortcut_trigger, Dcop_action >; // Keyboard_input_shortcut_action_data -template class Simple_action_data< Shortcut_trigger, Keyboard_input_action >; - template<> void Simple_action_data< Shortcut_trigger, Keyboard_input_action > ::cfg_write( KConfig& cfg_P ) const @@ -369,11 +365,10 @@ base::cfg_write( cfg_P ); cfg_P.writeEntry( "Type", "KEYBOARD_INPUT_SHORTCUT_ACTION_DATA" ); } +template class Simple_action_data< Shortcut_trigger, Keyboard_input_action >; // Activate_window_shortcut_action_data -template class Simple_action_data< Shortcut_trigger, Activate_window_action >; - template<> void Simple_action_data< Shortcut_trigger, Activate_window_action > ::cfg_write( KConfig& cfg_P ) const @@ -381,7 +376,8 @@ bas
Bug#297721: crashs when using /help in msn
Package: kopete Version: 4:3.3.2-1 Severity: important When I use the command /help in msn, kopete crashs and gives the following error message: [KCrash handler] #3 0xb7f31922 in KopeteMetaContact::groups () from /usr/lib/libkopete.so.1 #4 0xb7f49951 in KNotifyClient::performCustomNotifications () from /usr/lib/libkopete.so.1 #5 0xb7f48d5e in KNotifyClient::event () from /usr/lib/libkopete.so.1 #6 0xb5e88d73 in KopeteViewManager::messageAppended () from /usr/lib/kde3/kopete_chatwindow.so #7 0xb5e8987b in KopeteViewManager::qt_invoke () from /usr/lib/kde3/kopete_chatwindow.so #8 0xb6b065ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #9 0xb7f24bd7 in KopeteMessageManagerFactory::display () from /usr/lib/libkopete.so.1 #10 0xb7f24f4d in KopeteMessageManagerFactory::qt_emit () from /usr/lib/libkopete.so.1 #11 0xb6b0655b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #12 0xb7f22e95 in KopeteMessageManager::messageAppended () from /usr/lib/libkopete.so.1 #13 0xb7f22294 in KopeteMessageManager::appendMessage () from /usr/lib/libkopete.so.1 #14 0xb7f4631d in KopeteCommandHandler::slotHelpCommand () from /usr/lib/libkopete.so.1 #15 0xb7f47a59 in KopeteCommandHandler::qt_invoke () from /usr/lib/libkopete.so.1 #16 0xb6b065ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #17 0xb7f80cb4 in KopeteCommand::handleCommand () from /usr/lib/libkopete.so.1 #18 0xb7f807ab in KopeteCommand::processCommand () from /usr/lib/libkopete.so.1 #19 0xb7f8038c in KopeteCommand::slotAction () from /usr/lib/libkopete.so.1 #20 0xb7f80d38 in KopeteCommand::qt_invoke () from /usr/lib/libkopete.so.1 #21 0xb6b065ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #22 0xb6b063d4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #23 0xb73acdab in KAction::activated () from /usr/lib/libkdeui.so.4 #24 0xb73ac77f in KAction::slotActivated () from /usr/lib/libkdeui.so.4 #25 0xb73acfb1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4 #26 0xb7f80d1d in KopeteCommand::qt_invoke () from /usr/lib/libkopete.so.1 #27 0xb6b065ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #28 0xb6e4426a in QSignal::signal () from /usr/lib/libqt-mt.so.3 #29 0xb6b2078d in QSignal::activate () from /usr/lib/libqt-mt.so.3 #30 0xb6c0d829 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3 #31 0xb6b3c737 in QWidget::event () from /usr/lib/libqt-mt.so.3 #32 0xb6aa9bff in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #33 0xb6aa92f4 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #34 0xb70e3e03 in KApplication::notify () from /usr/lib/libkdecore.so.4 #35 0xb6a3e241 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #36 0xb6a3c2de in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #37 0xb6a531c4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #38 0xb6abbf58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #39 0xb6abbe08 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #40 0xb6aa9e51 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #41 0x08069aad in ?? () #42 0xb990 in ?? () #43 0xb970 in ?? () #44 0xb970 in ?? () #45 0x in ?? () #46 0x080a81fe in _IO_stdin_used () #47 0x0001 in ?? () #48 0x080a9560 in _IO_stdin_used () #49 0x080a7e16 in _IO_stdin_used () #50 0x080a7e2b in _IO_stdin_used () #51 0x080a7dfc in _IO_stdin_used () #52 0x0001 in ?? () #53 0xb988 in ?? () #54 0xb6f4c800 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #55 0x082d8a48 in ?? () #56 0x000d in ?? () #57 0xb6603e54 in ?? () from /usr/lib/libstdc++.so.5 #58 0xb6f4c800 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #59 0x080fbd30 in ?? () #60 0xb9b8 in ?? () #61 0xb65e22fe in operator new () from /usr/lib/libstdc++.so.5 #62 0xb6406904 in __libc_start_main () from /lib/tls/libc.so.6 #63 0x08069421 in ?? () -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11-rc3-bk8 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages kopete depends on: ii kdelibs4 4:3.3.2-2 KDE core libraries ii libart-2.0-2 2.3.17-1
Reassigning generic screensaver request
reassign 297745 kdebase thanks mate Hi -- this bug (kscreensaver: add control to select screensavers) is specific to the screensaver infrastructure so I'm reassigning to kdebase. b. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Another generic screensaver bug
reassign 297747 kdelibs4 thanks mate Hi -- another generic screensaver bug (kscreensaver: add control to identify running screensaver). This one I'm reassigning to kdelibs4, which provides the core KDE screensaver classes. b. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processed: Reassigning generic screensaver request
Processing commands for [EMAIL PROTECTED]: > reassign 297745 kdebase Bug#297745: kscreensaver: add control to select screensavers Bug reassigned from package `kscreensaver' to `kdebase'. > thanks mate Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processed: Another generic screensaver bug
Processing commands for [EMAIL PROTECTED]: > reassign 297747 kdelibs4 Bug#297747: kscreensaver: add control to identify running screensaver Bug reassigned from package `kscreensaver' to `kdelibs4'. > thanks mate Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]