Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607734 - net-p2p/qbittorrent-3.3.10: collect2: error: ld returned 1 exit status
Summary: net-p2p/qbittorrent-3.3.10: collect2: error: ld returned 1 exit status
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: 607654
  Show dependency tree
 
Reported: 2017-01-30 16:45 UTC by Andrey Grozin
Modified: 2017-03-08 15:31 UTC (History)
6 users (show)

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


Attachments
3.3.11 build.log (qbittorrent-3.3.11.build.log,498.52 KB, text/x-log)
2017-03-07 18:35 UTC, Chris Smith
Details
3.3.11 build.log (build.log,495.65 KB, text/x-log)
2017-03-07 19:17 UTC, Cyril
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2017-01-30 16:45:01 UTC
CMakeFiles/qbittorrent.dir/main.cpp.o: In function `upgradeResumeFile(QString const&, QHash<QString, QVariant> const&)':
main.cpp:(.text+0x25d5): undefined reference to `libtorrent::entry::operator=(long long const&)'
main.cpp:(.text+0x281b): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
main.cpp:(.text+0x29a0): undefined reference to `libtorrent::entry::operator=(long long const&)'
CMakeFiles/qbittorrent.dir/main.cpp.o: In function `upgrade(bool)':
main.cpp:(.text+0x36f3): undefined reference to `libtorrent::entry::operator=(long long const&)'
main.cpp:(.text+0x3719): undefined reference to `libtorrent::entry::operator=(long long const&)'
main.cpp:(.text+0x3ba5): undefined reference to `libtorrent::entry::operator=(long long const&)'
main.cpp:(.text+0x3bf4): undefined reference to `libtorrent::entry::operator=(long long const&)'
CMakeFiles/qbittorrent.dir/main.cpp.o:main.cpp:(.text+0x3cae): more undefined references to `libtorrent::entry::operator=(long long const&)' follow
CMakeFiles/qbittorrent.dir/main.cpp.o: In function `int libtorrent::detail::write_integer<std::back_insert_iterator<QVector<char> > >(std::back_insert_iterator<QVector<char> >&, long long)':
main.cpp:(.text._ZN10libtorrent6detail13write_integerISt20back_insert_iteratorI7QVectorIcEEEEiRT_x[_ZN10libtorrent6detail13write_integerISt20back_insert_iteratorI7QVectorIcEEEEiRT_x]+0x27): undefined reference to `libtorrent::detail::integer_to_str(char*, int, long long)'
../base/libqbt_base.a(session.cpp.o): In function `BitTorrent::Session::startUpTorrents()':
session.cpp:(.text+0x1426a): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
session.cpp:(.text+0x14285): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
session.cpp:(.text+0x14a80): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
session.cpp:(.text+0x14ab2): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
session.cpp:(.text+0x14ae4): undefined reference to `libtorrent::lazy_entry::dict_find_int_value(char const*, long long) const'
../base/libqbt_base.a(session.cpp.o): In function `int libtorrent::detail::write_integer<std::back_insert_iterator<QByteArray> >(std::back_insert_iterator<QByteArray>&, long long)':
session.cpp:(.text._ZN10libtorrent6detail13write_integerISt20back_insert_iteratorI10QByteArrayEEEiRT_x[_ZN10libtorrent6detail13write_integerISt20back_insert_iteratorI10QByteArrayEEEiRT_x]+0x27): undefined reference to `libtorrent::detail::integer_to_str(char*, int, long long)'
../base/libqbt_base.a(torrenthandle.cpp.o): In function `BitTorrent::TorrentHandle::handleSaveResumeDataAlert(libtorrent::save_resume_data_alert*)':
torrenthandle.cpp:(.text+0x342f): undefined reference to `libtorrent::entry::operator=(long long const&)'
torrenthandle.cpp:(.text+0x3455): undefined reference to `libtorrent::entry::operator=(long long const&)'
torrenthandle.cpp:(.text+0x347e): undefined reference to `libtorrent::entry::operator=(long long const&)'
torrenthandle.cpp:(.text+0x3566): undefined reference to `libtorrent::entry::operator=(long long const&)'
torrenthandle.cpp:(.text+0x3590): undefined reference to `libtorrent::entry::operator=(long long const&)'
../base/libqbt_base.a(torrenthandle.cpp.o): In function `BitTorrent::TorrentHandle::filesProgress() const':
torrenthandle.cpp:(.text+0x6978): undefined reference to `libtorrent::torrent_handle::file_progress(std::vector<long long, std::allocator<long long> >&, int) const'
../base/libqbt_base.a(torrentinfo.cpp.o): In function `BitTorrent::TorrentInfo::fileIndicesForPiece(int) const':
torrentinfo.cpp:(.text+0x2031): undefined reference to `libtorrent::file_storage::map_block(int, long long, int) const'
../base/libqbt_base.a(tracker.cpp.o): In function `BitTorrent::Peer::toEntry(bool) const':
tracker.cpp:(.text+0x219f): undefined reference to `libtorrent::entry::entry(long long const&)'
../base/libqbt_base.a(tracker.cpp.o): In function `BitTorrent::Tracker::replyWithPeerList(BitTorrent::TrackerAnnounceRequest const&)':
tracker.cpp:(.text+0x268f): undefined reference to `libtorrent::entry::entry(long long const&)'
../base/libqbt_base.a(tracker.cpp.o): In function `int libtorrent::detail::write_integer<std::back_insert_iterator<std::vector<char, std::allocator<char> > > >(std::back_insert_iterator<std::vector<char, std::allocator<char> > >&, long long)':
tracker.cpp:(.text._ZN10libtorrent6detail13write_integerISt20back_insert_iteratorISt6vectorIcSaIcEEEEEiRT_x[_ZN10libtorrent6detail13write_integerISt20back_insert_iteratorISt6vectorIcSaIcEEEEEiRT_x]+0x27): undefined reference to `libtorrent::detail::integer_to_str(char*, int, long long)'
../base/libqbt_base.a(torrentcreatorthread.cpp.o): In function `int libtorrent::detail::write_integer<std::ostream_iterator<char, char, std::char_traits<char> > >(std::ostream_iterator<char, char, std::char_traits<char> >&, long long)':
torrentcreatorthread.cpp:(.text._ZN10libtorrent6detail13write_integerISt16ostream_iteratorIccSt11char_traitsIcEEEEiRT_x[_ZN10libtorrent6detail13write_integerISt16ostream_iteratorIccSt11char_traitsIcEEEEiRT_x]+0x30): undefined reference to `libtorrent::detail::integer_to_str(char*, int, long long)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/qbittorrent.dir/build.make:943: src/app/qbittorrent] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.10/work/qbittorrent-3.3.10_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.10/work/qbittorrent-3.3.10_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: net-p2p/qbittorrent-3.3.10::gentoo failed (compile phase):
 *   emake failed

# emerge --info '=net-p2p/qbittorrent-3.3.10::gentoo'
Portage 2.3.3 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.9.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.3
KiB Mem:     8074528 total,   5137264 free
KiB Swap:   10485756 total,  10485308 free
Timestamp of repository gentoo: Mon, 30 Jan 2017 09:45:01 +0000
sh bash 4.4_p11
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p11::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::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.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 5.4.0-r2::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

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

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

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

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

grozin
    location: /usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -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 -march=native -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.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="X a52 aac acpi alsa amd64 bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative dirac doc dri dvd emacs enca encode exif fam ffmpeg fftw firefox flac fortran gd gdbm gif glamor gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kpathsea lapack latex lcms ldap libnotify lzma mad mng modules mozilla mp3 mp4 mpeg multilib ncurses nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf phonon plasma plotutils png policykit ppds python qml qt3support qt4 qt5 readline schroedinger sdl seccomp semantic-desktop session speex spell ssl startup-notification svg tcl tcpd theora tiff tk truetype udev udisks umfpack unicode upower usb v4l2 vorbis widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="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="evdev synaptics" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv '=net-p2p/qbittorrent-3.3.10::gentoo'
[ebuild     U ] net-p2p/qbittorrent-3.3.10 [3.3.7] USE="X dbus -debug -webui (-qt5%*)" 

dns ~ # eix dev-libs/boost
[I] dev-libs/boost
     Available versions:  1.55.0-r2(0/1.55.0)^t 1.56.0-r1(0/1.56.0)^t (~)1.58.0-r1(0/1.58.0)^t (~)1.59.0(0/1.59.0)^t (~)1.60.0(0/1.60.0)^t (~)1.61.0(0/1.61.0)^t (~)1.61.0-r1(0/1.61.0)^t 1.62.0-r1(0/1.62.0)^t (~)1.63.0(0/1.63.0)^t {context debug doc icu mpi +nls python static-libs +threads tools ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_4 python3_5"}                                                                                                                     
     Installed versions:  1.63.0^t(02:26:30 PM 01/24/2017)(doc nls python threads -context -debug -icu -mpi -static-libs -tools ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7 python3_5 -python3_4")       
     Homepage:            http://www.boost.org/
     Description:         Boost Libraries for C++

This is not bug #512876: I've re-emerged net-libs/rb_libtorrent.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2017-01-31 02:18:52 UTC
@soap, since you did the version bump, can you please take a look?
Comment 2 David Seifert gentoo-dev 2017-01-31 07:45:19 UTC
(In reply to Davide Pesavento from comment #1)
> @soap, since you did the version bump, can you please take a look?

Will do later
Comment 3 Chris Smith 2017-02-18 19:24:33 UTC
Any updates on this issue?
Comment 4 Andreas Sturmlechner gentoo-dev 2017-03-06 20:56:24 UTC
Is this maybe fixed by qbittorrent-3.3.11?
Comment 5 Chris Smith 2017-03-06 22:44:29 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Is this maybe fixed by qbittorrent-3.3.11?

No. Not a qbittorrent issue - it's a Gentoo ebuild problem. Rename 3.3.7 to 3.3.11 - it will install fine.
Comment 6 Andreas Sturmlechner gentoo-dev 2017-03-07 10:39:12 UTC
It's not clear to me now if you gave 3.3.11 from tree an actual try? I'm asking because I can't reproduce the error.
Comment 7 Chris Smith 2017-03-07 14:25:45 UTC
(In reply to Andreas Sturmlechner from comment #6)
> It's not clear to me now if you gave 3.3.11 from tree an actual try? I'm
> asking because I can't reproduce the error.

I did give it a try and received the same error as 3.3.10 during the linking phase. That's when I decided to try renaming the 3.3.7 ebuild to 3.3.11 which then installed fine.
Comment 8 Andreas Sturmlechner gentoo-dev 2017-03-07 18:16:42 UTC
I can't reproduce the issue on a stable system w/ gcc-5.4.0 nor an unstable one.

Please attach your build.log and emerge --info here as well, maybe it actually is a different error than the initial bug.
Comment 9 Chris Smith 2017-03-07 18:35:14 UTC
Created attachment 466238 [details]
3.3.11 build.log
Comment 10 Chris Smith 2017-03-07 18:35:58 UTC
emerge --info
Portage 2.3.4 (python 2.7.13-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.9.13-gentoo x86_64)
=================================================================
System uname: Linux-4.9.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem:    32847344 total,   1518940 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Tue, 07 Mar 2017 14:45: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.4.6::gentoo, 3.5.3::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.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 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://rsync11.us.gentoo.org/gentoo-portage
    priority: -1000

tcgOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
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_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j1"
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 aalib acl acpi aes alsa amd64 amr apache2 audiofile avahi avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cleartype cli corefonts cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dssi dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg firefox flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea kwallet ladspa lame lash lcms libffi libnotify lv2 lzma mad marble midi mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mtp musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt3support qt4 qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop session slp smp sndfile spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xinerama xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" 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="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 11 Andreas Sturmlechner gentoo-dev 2017-03-07 18:55:59 UTC
-- Libtorrent Boost dependencies: system
-- Boost version: 1.52.0

^ Seriously?

Your boost installation is broken, you seem to have very old debris on your system.
Comment 12 Cyril 2017-03-07 19:17:16 UTC
Created attachment 466276 [details]
3.3.11 build.log

# emerge --info
Portage 2.3.4 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.10.1-gentoo x86_64)
=================================================================
System uname: Linux-4.10.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:     8123776 total,   4099032 free
KiB Swap:   16383996 total,  16383996 free
Timestamp of repository gentoo: Tue, 07 Mar 2017 19:00: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-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::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.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 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.gentoo.org/gentoo-portage
    priority: -1000

cyril-overlay
    location: /usr/local/portage
    masters: gentoo

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @gstreamer, @mon-kde-plasma
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
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="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fftw firefox flac fontforge fortran gdbm gif glamor gmp gpm iconv icu imagemagick inotify ipv6 jemalloc jpeg jpeg2k kde kipi kwallet lcms ldap libnotify lzma mad mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvenc ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 raster readline samba scanner sdl seccomp semantic-desktop session spell ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upnp upower usb v4l2 vaapi vdpau vorbis vpx wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 13 Andreas Sturmlechner gentoo-dev 2017-03-07 19:20:28 UTC
(In reply to Cyril from comment #12)
> Created attachment 466276 [details]
> 3.3.11 build.log

-- Libtorrent Boost dependencies: system
-- Boost version: 1.52.0

^ Same here, broken system.
Comment 14 Andreas Sturmlechner gentoo-dev 2017-03-07 19:34:46 UTC
Everyone having that bug, please check your boost directories.

In /usr/include, there should _only_ be one 'boost' subdir, none with a version attached.

In /usr/local/include, there should not be anything installed by boost.
Comment 15 Cyril 2017-03-07 19:57:10 UTC
Thanks

Removing /usr/include/boost*, reemerging boost solves the linking problem.

SOLVED for me.
Comment 16 Chris Smith 2017-03-07 20:16:48 UTC
(In reply to Andreas Sturmlechner from comment #11)
> -- Libtorrent Boost dependencies: system
> -- Boost version: 1.52.0
> 
> ^ Seriously?
> 
> Your boost installation is broken, you seem to have very old debris on your
> system.

Guess that wouldn't be too surprising as the install was done in 2006.
It is a rolling release system after all :-)
Comment 17 Chris Smith 2017-03-07 20:33:14 UTC
(In reply to Andreas Sturmlechner from comment #11)
> -- Libtorrent Boost dependencies: system
> -- Boost version: 1.52.0
> 
> ^ Seriously?
> 
> Your boost installation is broken, you seem to have very old debris on your
> system.

Fixing up boost resolves it here.

Aside: Did you notice any other "old debris" areas to be looked into? If "emerge --depclean" doesn't catch thee debris what else can be done?
Comment 18 Cyril 2017-03-07 20:35:17 UTC
(In reply to Chris Smith from comment #16)
> (In reply to Andreas Sturmlechner from comment #11)
> > -- Libtorrent Boost dependencies: system
> > -- Boost version: 1.52.0
> > 
> > ^ Seriously?
> > 
> > Your boost installation is broken, you seem to have very old debris on your
> > system.
> 
> Guess that wouldn't be too surprising as the install was done in 2006.
> It is a rolling release system after all :-)

This install is from my first x86_64 gentoo install (2004 i think).
Comment 19 Cyril 2017-03-07 20:38:51 UTC
(In reply to Chris Smith from comment #17)
> (In reply to Andreas Sturmlechner from comment #11)
> > -- Libtorrent Boost dependencies: system
> > -- Boost version: 1.52.0
> > 
> > ^ Seriously?
> > 
> > Your boost installation is broken, you seem to have very old debris on your
> > system.
> 
> Fixing up boost resolves it here.
> 
> Aside: Did you notice any other "old debris" areas to be looked into? If
> "emerge --depclean" doesn't catch thee debris what else can be done?

No, --depclean do nothink, i just now clean by date, revdep-rebuild did not found any broken package.

(this is an day by day update from kde-3)
Comment 20 Andreas Sturmlechner gentoo-dev 2017-03-07 21:06:15 UTC
(In reply to Chris Smith from comment #17)
> Aside: Did you notice any other "old debris" areas to be looked into? If
> "emerge --depclean" doesn't catch thee debris what else can be done?

No, because it's not something that will occur naturally, there must have been some troublesome boost release or transition that left these files behind in the past, that you were unfortunate enough to be exposed to.


@Andrey: Without further comment from you I would assume this to be the same issue as above or a botched GCC-5 upgrade, in any case not blocking stabilisation of qbittorrent-3.3.10 anymore.
Comment 21 David Seifert gentoo-dev 2017-03-08 10:13:56 UTC
commit 02d271c94b3ea70df66ecd31eea89ac7dc21eafc
Author: David Seifert <soap@gentoo.org>
Date:   Wed Mar 8 11:11:56 2017 +0100

    dev-libs/boost: Remove ancient boost debris
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=607734
Comment 22 Andrey Grozin gentoo-dev 2017-03-08 15:31:47 UTC
I've removed /usr/include/boost-1_51, and qbittorrent-3.3.11 (ebuild from the tree) has emerged successfully.
Had no idea that I have to remove something by hand after upgrading boost using emerge...