Version: unspecified (using KDE 4.7.3) OS: Linux amd64 system. kernel is 3.1.0-gentoo. Qt-4.7.4, samba-3.5.11 I am trying to build smoke-4.6.5 for kdebindings-4.7.3, but the error has been present for some time. The first error message that I see indicates that while compiling smoke at x_18.o, KSambaShareData is an incomplete type. Things deteriorate from there. Reproducible: Always Steps to Reproduce: On gentoo: become root emerge smoke Actual Results: [ 80%] Building CXX object smoke/kde/kio/CMakeFiles/smokekio.dir/x_18.o /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_8.cpp: In member function 'void __smokeplasma::x_Plasma__ScrollWidget::x_24(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_8.cpp:821:88: warning: 'void Plasma::ScrollWidget::registerAsDragHandle(QGraphicsWidget*)' is deprecated (declared at /usr/include/plasma/widgets/scrollwidget.h:185) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_8.cpp: In member function 'void __smokeplasma::x_Plasma__ScrollWidget::x_25(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_8.cpp:826:90: warning: 'void Plasma::ScrollWidget::unregisterAsDragHandle(QGraphicsWidget*)' is deprecated (declared at /usr/include/plasma/widgets/scrollwidget.h:197) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In static member function 'static void __smokekio::x_KPropertiesDialogPlugin::x_10(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:1827:91: warning: 'static bool KPropertiesDialogPlugin::isDesktopFile(const KFileItem&)' is deprecated (declared at /usr/include/kpropertiesdialog.h:372) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In static member function 'static void __smokekio::x_KRun::x_27(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2229:49: warning: 'static void KRun::shellQuote(QString&)' is deprecated (declared at /usr/include/krun.h:318) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_52(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2379:42: warning: 'QTimer& KRun::timer()' is deprecated (declared at /usr/include/krun.h:496) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_53(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2384:52: warning: 'void KRun::setDoScanFile(bool)' is deprecated (declared at /usr/include/krun.h:504) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_54(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2389:61: warning: 'bool KRun::doScanFile() const' is deprecated (declared at /usr/include/krun.h:512) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_55(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2394:52: warning: 'void KRun::setIsDirecory(bool)' is deprecated (declared at /usr/include/krun.h:520) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_57(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2404:62: warning: 'void KRun::setInitializeNextAction(bool)' is deprecated (declared at /usr/include/krun.h:532) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp: In member function 'void __smokekio::x_KRun::x_58(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_17.cpp:2409:71: warning: 'bool KRun::initializeNextAction() const' is deprecated (declared at /usr/include/krun.h:539) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp: In member function 'void __smokekio::x_KSambaShare::x_13(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:76:25: error: variable 'KSambaShareData xret' has initializer but incomplete type /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:76:119: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:77:55: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp: In member function 'void __smokekio::x_KSambaShare::x_15(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:86:79: warning: 'QString KSambaShare::smbConfPath() const' is deprecated (declared at /usr/include/ksambashare.h:115) [ 81%] Building CXX object smoke/kde/kio/CMakeFiles/smokekio.dir/x_19.o In file included from /usr/include/kdemacros.h:162:0, from /usr/include/kio/kio_export.h:24, from /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5/smoke/kde/kio/kio_includes.h:1, from /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:2: /usr/include/qt4/QtCore/qglobal.h: At global scope: /usr/include/qt4/QtCore/qglobal.h: In instantiation of 'QTypeInfo<KSambaShareData>': /usr/include/qt4/QtCore/qlist.h:417:5: instantiated from 'void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = KSambaShareData]' /usr/include/qt4/QtCore/qlist.h:744:5: instantiated from 'void QList<T>::free(QListData::Data*) [with T = KSambaShareData]' /usr/include/qt4/QtCore/qlist.h:719:9: instantiated from 'QList<T>::~QList() [with T = KSambaShareData]' /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:81:127: instantiated from here /usr/include/qt4/QtCore/qglobal.h:1989:5: error: invalid application of 'sizeof' to incomplete type 'KSambaShareData' In file included from /usr/include/qt4/QtCore/qobject.h:50:0, from /usr/include/qt4/QtCore/QObject:1, from /usr/include/kio/connection.h:33, from /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5/smoke/kde/kio/kio_includes.h:2, from /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:2: /usr/include/qt4/QtCore/qlist.h: In member function 'void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = KSambaShareData]': /usr/include/qt4/QtCore/qlist.h:744:5: instantiated from 'void QList<T>::free(QListData::Data*) [with T = KSambaShareData]' /usr/include/qt4/QtCore/qlist.h:719:9: instantiated from 'QList<T>::~QList() [with T = KSambaShareData]' /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:81:127: instantiated from here /usr/include/qt4/QtCore/qlist.h:420:28: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' /usr/include/qt4/QtCore/qlist.h: In member function 'void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = KSambaShareData]': /usr/include/qt4/QtCore/qlist.h:698:9: instantiated from 'void QList<T>::detach_helper(int) [with T = KSambaShareData]' /usr/include/qt4/QtCore/qlist.h:712:5: instantiated from 'void QList<T>::detach_helper() [with T = KSambaShareData]' /usr/include/qt4/QtCore/qlist.h:118:80: instantiated from 'QList<T>::QList(const QList<T>&) [with T = KSambaShareData]' /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_18.cpp:81:127: instantiated from here /usr/include/qt4/QtCore/qlist.h:386:17: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' /usr/include/qt4/QtCore/qlist.h:399:17: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' /usr/include/qt4/QtCore/qlist.h:405:17: error: invalid use of incomplete type 'struct KSambaShareData' /usr/include/ksambashare.h:26:7: error: forward declaration of 'struct KSambaShareData' [ 81%] Building CXX object smoke/kde/plasma/CMakeFiles/smokeplasma.dir/x_9.o make[2]: *** [smoke/kde/kio/CMakeFiles/smokekio.dir/x_18.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 82%] Building CXX object smoke/kde/plasma/CMakeFiles/smokeplasma.dir/x_10.o /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp: In member function 'void __smokekio::x_KUriFilterPlugin::x_17(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp:127:181: warning: 'void KUriFilterPlugin::setPreferredSearchProviders(KUriFilterData&, const KUriFilterPlugin::ProviderInfoList&) const' is deprecated (declared at /usr/include/kurifilter.h:732) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp: In member function 'virtual void __smokekio::x_KUrlComboBox::setContextMenuEnabled(bool)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp:543:50: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kcombobox.h:292) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp: In member function 'void __smokekio::x_KUrlRequester::x_30(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/kio/x_19.cpp:2195:67: warning: 'void KUrlRequester::setPath(const QString&)' is deprecated (declared at /usr/include/kurlrequester.h:243) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_10.cpp: In member function 'void __smokeplasma::x_Plasma__Wallpaper::x_50(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_10.cpp:2488:71: warning: 'void Plasma::Wallpaper::urlDropped(const KUrl&)' is deprecated (declared at /usr/include/plasma/wallpaper.h:423) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_9.cpp: In member function 'void __smokeplasma::x_Plasma__ToolTipContent::x_14(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_9.cpp:4405:85: warning: 'void Plasma::ToolTipContent::setWindowToPreview(WId)' is deprecated (declared at /usr/include/plasma/tooltipcontent.h:125) /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_9.cpp: In member function 'void __smokeplasma::x_Plasma__ToolTipContent::x_15(Smoke::StackItem*)': /var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5_build/smoke/kde/plasma/x_9.cpp:4410:111: warning: 'WId Plasma::ToolTipContent::windowToPreview() const' is deprecated (declared at /usr/include/plasma/tooltipcontent.h:132) make[1]: *** [smoke/kde/kio/CMakeFiles/smokekio.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared library ../../../lib/libsmokeplasma.so [ 82%] Built target smokeplasma make: *** [all] Error 2 * ERROR: kde-base/smoke-4.6.5 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =kde-base/smoke-4.6.5', * the complete build log and the output of 'emerge -pqv =kde-base/smoke-4.6.5'. * The complete build log is located at '/var/tmp/portage/kde-base/smoke-4.6.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/smoke-4.6.5/temp/environment'. * S: '/var/tmp/portage/kde-base/smoke-4.6.5/work/smoke-4.6.5' >>> Failed to emerge kde-base/smoke-4.6.5, Log file: >>> '/var/tmp/portage/kde-base/smoke-4.6.5/temp/build.log' Expected Results: smoke compilation should succeed with installation into system.
What do you refer to as Smoke 4.6.5 ? With each KDE SC release, there's also a new Smoke release. So if I'm not mistaken that should be 4.7.3 as well. I'm seeing smoke/kde/ in your build log, which indicates that you're using an outdated version (with the git transition we've split Smoke into smokeqt and smokekde). I just checked, smokekde compiles perfectly fine here with KDE SC 4.7 (some branch snapshot).
I'm working in gentoo and their software updating detection system did not detect the change in the way smoke is handled. I was able to compile both smokekde and smokeqt successfully. Thank you for your help.
Good :)