Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546424 - net-p2p/qbittorrent-3.1.12 fails to compile
Summary: net-p2p/qbittorrent-3.1.12 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 09:15 UTC by Matthias Lippert
Modified: 2015-05-10 13:13 UTC (History)
2 users (show)

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


Attachments
the build log (build.log,68.00 KB, text/x-log)
2015-04-13 09:15 UTC, Matthias Lippert
Details
my "emerge --info" output (emerge-info.txt,20.35 KB, text/plain)
2015-04-13 09:18 UTC, Matthias Lippert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Lippert 2015-04-13 09:15:37 UTC
Created attachment 401160 [details]
the build log

on my ~amd64 system qbittorrent fails to compile with this:

x86_64-pc-linux-gnu-g++ -c -march=nocona -O2 -pipe -ggdb -Wformat -Wformat-security -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.12\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=12 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -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/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o mainwindow.o mainwindow.cpp
x86_64-pc-linux-gnu-g++ -c -march=nocona -O2 -pipe -ggdb -Wformat -Wformat-security -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.12\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=12 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -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/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o ico.o ico.cpp
In file included from mainwindow.cpp:83:0:
sessionapplication.h:39:33: fatal error: qtsingleapplication.h: No such file or directory
 #include "qtsingleapplication.h"
                                 ^
compilation terminated.
Makefile:1992: recipe for target 'mainwindow.o' failed
make[1]: *** [mainwindow.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12/src'
Makefile:39: recipe for target 'sub-src-make_default' failed
make: *** [sub-src-make_default] Error 2
 * ERROR: net-p2p/qbittorrent-3.1.12::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-p2p/qbittorrent-3.1.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-p2p/qbittorrent-3.1.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/temp/environment'.
 * Working directory: '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12'
 * S: '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12
Comment 1 Matthias Lippert 2015-04-13 09:18:44 UTC
Created attachment 401162 [details]
my "emerge --info" output
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2015-04-19 08:39:43 UTC
What is the version of  dev-qt/qtsingleapplication?
Comment 3 pereira.alex 2015-05-10 10:21:45 UTC
this was also happening to me. 

what fixed it was recompiling qtsingleapplication with qt4 use flag.


info:
Installed versions:  2.6.1_p20130904-r2{tbz2}(11:17:31 10-05-2015)(X qt4 qt5 -doc)
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-05-10 13:13:17 UTC
Thanks, I've added the missing USE dependency.