Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369951 - net-p2p/qbittorrent-2.8.0 - qbtsession.cpp:(.text+0x5a7a): undefined reference to `libtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const*, boost::filesystem2::basic_path<std::basic_string<char, [... ]
Summary: net-p2p/qbittorrent-2.8.0 - qbtsession.cpp:(.text+0x5a7a): undefined referenc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 20:33 UTC by Kamen Dokov
Modified: 2011-06-10 09:14 UTC (History)
4 users (show)

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


Attachments
build.log (20110603-192944.log,288.55 KB, text/plain)
2011-06-03 20:42 UTC, Kamen Dokov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamen Dokov 2011-06-03 20:33:53 UTC
net-p2p/qbittorrent-2.8.0 fails with "undefined reference to `boost"

Reproducible: Always

Steps to Reproduce:
1.emerge =net-p2p/qbittorrent-2.8.0
2.
3.
Actual Results:  
boost::_bi::value<TorrentCreatorThread*> > >)]+0x17): undefined reference to `boost::system::system_category()'

Expected Results:  
successful install

uname -a
Linux felis 2.6.37.1-zen-gd4751cd #3 ZEN SMP PREEMPT Sun May 1 00:02:33 EEST 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

emerge --info =net-p2p/qbittorrent-2.8.0
Portage 2.2.0_alpha26_p6 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.37.1-zen-gd4751cd x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.37.1-zen-gd4751cd-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.2
Timestamp of tree: Fri, 03 Jun 2011 17:00:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:     4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.2
dev-util/ccache:     3.1.5
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
Repositories: gentoo repo_name-seti
Installed sets: @kde-4.6, @koffice
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm/ /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion bitmap-fonts bluray branding cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo exceptions fam fortran gcj gdbm gif gpm handbook html iconv ipv6 isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png policykit pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sqlite sse sse2 sse3 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis xcomposite xml xorg xv zeroconf zlib" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker" CAMERAS="ptp2 canon" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kamen Dokov 2011-06-03 20:42:18 UTC
Created attachment 275725 [details]
build.log
Comment 2 xenon 2011-06-05 23:44:25 UTC
Same here. Actually, several packages which depend on boost fail to compile when using boost:1.45 or :1.46. Fact is, at least on my system, no package depends on those versions of boost, but portage wants to emerge them.
Comment 3 xenon 2011-06-06 13:33:14 UTC
Furthermore, when 1.45 (or 1.46) in installed, but 1.42 is set as default through eselect, packages like qbittorrent still compile against 1.45 and fail. Is the eselect setting only meant for runtime?

By the way, this is not really a qbittorrent issue: this is an issue with how boost is managed in portage.
Comment 4 Kamen Dokov 2011-06-06 14:05:53 UTC
Very strange :(
Comment 5 Kamen Dokov 2011-06-07 19:30:55 UTC
net-p2p/qbittorrent-2.8.1 also fails :(
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-09 22:31:59 UTC
(In reply to comment #3)
> Furthermore, when 1.45 (or 1.46) in installed, but 1.42 is set as default
> through eselect, packages like qbittorrent still compile against 1.45 and fail.
> Is the eselect setting only meant for runtime?
> 
> By the way, this is not really a qbittorrent issue: this is an issue with how
> boost is managed in portage.

That would be bug #366181.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2011-06-09 22:35:19 UTC
Make sure that boost boost-build and rb_libtorrent are build against the same versions of python. This is not a qbittorrent bug
Comment 8 Kamen Dokov 2011-06-10 04:32:05 UTC
(In reply to comment #7)
> Make sure that boost boost-build and rb_libtorrent are build against the same
> versions of python. This is not a qbittorrent bug

OMG that really did the trick!

First:

emerge -1 boost boost-build rb_libtorrent

and after that:
 
emerge -1 qbittorrent


This was really a surprise for me because I`m running python-updater after every python update!