Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qBittorrent 3.3.12 fails to compile on Gentoo Linux: no such file ui_bandwidth_limit.h #6634

Closed
fusion809 opened this issue Apr 14, 2017 · 6 comments

Comments

@fusion809
Copy link

Hi,

I'll just get the requested details out of the way:

libtorrent-rasterbar version:
1.0.11

Qt version:
5.7.1

The issue is that whenever I try to build qBittorrent using this ebuild I get the build error:

In file included from /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/properties/peerlistwidget.cpp:52:0:
/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/speedlimitdlg.h:36:32: fatal error: ui_bandwidth_limit.h: No such file or directory
compilation terminated.
make[2]: *** [src/gui/properties/CMakeFiles/qbt_properties.dir/build.make:111: src/gui/properties/CMakeFiles/qbt_properties.dir/peerlistwidget.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make[1]: *** [CMakeFiles/Makefile2:496: src/gui/properties/CMakeFiles/qbt_properties.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 45%] Building CXX object src/gui/rss/CMakeFiles/qbt_rss.dir/rss_imp.cpp.o
[ 45%] Building CXX object src/gui/search/CMakeFiles/qbt_searchengine.dir/__/ico.cpp.o
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX11_RVALUE_REFERENCES -DDISABLE_WEBUI -DQBT_USES_QT5 -DQBT_VERSION=\"v3.3.12\" -DQBT_VERSION_2=\"3.3.12\" -DQBT_VERSION_BUGFIX=12 -DQBT_VERSION_BUILD=0 -DQBT_VERSION_MAJOR=3 -DQBT_VERSION_MINOR=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss/qbt_rss_autogen/include -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX11_RVALUE_REFERENCES -DDISABLE_WEBUI -DQBT_USES_QT5 -DQBT_VERSION=\"v3.3.12\" -DQBT_VERSION_2=\"3.3.12\" -DQBT_VERSION_BUGFIX=12 -DQBT_VERSION_BUILD=0 -DQBT_VERSION_MAJOR=3 -DQBT_VERSION_MINOR=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search/qbt_searchengine_autogen/include -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/wor12/src/gui/rss -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets   -DNDEBUG -O2 -pipe   -Wformat -Wformat-security -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 -fPIC -std=gnu++11 -o CMakeFiles/qbt_rss.dir/rss_imp.cpp.o -c /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/rss/rss_imp.cpp
k/qbittorrent-3.3.12/src/gui/search/.. -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/search/../lineedit/src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets   -DNDEBUG -O2 -pipe   -Wformat -Wformat-security -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 -fPIC -std=gnu++11 -o CMakeFiles/qbt_searchengine.dir/__/ico.cpp.o -c /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/ico.cpp
[ 45%] Building CXX object src/gui/rss/CMakeFiles/qbt_rss.dir/rsssettingsdlg.cpp.o
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX11_RVALUE_REFERENCES -DDISABLE_WEBUI -DQBT_USES_QT5 -DQBT_VERSION=\"v3.3.12\" -DQBT_VERSION_2=\"3.3.12\" -DQBT_VERSION_BUGFIX=12 -DQBT_VERSION_BUILD=0 -DQBT_VERSION_MAJOR=3 -DQBT_VERSION_MINOR=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss/qbt_rss_autogen/include -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/rss -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets   -DNDEBUG -O2 -pipe   -Wformat -Wformat-security -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 -fPIC -std=gnu++11 -o CMakeFiles/qbt_rss.dir/rsssettingsdlg.cpp.o -c /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/rss/rsssettingsdlg.cpp
[ 47%] Building CXX object src/gui/rss/CMakeFiles/qbt_rss.dir/qbt_rss_autogen/moc_compilation.cpp.o
[ 47%] Building CXX object src/gui/search/CMakeFiles/qbt_searchengine.dir/qbt_searchengine_autogen/moc_compilation.cpp.o                                                                                                      
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX11_RVALUE_REFERENCES -DDISABLE_WEBUI -DQBT_USES_QT5 -DQBT_VERSION=\"v3.3.12\" -DQBT_VERSION_2=\"3.3.12\" -DQBT_VERSION_BUGFIX=12 -DQBT_VERSION_BUILD=0 -DQBT_VERSION_MAJOR=3 -DQBT_VERSION_MINOR=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss/qbt_rss_autogen/include -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX11_RVALUE_REFERENCES -DDISABLE_WEBUI -DQBT_USES_QT5 -DQBT_VERSION=\"v3.3.12\" -DQBT_VERSION_2=\"3.3.12\" -DQBT_VERSION_BUGFIX=12 -DQBT_VERSION_BUILD=0 -DQBT_VERSION_MAJOR=3 -DQBT_VERSION_MINOR=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_XML_LIB -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search/qbt_searchengine_autogen/include -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/wor12/src/gui/rss -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets   -DNDEBUG -O2 -pipe   -Wformat -Wformat-security -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 -fPIC -std=gnu++11 -o CMakeFiles/qbt_rss.dir/qbt_rss_autogen/moc_compilation.cpp.o -c /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss/qbt_rss_autogen/moc_compilation.cpp
k/qbittorrent-3.3.12/src/gui/search/.. -I/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12/src/gui/search/../lineedit/src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets   -DNDEBUG -O2 -pipe   -Wformat -Wformat-security -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 -fPIC -std=gnu++11 -o CMakeFiles/qbt_searchengine.dir/qbt_searchengine_autogen/moc_compilation.cpp.o -c /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search/qbt_searchengine_autogen/moc_compilation.cpp
[ 47%] Linking CXX static library libqbt_searchengine.a
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search && /usr/bin/cmake -P CMakeFiles/qbt_searchengine.dir/cmake_clean_target.cmake
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/search && /usr/bin/cmake -E cmake_link_script CMakeFiles/qbt_searchengine.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-ar qc libqbt_searchengine.a  CMakeFiles/qbt_searchengine.dir/pluginselectdlg.cpp.o CMakeFiles/qbt_searchengine.dir/pluginsourcedlg.cpp.o CMakeFiles/qbt_searchengine.dir/searchlistdelegate.cpp.o CMakeFiles/qbt_searchengine.dir/searchsortmodel.cpp.o CMakeFiles/qbt_searchengine.dir/searchtab.cpp.o CMakeFiles/qbt_searchengine.dir/searchwidget.cpp.o CMakeFiles/qbt_searchengine.dir/__/ico.cpp.o CMakeFiles/qbt_searchengine.dir/qbt_searchengine_autogen/moc_compilation.cpp.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libqbt_searchengine.a
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
[ 47%] Built target qbt_searchengine
[ 47%] Linking CXX static library libqbt_rss.a
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss && /usr/bin/cmake -P CMakeFiles/qbt_rss.dir/cmake_clean_target.cmake
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/gui/rss && /usr/bin/cmake -E cmake_link_script CMakeFiles/qbt_rss.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-ar qc libqbt_rss.a  CMakeFiles/qbt_rss.dir/automatedrssdownloader.cpp.o CMakeFiles/qbt_rss.dir/feedlistwidget.cpp.o CMakeFiles/qbt_rss.dir/htmlbrowser.cpp.o CMakeFiles/qbt_rss.dir/rss_imp.cpp.o CMakeFiles/qbt_rss.dir/rsssettingsdlg.cpp.o CMakeFiles/qbt_rss.dir/qbt_rss_autogen/moc_compilation.cpp.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libqbt_rss.a
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
[ 47%] Built target qbt_rss
make[1]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make: *** [Makefile:130: all] Error 2

because I want to help yas help me as much as possible here is the output of emerge --info ... (which should tell you all relevant build options and a few other details like my kernel):

Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.10.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    16344476 total,   8929424 free
KiB Swap:          0 total,         0 free
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.4.6::gentoo
dev-util/cmake:           3.8.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 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-r4::gentoo
sys-devel/make:           4.2.1-r1::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: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

fusion809
    location: /usr/local/fusion809-overlay
    masters: gentoo

flatpak-overlay
    location: /usr/local/flatpak-overlay
    sync-type: git
    sync-uri: git://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="X a52 aac acl acpi alsa amd64 berkdb branding bumblebee bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kms kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xwayland 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" 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" 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="evdev synaptics" KERNEL="linux" L10N="en en_AU en_GB en_US en-AU en-GB en-US" 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="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

the output of emerge -pqv... (which should tell you the USE flags I used to build this package, the ebuild should tell you what each USE flag does in terms of configuration options):

[ebuild  N    ] net-p2p/qbittorrent-3.3.12  USE="X dbus -debug -webui"

Thanks for your time,
Brenton

@fusion809
Copy link
Author

I just tried building qBittorrent 3.3.12 with libtorrent-rasterbar 1.1.3, but with all other details the same, and I got the exact same error again.

@thalieht
Copy link
Contributor

thalieht commented Apr 14, 2017

Check #6623

@fusion809
Copy link
Author

fusion809 commented Apr 14, 2017

Converting that pull to a patch and applying it to the 3.3.12 source code fails at a few places, specifically this is what I get with patch -Np1 -i:

patching file src/gui/CMakeLists.txt
Hunk #1 succeeded at 132 (offset -3 lines).
patching file src/gui/properties/CMakeLists.txt
Hunk #1 succeeded at 42 with fuzz 2.
patching file src/gui/mainwindow.cpp
patching file src/gui/properties/peerlistwidget.cpp
Hunk #2 succeeded at 56 (offset 2 lines).
patching file src/gui/properties/peersadditiondlg.cpp
Hunk #1 FAILED at 28.
Hunk #2 succeeded at 54 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/gui/properties/peersadditiondlg.cpp.rej
patching file src/gui/properties/peersadditiondlg.h
patching file src/gui/properties/propertieswidget.cpp
Hunk #1 FAILED at 64.
Hunk #2 succeeded at 159 (offset 7 lines).
Hunk #3 succeeded at 186 (offset 7 lines).
Hunk #4 succeeded at 223 (offset 7 lines).
Hunk #5 succeeded at 237 (offset 7 lines).
Hunk #6 succeeded at 277 (offset 7 lines).
Hunk #7 FAILED at 304.
Hunk #8 succeeded at 352 (offset 7 lines).
Hunk #9 succeeded at 373 (offset 7 lines).
Hunk #10 succeeded at 391 (offset 7 lines).
Hunk #11 succeeded at 412 (offset 7 lines).
Hunk #12 succeeded at 464 (offset 7 lines).
Hunk #13 succeeded at 490 (offset 7 lines).
Hunk #14 succeeded at 507 (offset 7 lines).
Hunk #15 succeeded at 577 (offset 7 lines).
Hunk #16 succeeded at 593 (offset 7 lines).
Hunk #17 succeeded at 618 (offset 7 lines).
Hunk #18 succeeded at 641 (offset 7 lines).
Hunk #19 succeeded at 669 (offset 7 lines).
Hunk #20 succeeded at 789 (offset 7 lines).
Hunk #21 succeeded at 804 (offset 7 lines).
Hunk #22 succeeded at 818 (offset 7 lines).
Hunk #23 succeeded at 832 (offset 7 lines).
Hunk #24 succeeded at 845 (offset 7 lines).
Hunk #25 succeeded at 858 (offset 7 lines).
Hunk #26 succeeded at 890 (offset 7 lines).
2 out of 26 hunks FAILED -- saving rejects to file src/gui/properties/propertieswidget.cpp.rej
patching file src/gui/properties/propertieswidget.h
patching file src/gui/properties/proplistdelegate.cpp
Hunk #2 succeeded at 49 (offset 4 lines).
patching file src/gui/properties/trackerlist.cpp
Hunk #2 succeeded at 55 (offset 2 lines).
patching file src/gui/properties/trackersadditiondlg.cpp
patching file src/gui/properties/trackersadditiondlg.h
patching file src/gui/rss/rss_imp.cpp
Hunk #16 FAILED at 704.
1 out of 18 hunks FAILED -- saving rejects to file src/gui/rss/rss_imp.cpp.rej
patching file src/gui/rss/rss_imp.h
patching file src/gui/search/pluginselectdlg.cpp
Hunk #2 succeeded at 52 (offset 2 lines).
Hunk #3 FAILED at 63.
Hunk #4 succeeded at 106 (offset 3 lines).
Hunk #5 succeeded at 162 (offset 3 lines).
Hunk #6 succeeded at 174 (offset 3 lines).
Hunk #7 succeeded at 193 (offset 3 lines).
Hunk #8 succeeded at 217 (offset 3 lines).
Hunk #9 succeeded at 236 (offset 3 lines).
Hunk #10 succeeded at 246 (offset 3 lines).
Hunk #11 succeeded at 257 (offset 3 lines).
Hunk #12 succeeded at 269 (offset 3 lines).
1 out of 12 hunks FAILED -- saving rejects to file src/gui/search/pluginselectdlg.cpp.rej
patching file src/gui/search/pluginselectdlg.h
patching file src/gui/search/pluginsourcedlg.cpp
patching file src/gui/search/pluginsourcedlg.h
patching file src/gui/search/searchwidget.cpp
patching file src/gui/search/searchwidget.h
patching file src/gui/speedlimitdlg.cpp
patching file src/gui/speedlimitdlg.h
patching file src/gui/statusbar.cpp

and yes I did delete the .travis.yml changes in the patch (as they're irrelevant to compiling the code manually).

@fusion809
Copy link
Author

fusion809 commented Apr 14, 2017

I edited my ebuild to build qBittorrent from 2def21a51bdc396412b4a2eb568f6094989b1604 and although it fixes the error I started this issue with, I end up getting this error at the end of the compilation:

[100%] Linking CXX executable qbittorrent
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/app && /usr/bin/cmake -E cmake_link_script CMakeFiles/qbittorrent.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe  -Wl,-O1 -Wl,--as-needed CMakeFiles/qbittorrent.dir/application.cpp.o CMakeFiles/qbittorrent.dir/filelogger.cpp.o CMakeFiles/qbittorrent.dir/options.cpp.o CMakeFiles/qbittorrent.dir/main.cpp.o CMakeFiles/qbittorrent.dir/qrc_icons.cpp.o CMakeFiles/qbittorrent.dir/qrc_lang.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/moc_compilation.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/FXUJ2XFZ72/qrc_lineeditimages.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/TUYZJ7PCOQ/qrc_about.cpp.o  -o qbittorrent ../base/libqbt_base.a ../gui/search/libqbt_searchengine.a ../gui/libqbt_gui.a /usr/lib/libQt5Solutions_SingleApplication-2.6.so ../gui/search/libqbt_searchengine.a ../gui/lineedit/libqbt_lineedit.a ../gui/powermanagement/libqbt_powermanagement.a ../gui/rss/libqbt_rss.a ../gui/properties/libqbt_properties.a ../base/libqbt_base.a /usr/lib/libz.so /usr/lib64/libtorrent-rasterbar.so /usr/lib64/libtorrent-rasterbar.so -lpthread /usr/lib/libboost_system-mt.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libQt5Network.so.5.7.1 /usr/lib64/libQt5Xml.so.5.7.1 /usr/lib64/libQt5Widgets.so.5.7.1 /usr/lib64/libQt5Gui.so.5.7.1 /usr/lib64/libQt5Concurrent.so.5.7.1 ../gui/qtnotify/libqbt_qtnotify.a /usr/lib64/libQt5DBus.so.5.7.1 /usr/lib64/libQt5Core.so.5.7.1 
../base/libqbt_base.a(session.cpp.o): In function `BitTorrent::Session::getPendingAlerts(std::vector<libtorrent::alert*, std::allocator<libtorrent::alert*> >&, unsigned long)':
session.cpp:(.text+0x306d): undefined reference to `libtorrent::session_handle::wait_for_alert(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/qbittorrent.dir/build.make:961: src/app/qbittorrent] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make[1]: *** [CMakeFiles/Makefile2:119: src/app/CMakeFiles/qbittorrent.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make: *** [Makefile:130: all] Error 2

@fusion809
Copy link
Author

Oh I managed to get the build to work by reverting libtorrent-rasterbar back to 1.0.11 (as opposed to the latest 1.1.3).

@zeule
Copy link
Contributor

zeule commented Apr 17, 2017

#6648 contains backported fix.

sledgehammer999 added a commit that referenced this issue Apr 17, 2017
CMake 3.8 fixes for v3_3_x branch. Closes #6634.
@zeule zeule closed this as completed Apr 17, 2017
@qbittorrent qbittorrent locked and limited conversation to collaborators Feb 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants