[ 43%] Building CXX object CMakeFiles/jabber.dir/src/jSlotSignal.cpp.o /usr/bin/c++ -DHAVE_DN_SKIPNAME -DHAVE_GNUTLS -DHAVE_LIBIDN -DHAVE_RES_QUERY -DHAVE_RES_QUERYDOMAIN -DHAVE_SETSOCKOPT -DHAVE_ZLIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -Djabber_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -I/usr/include/p11-kit-1 -lgloox -lresolv -lidn -lgnutls -lz -lpthread -fPIC -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -isystem /usr/include/QtCore -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/include -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/. -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/libs -o CMakeFiles/jabber.dir/src/jSlotSignal.cpp.o -c /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jSlotSignal.cpp /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jSlotSignal.cpp: In member function 'void jSlotSignal::setPrivacyLists(const QStringList&, const QString&)': /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jSlotSignal.cpp:299:11: warning: unused variable 'activeAction' [-Wunused-variable] QAction *activeAction = 0; ^ [ 44%] Building CXX object CMakeFiles/jabber.dir/src/jAdhoc.cpp.o /usr/bin/c++ -DHAVE_DN_SKIPNAME -DHAVE_GNUTLS -DHAVE_LIBIDN -DHAVE_RES_QUERY -DHAVE_RES_QUERYDOMAIN -DHAVE_SETSOCKOPT -DHAVE_ZLIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -Djabber_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -I/usr/include/p11-kit-1 -lgloox -lresolv -lidn -lgnutls -lz -lpthread -fPIC -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -isystem /usr/include/QtCore -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/include -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/. -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src -I/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/libs -o CMakeFiles/jabber.dir/src/jAdhoc.cpp.o -c /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp: In member function 'virtual void jAdhoc::handleAdhocExecutionResult(const gloox::JID&, const gloox::Adhoc::Command&)': /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:44:35: warning: 'const gloox::AdhocPlugin* gloox::Adhoc::Command::form() const' is deprecated [-Wdeprecated-declarations] StringList lst = command.form()->instructions(); ^ In file included from /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.h:29:0, from /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:16: /usr/include/gloox/adhoc.h:314:47: note: declared here GLOOX_DEPRECATED const AdhocPlugin* form() const { return m_plugin; } ^ /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:44:38: error: 'const class gloox::AdhocPlugin' has no member named 'instructions' StringList lst = command.form()->instructions(); ^ /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:50:64: warning: 'const gloox::AdhocPlugin* gloox::Adhoc::Command::form() const' is deprecated [-Wdeprecated-declarations] d_form = new jDataForm(const_cast(command.form()), this); ^ In file included from /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.h:29:0, from /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:16: /usr/include/gloox/adhoc.h:314:47: note: declared here GLOOX_DEPRECATED const AdhocPlugin* form() const { return m_plugin; } ^ /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:50:65: error: invalid const_cast from type 'const gloox::AdhocPlugin*' to type 'gloox::DataForm*' d_form = new jDataForm(const_cast(command.form()), this); ^ /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:53:18: warning: unused variable 'horizontal_spacer' [-Wunused-variable] QSpacerItem *horizontal_spacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); ^ /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp: In member function 'virtual void jAdhoc::handleAdhocCommands(const gloox::JID&, const StringMap&)': /home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber/src/jAdhoc.cpp:86:18: warning: unused variable 'horizontal_spacer' [-Wunused-variable] QSpacerItem *horizontal_spacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); ^ CMakeFiles/jabber.dir/build.make:826: recipe for target 'CMakeFiles/jabber.dir/src/jAdhoc.cpp.o' failed make[2]: *** [CMakeFiles/jabber.dir/src/jAdhoc.cpp.o] Error 1 make[2]: Leaving directory '/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber' CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/jabber.dir/all' failed make[1]: *** [CMakeFiles/jabber.dir/all] Error 2 make[1]: Leaving directory '/home/xam/rpmbuild/BUILD/qutim-0.2.0/plugins/jabber' Makefile:130: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.NwGota (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NwGota (%build) [xam@xam ~]$