Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613194 - net-p2p/qbittorrent[-X]: CMake Error at cmake/Modules/FindQtSingleApplication.cmake:77 (MESSAGE): Could not find QtSingleApplication library
Summary: net-p2p/qbittorrent[-X]: CMake Error at cmake/Modules/FindQtSingleApplication...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-19 10:15 UTC by Klemen Mihevc
Modified: 2017-12-30 12:42 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,4.88 KB, application/octet-stream)
2017-03-19 10:15 UTC, Klemen Mihevc
Details
new build.log after recompile (build.log,4.88 KB, text/plain)
2017-03-19 15:01 UTC, Klemen Mihevc
Details
CMakeError.log if it will help (CMakeError.log,3.31 KB, text/plain)
2017-03-19 15:06 UTC, Klemen Mihevc
Details
CMakeOutput.log if it will help (CMakeOutput.log,47.96 KB, text/plain)
2017-03-19 15:07 UTC, Klemen Mihevc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klemen Mihevc 2017-03-19 10:15:17 UTC
Created attachment 467550 [details]
build.log

Since qbittorrent-3.3.10.ebuild qbittorrent does not want to compile on my system. It fails during configuration phase with missing QtSingleApplication lib, however that lib is installed on my system thrue portage. If i use old ebuild (qbittorrent-3.3.7.ebuild) and just change package version, i get successfully compiled qbittorrent 3.3.11

build.log attached


mih ~ # emerge --info
Portage 2.3.5 (python 3.6.0-final-0, default/linux/x86/13.0, gcc-5.4.0, glibc-2.24-r1, 4.10.4-gentoo i686)
=================================================================
System uname: Linux-4.10.4-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.3
KiB Mem:     2069304 total,    243748 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sun, 19 Mar 2017 09:15:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo, 3.6.0::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

LocalPortage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -pipe -O2 -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -pipe -O2 -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -pipe -O2 -fomit-frame-pointer -mfpmath=sse"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -pipe -O2 -fomit-frame-pointer -mfpmath=sse"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="sl_SI.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl ads aio apache2 apng authfile berkdb bzip2 cacert caps cgi cli client corefonts cracklib crypt curl cxx dbus dhcp dlz dovecot-sasl dri eap-tls exif expat experimental extraengine fontconfig fortran ftp gd gdbm gif glib gmp gpg gssapi gzip hardened iconv icu idn imap intl iproute2 iptables ipv6 ithreads java jpeg kerberos lcms ldap lm_sensors lz4 lzma lzo maildir managesieve modules mysql mysqli ncurses nls nptl openldap openmp openssl pam pch pci pcntl pcre pdo perl php png posix python rar readline rpc rtmp ruby samba sasl seccomp server session sieve slang smtp soap sockets socks5 spell sqlite ssh ssl suexec svg tcpd threads tiff truetype udev unicode urandom usb vhosts x86 xattr xinetd xml xmlreader xmlrpc xmlwriter xslt xz zip zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias access_compat auth_digest authn_dbd ident lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_http proxy_scgi slotmem_shm" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en sl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.6"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Sturmlechner gentoo-dev 2017-03-19 10:20:47 UTC
-- Boost version: 1.52.0

Your system is in deeper trouble than that.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-03-19 10:25:55 UTC
Please check the version of boost actually installed on your system: `equery l boost`

Then make sure you remove any bogus 'boost' directory below /usr/include that is NOT '/usr/include/boost' - basically anything with a version number attached. To be safe, you can check it is not owned by any package using `equery b /usr/include/boost-1.52`
Comment 3 Klemen Mihevc 2017-03-19 15:00:46 UTC
There was in fact additional boost directory inside /usr/include from old version that i removed, after it i removed qbittorrent and run emerge -c, so it cleaned up all dependencys that qbittorrent installed and after it tryed to reemerge qbittorrent, but without luck, after all dependecys got recompiled i again got stuck with same error, just that now detects correct version of boost lib.

new build.log attached.
Comment 4 Klemen Mihevc 2017-03-19 15:01:12 UTC
Created attachment 467566 [details]
new build.log after recompile
Comment 5 Klemen Mihevc 2017-03-19 15:06:39 UTC
Created attachment 467568 [details]
CMakeError.log if it will help
Comment 6 Klemen Mihevc 2017-03-19 15:07:06 UTC
Created attachment 467570 [details]
CMakeOutput.log if it will help
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2017-03-19 15:38:09 UTC
It's a different error now, and I can reproduce it.

CMake Error at cmake/Modules/FindQtSingleApplication.cmake:77 (MESSAGE):
  Could not find QtSingleApplication library
Call Stack (most recent call first):
  src/CMakeLists.txt:93 (find_package)


dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo was built with the following:
USE="X qt4 qt5 -doc" ABI_X86="64"
Comment 8 Andreas Sturmlechner gentoo-dev 2017-03-19 16:00:27 UTC
Strange, works fine for me. Klemen, did you rebuild qtsingleapplication as well, to be sure?
Comment 9 Klemen Mihevc 2017-03-19 16:22:17 UTC
(In reply to Andreas Sturmlechner from comment #8)
> Strange, works fine for me. Klemen, did you rebuild qtsingleapplication as
> well, to be sure?

Yes, packages rebuild:

1489928308:  *** emerge  qbittorrent
1489928316:  >>> emerge (1 of 14) dev-qt/qtchooser-0_p20151008 to /
1489928316:  === (1 of 14) Cleaning (dev-qt/qtchooser-0_p20151008::/usr/portage/dev-qt/qtchooser/qtchooser-0_p20151008.ebuild)
1489928316:  === (1 of 14) Compiling/Merging (dev-qt/qtchooser-0_p20151008::/usr/portage/dev-qt/qtchooser/qtchooser-0_p20151008.ebuild)
1489928328:  === (1 of 14) Merging (dev-qt/qtchooser-0_p20151008::/usr/portage/dev-qt/qtchooser/qtchooser-0_p20151008.ebuild)
1489928331:  >>> AUTOCLEAN: dev-qt/qtchooser:0
1489928335:  === (1 of 14) Post-Build Cleaning (dev-qt/qtchooser-0_p20151008::/usr/portage/dev-qt/qtchooser/qtchooser-0_p20151008.ebuild)
1489928335:  ::: completed emerge (1 of 14) dev-qt/qtchooser-0_p20151008 to /
1489928335:  >>> emerge (2 of 14) dev-libs/geoip-1.6.9-r1 to /
1489928335:  === (2 of 14) Cleaning (dev-libs/geoip-1.6.9-r1::/usr/portage/dev-libs/geoip/geoip-1.6.9-r1.ebuild)
1489928335:  === (2 of 14) Compiling/Merging (dev-libs/geoip-1.6.9-r1::/usr/portage/dev-libs/geoip/geoip-1.6.9-r1.ebuild)
1489928386:  === (2 of 14) Merging (dev-libs/geoip-1.6.9-r1::/usr/portage/dev-libs/geoip/geoip-1.6.9-r1.ebuild)
1489928389:  >>> AUTOCLEAN: dev-libs/geoip:0
1489928394:  === (2 of 14) Post-Build Cleaning (dev-libs/geoip-1.6.9-r1::/usr/portage/dev-libs/geoip/geoip-1.6.9-r1.ebuild)
1489928394:  ::: completed emerge (2 of 14) dev-libs/geoip-1.6.9-r1 to /
1489928394:  >>> emerge (3 of 14) dev-libs/double-conversion-2.0.1 to /
1489928394:  === (3 of 14) Cleaning (dev-libs/double-conversion-2.0.1::/usr/portage/dev-libs/double-conversion/double-conversion-2.0.1.ebuild)
1489928394:  === (3 of 14) Compiling/Merging (dev-libs/double-conversion-2.0.1::/usr/portage/dev-libs/double-conversion/double-conversion-2.0.1.ebuild)
1489928419:  === (3 of 14) Merging (dev-libs/double-conversion-2.0.1::/usr/portage/dev-libs/double-conversion/double-conversion-2.0.1.ebuild)
1489928425:  >>> AUTOCLEAN: dev-libs/double-conversion:0
1489928432:  === (3 of 14) Post-Build Cleaning (dev-libs/double-conversion-2.0.1::/usr/portage/dev-libs/double-conversion/double-conversion-2.0.1.ebuild)
1489928432:  ::: completed emerge (3 of 14) dev-libs/double-conversion-2.0.1 to /
1489928432:  >>> emerge (4 of 14) dev-util/boost-build-1.63.0 to /
1489928432:  === (4 of 14) Cleaning (dev-util/boost-build-1.63.0::/usr/portage/dev-util/boost-build/boost-build-1.63.0.ebuild)
1489928438:  === (4 of 14) Compiling/Merging (dev-util/boost-build-1.63.0::/usr/portage/dev-util/boost-build/boost-build-1.63.0.ebuild)
1489928599:  === (4 of 14) Merging (dev-util/boost-build-1.63.0::/usr/portage/dev-util/boost-build/boost-build-1.63.0.ebuild)
1489928603:  >>> AUTOCLEAN: dev-util/boost-build:0
1489928608:  === (4 of 14) Post-Build Cleaning (dev-util/boost-build-1.63.0::/usr/portage/dev-util/boost-build/boost-build-1.63.0.ebuild)
1489928608:  ::: completed emerge (4 of 14) dev-util/boost-build-1.63.0 to /
1489928608:  >>> emerge (5 of 14) dev-qt/qtcore-5.7.1-r2 to /
1489928609:  === (5 of 14) Cleaning (dev-qt/qtcore-5.7.1-r2::/usr/portage/dev-qt/qtcore/qtcore-5.7.1-r2.ebuild)
1489928611:  === (5 of 14) Compiling/Merging (dev-qt/qtcore-5.7.1-r2::/usr/portage/dev-qt/qtcore/qtcore-5.7.1-r2.ebuild)
1489930475:  === (5 of 14) Merging (dev-qt/qtcore-5.7.1-r2::/usr/portage/dev-qt/qtcore/qtcore-5.7.1-r2.ebuild)
1489930481:  >>> AUTOCLEAN: dev-qt/qtcore:5
1489930488:  === (5 of 14) Post-Build Cleaning (dev-qt/qtcore-5.7.1-r2::/usr/portage/dev-qt/qtcore/qtcore-5.7.1-r2.ebuild)
1489930488:  ::: completed emerge (5 of 14) dev-qt/qtcore-5.7.1-r2 to /
1489930489:  >>> emerge (6 of 14) dev-libs/boost-1.63.0 to /
1489930489:  === (6 of 14) Cleaning (dev-libs/boost-1.63.0::/usr/portage/dev-libs/boost/boost-1.63.0.ebuild)
1489930493:  === (6 of 14) Compiling/Merging (dev-libs/boost-1.63.0::/usr/portage/dev-libs/boost/boost-1.63.0.ebuild)
1489933003:  === (6 of 14) Merging (dev-libs/boost-1.63.0::/usr/portage/dev-libs/boost/boost-1.63.0.ebuild)
1489933033:  >>> AUTOCLEAN: dev-libs/boost:0
1489933052:  === (6 of 14) Post-Build Cleaning (dev-libs/boost-1.63.0::/usr/portage/dev-libs/boost/boost-1.63.0.ebuild)
1489933052:  ::: completed emerge (6 of 14) dev-libs/boost-1.63.0 to /
1489933052:  >>> emerge (7 of 14) dev-qt/qtnetwork-5.7.1 to /
1489933052:  === (7 of 14) Cleaning (dev-qt/qtnetwork-5.7.1::/usr/portage/dev-qt/qtnetwork/qtnetwork-5.7.1.ebuild)
1489933055:  === (7 of 14) Compiling/Merging (dev-qt/qtnetwork-5.7.1::/usr/portage/dev-qt/qtnetwork/qtnetwork-5.7.1.ebuild)
1489933554:  === (7 of 14) Merging (dev-qt/qtnetwork-5.7.1::/usr/portage/dev-qt/qtnetwork/qtnetwork-5.7.1.ebuild)
1489933558:  >>> AUTOCLEAN: dev-qt/qtnetwork:5
1489933566:  === (7 of 14) Post-Build Cleaning (dev-qt/qtnetwork-5.7.1::/usr/portage/dev-qt/qtnetwork/qtnetwork-5.7.1.ebuild)
1489933566:  ::: completed emerge (7 of 14) dev-qt/qtnetwork-5.7.1 to /
1489933566:  >>> emerge (8 of 14) dev-qt/qtxml-5.7.1 to /
1489933566:  === (8 of 14) Cleaning (dev-qt/qtxml-5.7.1::/usr/portage/dev-qt/qtxml/qtxml-5.7.1.ebuild)
1489933569:  === (8 of 14) Compiling/Merging (dev-qt/qtxml-5.7.1::/usr/portage/dev-qt/qtxml/qtxml-5.7.1.ebuild)
1489933640:  === (8 of 14) Merging (dev-qt/qtxml-5.7.1::/usr/portage/dev-qt/qtxml/qtxml-5.7.1.ebuild)
1489933644:  >>> AUTOCLEAN: dev-qt/qtxml:5
1489933652:  === (8 of 14) Post-Build Cleaning (dev-qt/qtxml-5.7.1::/usr/portage/dev-qt/qtxml/qtxml-5.7.1.ebuild)
1489933652:  ::: completed emerge (8 of 14) dev-qt/qtxml-5.7.1 to /
1489933652:  >>> emerge (9 of 14) dev-qt/qtconcurrent-5.7.1 to /
1489933652:  === (9 of 14) Cleaning (dev-qt/qtconcurrent-5.7.1::/usr/portage/dev-qt/qtconcurrent/qtconcurrent-5.7.1.ebuild)
1489933654:  === (9 of 14) Compiling/Merging (dev-qt/qtconcurrent-5.7.1::/usr/portage/dev-qt/qtconcurrent/qtconcurrent-5.7.1.ebuild)
1489933713:  === (9 of 14) Merging (dev-qt/qtconcurrent-5.7.1::/usr/portage/dev-qt/qtconcurrent/qtconcurrent-5.7.1.ebuild)
1489933718:  >>> AUTOCLEAN: dev-qt/qtconcurrent:5
1489933725:  === (9 of 14) Post-Build Cleaning (dev-qt/qtconcurrent-5.7.1::/usr/portage/dev-qt/qtconcurrent/qtconcurrent-5.7.1.ebuild)
1489933725:  ::: completed emerge (9 of 14) dev-qt/qtconcurrent-5.7.1 to /
1489933725:  >>> emerge (10 of 14) net-libs/libtorrent-rasterbar-1.0.11 to /
1489933725:  === (10 of 14) Cleaning (net-libs/libtorrent-rasterbar-1.0.11::/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.0.11.ebuild)
1489933725:  === (10 of 14) Compiling/Merging (net-libs/libtorrent-rasterbar-1.0.11::/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.0.11.ebuild)
1489934991:  === (10 of 14) Merging (net-libs/libtorrent-rasterbar-1.0.11::/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.0.11.ebuild)
1489934996:  >>> AUTOCLEAN: net-libs/libtorrent-rasterbar:0
1489935002:  === (10 of 14) Post-Build Cleaning (net-libs/libtorrent-rasterbar-1.0.11::/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.0.11.ebuild)
1489935002:  ::: completed emerge (10 of 14) net-libs/libtorrent-rasterbar-1.0.11 to /
1489935002:  >>> emerge (11 of 14) dev-qt/qtlockedfile-2.4.1_p20150629 to /
1489935002:  === (11 of 14) Cleaning (dev-qt/qtlockedfile-2.4.1_p20150629::/usr/portage/dev-qt/qtlockedfile/qtlockedfile-2.4.1_p20150629.ebuild)
1489935002:  === (11 of 14) Compiling/Merging (dev-qt/qtlockedfile-2.4.1_p20150629::/usr/portage/dev-qt/qtlockedfile/qtlockedfile-2.4.1_p20150629.ebuild)
1489935019:  === (11 of 14) Merging (dev-qt/qtlockedfile-2.4.1_p20150629::/usr/portage/dev-qt/qtlockedfile/qtlockedfile-2.4.1_p20150629.ebuild)
1489935026:  >>> AUTOCLEAN: dev-qt/qtlockedfile:0
1489935032:  === (11 of 14) Post-Build Cleaning (dev-qt/qtlockedfile-2.4.1_p20150629::/usr/portage/dev-qt/qtlockedfile/qtlockedfile-2.4.1_p20150629.ebuild)
1489935032:  ::: completed emerge (11 of 14) dev-qt/qtlockedfile-2.4.1_p20150629 to /
1489935032:  >>> emerge (12 of 14) dev-qt/qtsingleapplication-2.6.1_p20150629 to /
1489935032:  === (12 of 14) Cleaning (dev-qt/qtsingleapplication-2.6.1_p20150629::/usr/portage/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20150629.ebuild)
1489935032:  === (12 of 14) Compiling/Merging (dev-qt/qtsingleapplication-2.6.1_p20150629::/usr/portage/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20150629.ebuild)
1489935056:  === (12 of 14) Merging (dev-qt/qtsingleapplication-2.6.1_p20150629::/usr/portage/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20150629.ebuild)
1489935059:  >>> AUTOCLEAN: dev-qt/qtsingleapplication:0
1489935065:  === (12 of 14) Post-Build Cleaning (dev-qt/qtsingleapplication-2.6.1_p20150629::/usr/portage/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20150629.ebuild)
1489935065:  ::: completed emerge (12 of 14) dev-qt/qtsingleapplication-2.6.1_p20150629 to /
1489935065:  >>> emerge (13 of 14) dev-qt/linguist-tools-5.7.1 to /
1489935065:  === (13 of 14) Cleaning (dev-qt/linguist-tools-5.7.1::/usr/portage/dev-qt/linguist-tools/linguist-tools-5.7.1.ebuild)
1489935066:  === (13 of 14) Compiling/Merging (dev-qt/linguist-tools-5.7.1::/usr/portage/dev-qt/linguist-tools/linguist-tools-5.7.1.ebuild)
1489935350:  === (13 of 14) Merging (dev-qt/linguist-tools-5.7.1::/usr/portage/dev-qt/linguist-tools/linguist-tools-5.7.1.ebuild)
1489935354:  >>> AUTOCLEAN: dev-qt/linguist-tools:5
1489935359:  === (13 of 14) Post-Build Cleaning (dev-qt/linguist-tools-5.7.1::/usr/portage/dev-qt/linguist-tools/linguist-tools-5.7.1.ebuild)
1489935359:  ::: completed emerge (13 of 14) dev-qt/linguist-tools-5.7.1 to /
1489935359:  >>> emerge (14 of 14) net-p2p/qbittorrent-3.3.11 to /
1489935359:  === (14 of 14) Cleaning (net-p2p/qbittorrent-3.3.11::/usr/portage/net-p2p/qbittorrent/qbittorrent-3.3.11.ebuild)
1489935360:  === (14 of 14) Compiling/Merging (net-p2p/qbittorrent-3.3.11::/usr/portage/net-p2p/qbittorrent/qbittorrent-3.3.11.ebuild)
1489935373:  *** Finished. Cleaning up...
1489935373:  *** exiting unsuccessfully with status '1'.
1489935373:  *** terminating.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2017-04-25 11:07:59 UTC
The Qt5 version of QtSingleApplication is only searched for if Qt5Widgets is found (in cmake/Modules/FindQtSingleApplication.cmake):
    IF(QT4_FOUND)
    ...
    ELSEIF(Qt5Widgets_FOUND)

But Qt5Widgets is only found if GUI is enabled (in src/CMakeLists.txt):
    list(APPEND QBT_QT_COMPONENTS Core Network Xml)
    if (GUI)
        list (APPEND QBT_QT_COMPONENTS Concurrent Gui Widgets)
    endif (GUI)
    ...
    find_package(Qt5 5.2.0 COMPONENTS ${QBT_QT_COMPONENTS} REQUIRED)

Considering that qtsingleapplication[qt5] only uses qtwidgets when built with USE="X", I suspect FindQtSingleApplication.cmake is incorrect.
Comment 11 Chris Ribble 2017-05-12 05:50:39 UTC
I'm seeing the same problem; when I try to build qbittorrent 3.1.10 or newer (tried 3.1.10, 3.1.11, and 3.1.12), I get


CMake Error at cmake/Modules/FindQtSingleApplication.cmake:77 (MESSAGE):
  Could not find QtSingleApplication library


I was content to ignore this and wait for an ebuild fix without reporting, but now after some other recent upgrades and a restart triggered by a UPS failure, I can no longer run my existing binaries (getting stack smashing detected errors)

See below for emerge --info:

Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i7-2700K_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem:    16419032 total,  14833840 free
KiB Swap:    4193264 total,   4193264 free
Timestamp of repository gentoo: Sun, 30 Apr 2017 12:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://10.42.16.1/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="aes amd64 avx berkdb bindist bzip2 cli cracklib crypt cxx dbus dri fortran gdbm gudev iconv inotify ipv6 mmx mmxext modules multilib ncurses nls nptl pam pcre policykit popcnt python readline seccomp session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 tcpd tty-helpers unicode upcall winbind xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 12 Chris Ribble 2017-05-20 20:29:21 UTC
So it seems like this is a bug in qbittorent's cmake files WRT how it handles systems where qtsingleapplication is compiled with qt5 but without X? That definitely describes the server where I was running qbittorrent with webui.

Since this requires an upstream fix or a patch to the cmake file, could we get 3.3.7 (which worked fine) added back to portage?

At this point I can't use this package anymore after my latest gcc upgrade since I can't run my current binaries (libstdc++ stack smashing detection?), I can't rebuild 3.3.7 (not in portage), and I can't upgrade to 3.3.10 or newer (this bug).
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2017-05-21 02:29:25 UTC
(In reply to Chris Ribble from comment #12)
> Since this requires an upstream fix or a patch to the cmake file, could we
> get 3.3.7 (which worked fine) added back to portage?

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5246f77960147cbc5321344ccd1d0060b1e15da
Comment 14 Chris Ribble 2017-05-28 17:57:25 UTC
(In reply to Davide Pesavento from comment #13)
> (In reply to Chris Ribble from comment #12)
> > Since this requires an upstream fix or a patch to the cmake file, could we
> > get 3.3.7 (which worked fine) added back to portage?
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=d5246f77960147cbc5321344ccd1d0060b1e15da

Thanks! 3.3.7 built and installed fine on my server; I'm back in business.
Comment 15 Alexey Badyaev 2017-09-25 09:18:27 UTC
I also can not install gbByttorrent on my server.
Comment 17 Andreas Sturmlechner gentoo-dev 2017-10-15 22:12:50 UTC
Thanks, fixed in git commit 81e65d9926f6ba4b61e0b06e66eed985dcb70f1a
Comment 18 tudor 2017-10-16 18:49:23 UTC
Are there some other packages required to be updated? I've even updated qtcore (5.9.2), but still fails for me:

>>> Emerging (1 of 1) net-p2p/qbittorrent-3.3.16::gentoo
 * qbittorrent-3.3.16.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking qbittorrent-3.3.16.tar.xz to /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work
>>> Source unpacked in /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work
>>> Preparing source in /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16 ...
 * Applying qbittorrent-3.3.16-cmake.patch ...                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16 ...
>>> Working in BUILD_DIR: "/var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16_build"
cmake -C /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_QTSINGLEAPPLICATION=ON -DDBUS=no -DGUI=no -DWEBUI=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16_build/gentoo_toolchain.cmake  /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16
loading initial cache file /var/portfiles/portage_tmp/portage/net-p2p/qbittorrent-3.3.16/work/qbittorrent-3.3.16_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test _PEDANTIC_IS_SUPPORTED
-- Performing Test _PEDANTIC_IS_SUPPORTED - Success
-- Detecting Glibc version...
-- Glibc version is 225, adding -D_DEFAULT_SOURCE
-- Performing Test _DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED
-- Performing Test _DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- libtorrent definitions: -DTORRENT_USE_OPENSSL;-DBOOST_ASIO_HASH_MAP_BUCKETS=1021;-DBOOST_EXCEPTION_DISABLE;-DBOOST_ASIO_ENABLE_CANCELIO;-DBOOST_ASIO_DYN_LINK;-DTORRENT_LINKING_SHARED;-I/usr/include/libtorrent
-- Libtorrent Boost dependencies: system
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   system
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2l") 
-- Found LibtorrentRasterbar: /usr/lib64/libtorrent-rasterbar.so  
-- Project is built in RELEASE mode.
-- Disabling debug output.
-- Looking for Qt5 single application library
CMake Error at cmake/Modules/FindQtSingleApplication.cmake:77 (MESSAGE):
  Could not find QtSingleApplication library
Call Stack (most recent call first):
  src/CMakeLists.txt:97 (find_package)


-- Configuring incomplete, errors occurred!
Comment 19 Klemen Mihevc 2017-10-16 21:10:13 UTC
You will need to wait for next qbittorrent version, unless fix will be back ported.
Comment 20 tudor 2017-12-30 12:42:58 UTC
Hello,

   Emerging qBittorrent 4.0.3 with webui only still fails with:

-- Looking for Qt5 single application library
CMake Error at cmake/Modules/FindQtSingleApplication.cmake:77 (MESSAGE):
  Could not find QtSingleApplication library
Call Stack (most recent call first):
  src/CMakeLists.txt:85 (find_package)

   Building from source or github works fine. Can you check if the .tar.xz in portage has this commit ( https://github.com/qbittorrent/qBittorrent/commit/0ad52903890fe680307b46f4051bdd91d8aaffd5#commitcomment-26546066 ) included?

             Thank you.