[testinstall@localhost SPECS]$ rpmbuild -ba pclos-qbittorrent.spec
Executing(%prep): /bin/sh -e /home/testinstall/src/tmp/rpm-tmp.5GfqTa
+ umask 022
+ cd /home/testinstall/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/testinstall/src/rpm/BUILD
+ rm -rf qbittorrent-3.0.3
+ /usr/bin/xz -dc /home/testinstall/src/rpm/SOURCES/qbittorrent-3.0.3.tar.xz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd qbittorrent-3.0.3
+ exit 0
Executing(%build): /bin/sh -e /home/testinstall/src/tmp/rpm-tmp.bOkEi4
+ umask 022
+ cd /home/testinstall/src/rpm/BUILD
+ cd qbittorrent-3.0.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ ./configure --prefix=/usr
Configuring qbittorrent ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.6 ... yes
Checking for QtDBus >= 4.5 ... yes
Checking for pkg-config executable ... yes
Checking for libtorrent-rasterbar >= 0.15.0 ... yes
Checking for libboost ... yes
Checking for GeoIP Database (optional) ... yes
Checking for qtsingleapplication library ... [shipped] yes
Good, your configure finished. Now run /usr/bin/gmake.
+ make -j2
cd src/ && /usr/lib/qt4/bin/qmake /home/testinstall/src/rpm/BUILD/qbittorrent-3.0.3/src/src.pro -o Makefile
Project MESSAGE: Project is built in RELEASE mode.
Project MESSAGE: Disabling debug output.
Project MESSAGE: GeoIP database will not be embedded in qBittorrent executable.
cd src/ && make -f Makefile
make[1]: Entering directory `/home/testinstall/src/rpm/BUILD/qbittorrent-3.0.3/src'
/usr/lib/qt4/bin/uic preferences/options.ui -o ui_options.h
/usr/lib/qt4/bin/uic properties/propertieswidget.ui -o ui_propertieswidget.h
/usr/lib/qt4/bin/uic properties/trackersadditiondlg.ui -o ui_trackersadditiondlg.h
/usr/lib/qt4/bin/uic properties/peer.ui -o ui_peer.h
/usr/lib/qt4/bin/uic searchengine/search.ui -o ui_search.h
/usr/lib/qt4/bin/uic searchengine/engineselect.ui -o ui_engineselect.h
/usr/lib/qt4/bin/uic searchengine/pluginsource.ui -o ui_pluginsource.h
/usr/lib/qt4/bin/uic rss/rss.ui -o ui_rss.h
/usr/lib/qt4/bin/uic rss/rsssettingsdlg.ui -o ui_rsssettingsdlg.h
/usr/lib/qt4/bin/uic rss/automatedrssdownloader.ui -o ui_automatedrssdownloader.h
/usr/lib/qt4/bin/uic rss/cookiesdlg.ui -o ui_cookiesdlg.h
/usr/lib/qt4/bin/uic torrentcreator/createtorrent.ui -o ui_createtorrent.h
/usr/lib/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt4/bin/uic about.ui -o ui_about.h
/usr/lib/qt4/bin/uic preview.ui -o ui_preview.h
/usr/lib/qt4/bin/uic login.ui -o ui_login.h
/usr/lib/qt4/bin/uic downloadfromurldlg.ui -o ui_downloadfromurldlg.h
/usr/lib/qt4/bin/uic bandwidth_limit.ui -o ui_bandwidth_limit.h
/usr/lib/qt4/bin/uic updownratiodlg.ui -o ui_updownratiodlg.h
/usr/lib/qt4/bin/uic confirmdeletiondlg.ui -o ui_confirmdeletiondlg.h
/usr/lib/qt4/bin/uic torrentimportdlg.ui -o ui_torrentimportdlg.h
/usr/lib/qt4/bin/uic executionlog.ui -o ui_executionlog.h
/usr/lib/qt4/bin/uic addnewtorrentdialog.ui -o ui_addnewtorrentdialog.h
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.0.3\" -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_BUGFIX=3 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o notifications.o qtnotify/notifications.cpp
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.0.3\" -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_BUGFIX=3 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o qtsingleapplication.o qtsingleapp/qtsingleapplication.cpp
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.0.3\" -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_BUGFIX=3 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o qtlocalpeer.o qtsingleapp/qtlocalpeer.cpp
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.0.3\" -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_BUGFIX=3 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o qbtsession.o qtlibtorrent/qbtsession.cpp
In file included from /usr/include/boost/filesystem/path.hpp:24:0,
from /usr/include/libtorrent/torrent_info.hpp:45,
from ./misc.h:35,
from ./filesystemwatcher.h:25,
from qtlibtorrent/qbtsession.cpp:41:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.0.3\" -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_BUGFIX=3 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o qtorrenthandle.o qtlibtorrent/qtorrenthandle.cpp
In file included from /usr/include/boost/filesystem/path.hpp:24:0,
from /usr/include/libtorrent/torrent_info.hpp:45,
from ./misc.h:35,
from qtlibtorrent/qtorrenthandle.cpp:38:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
In file included from /usr/include/libtorrent/torrent_info.hpp:61:0,
from ./misc.h:35,
from ./filesystemwatcher.h:25,
from qtlibtorrent/qbtsession.cpp:41:
/usr/include/libtorrent/file_storage.hpp:110:8: error: ‘void libtorrent::file_storage::add_file(const boost::filesystem::wpath&, libtorrent::size_type, int, time_t, const boost::filesystem::path&)’ cannot be overloaded
/usr/include/libtorrent/file_storage.hpp:106:8: error: with ‘void libtorrent::file_storage::add_file(const boost::filesystem::path&, libtorrent::size_type, int, time_t, const boost::filesystem::path&)’
In file included from ./misc.h:35:0,
from ./filesystemwatcher.h:25,
from qtlibtorrent/qbtsession.cpp:41:
/usr/include/libtorrent/torrent_info.hpp:195:3: error: ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::wpath&)’ cannot be overloaded
/usr/include/libtorrent/torrent_info.hpp:193:3: error: with ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::path&)’
/usr/include/libtorrent/torrent_info.hpp:204:3: error: ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::wpath&, boost::system::error_code&)’ cannot be overloaded
/usr/include/libtorrent/torrent_info.hpp:202:3: error: with ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::path&, boost::system::error_code&)’
In file included from /usr/include/libtorrent/torrent_info.hpp:61:0,
from ./misc.h:35,
from qtlibtorrent/qtorrenthandle.cpp:38:
/usr/include/libtorrent/file_storage.hpp:110:8: error: ‘void libtorrent::file_storage::add_file(const boost::filesystem::wpath&, libtorrent::size_type, int, time_t, const boost::filesystem::path&)’ cannot be overloaded
/usr/include/libtorrent/file_storage.hpp:106:8: error: with ‘void libtorrent::file_storage::add_file(const boost::filesystem::path&, libtorrent::size_type, int, time_t, const boost::filesystem::path&)’
In file included from ./misc.h:35:0,
from qtlibtorrent/qtorrenthandle.cpp:38:
/usr/include/libtorrent/torrent_info.hpp:195:3: error: ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::wpath&)’ cannot be overloaded
/usr/include/libtorrent/torrent_info.hpp:193:3: error: with ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::path&)’
/usr/include/libtorrent/torrent_info.hpp:204:3: error: ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::wpath&, boost::system::error_code&)’ cannot be overloaded
/usr/include/libtorrent/torrent_info.hpp:202:3: error: with ‘libtorrent::torrent_info::torrent_info(const boost::filesystem::path&, boost::system::error_code&)’
In file included from ./misc.h:36:0,
from ./filesystemwatcher.h:25,
from qtlibtorrent/qbtsession.cpp:41:
/usr/include/libtorrent/torrent_handle.hpp:585:8: error: ‘void libtorrent::torrent_handle::move_storage(const boost::filesystem::wpath&) const’ cannot be overloaded
/usr/include/libtorrent/torrent_handle.hpp:581:8: error: with ‘void libtorrent::torrent_handle::move_storage(const boost::filesystem::path&) const’
/usr/include/libtorrent/torrent_handle.hpp:586:8: error: ‘void libtorrent::torrent_handle::rename_file(int, const boost::filesystem::wpath&) const’ cannot be overloaded
/usr/include/libtorrent/torrent_handle.hpp:582:8: error: with ‘void libtorrent::torrent_handle::rename_file(int, const boost::filesystem::path&) const’
In file included from ./misc.h:36:0,
from qtlibtorrent/qtorrenthandle.cpp:38:
/usr/include/libtorrent/torrent_handle.hpp:585:8: error: ‘void libtorrent::torrent_handle::move_storage(const boost::filesystem::wpath&) const’ cannot be overloaded
/usr/include/libtorrent/torrent_handle.hpp:581:8: error: with ‘void libtorrent::torrent_handle::move_storage(const boost::filesystem::path&) const’
/usr/include/libtorrent/torrent_handle.hpp:586:8: error: ‘void libtorrent::torrent_handle::rename_file(int, const boost::filesystem::wpath&) const’ cannot be overloaded
/usr/include/libtorrent/torrent_handle.hpp:582:8: error: with ‘void libtorrent::torrent_handle::rename_file(int, const boost::filesystem::path&) const’
qtlibtorrent/qtorrenthandle.cpp: In member function ‘QString QTorrentHandle::filename_at(unsigned int) const’:
qtlibtorrent/qtorrenthandle.cpp:324:88: error: no matching function for call to ‘misc::toQStringU(boost::filesystem::path)’
./misc.h:69:25: note: candidates are: static QString misc::toQStringU(const std::string&)
./misc.h:73:25: note: static QString misc::toQStringU(const char*)
qtlibtorrent/qbtsession.cpp: In constructor ‘QBtSession::QBtSession()’:
qtlibtorrent/qbtsession.cpp:120:3: error: ‘default_name_check’ is not a member of ‘boost::filesystem::path’
qtlibtorrent/qbtsession.cpp:120:47: error: ‘no_check’ is not a member of ‘boost::filesystem’
qtlibtorrent/qbtsession.cpp: At global scope:
qtlibtorrent/qbtsession.cpp:894:16: warning: unused parameter ‘fromScanDir’
qtlibtorrent/qbtsession.cpp:894:16: warning: unused parameter ‘filePath’
qtlibtorrent/qbtsession.cpp: In member function ‘void QBtSession::setProxySettings(libtorrent::proxy_settings)’:
qtlibtorrent/qbtsession.cpp:2064:37: warning: ‘void libtorrent::session::set_tracker_proxy(const libtorrent::proxy_settings&)’ is deprecated (declared at /usr/include/libtorrent/session.hpp:412)
qtlibtorrent/qbtsession.cpp:2068:31: warning: ‘void libtorrent::session::set_peer_proxy(const libtorrent::proxy_settings&)’ is deprecated (declared at /usr/include/libtorrent/session.hpp:408)
qtlibtorrent/qbtsession.cpp:2069:35: warning: ‘void libtorrent::session::set_web_seed_proxy(const libtorrent::proxy_settings&)’ is deprecated (declared at /usr/include/libtorrent/session.hpp:410)
qtlibtorrent/qbtsession.cpp:2070:30: warning: ‘void libtorrent::session::set_dht_proxy(const libtorrent::proxy_settings&)’ is deprecated (declared at /usr/include/libtorrent/session.hpp:423)
qtlibtorrent/qtorrenthandle.cpp:326:1: warning: control reaches end of non-void function
make[1]: *** [qtorrenthandle.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qbtsession.o] Error 1
make[1]: Leaving directory `/home/testinstall/src/rpm/BUILD/qbittorrent-3.0.3/src'
make: *** [sub-src-make_default] Error 2
error: Bad exit status from /home/testinstall/src/tmp/rpm-tmp.bOkEi4 (%build)
RPM build errors:
Bad exit status from /home/testinstall/src/tmp/rpm-tmp.bOkEi4 (%build)