Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361399 - net-libs/rb_libtorrent with dev-libs/boost 1.46.1 - ../include/libtorrent/debug.hpp:74:18: error: 'complete' is not a member of 'libtorrent::fs'
Summary: net-libs/rb_libtorrent with dev-libs/boost 1.46.1 - ../include/libtorrent/deb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://code.google.com/p/libtorrent/i...
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.46
  Show dependency tree
 
Reported: 2011-03-30 23:51 UTC by Attila Jecs
Modified: 2011-04-11 09:09 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,23.04 KB, text/plain)
2011-03-30 23:52 UTC, Attila Jecs
Details
build.log (build.log,31.56 KB, text/plain)
2011-04-02 22:58 UTC, Vasiliy Olekhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Jecs 2011-03-30 23:51:01 UTC
welder@dreamer ~ $ sudo emerge -1 net-libs/rb_libtorrent net-p2p/qbittorrent 
...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5 ...
make -j3 
Making all in include/libtorrent
make[1]: Entering directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/include/libtorrent'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/include/libtorrent'
Making all in zlib
make[1]: Entering directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/zlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/zlib'
Making all in src
make[1]: Entering directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/src'
  CXX    alert.lo
  CXX    assert.lo
  CXX    allocator.lo
  CXX    broadcast_socket.lo
  CXX    bt_peer_connection.lo
In file included from ../include/libtorrent/bt_peer_connection.hpp:42:0,
                 from bt_peer_connection.cpp:40:
../include/libtorrent/debug.hpp: In constructor 'libtorrent::logger::logger(const boost::filesystem3::path&, const boost::filesystem3::path&, int, bool)':
../include/libtorrent/debug.hpp:74:18: error: 'complete' is not a member of 'libtorrent::fs'
In file included from ../include/libtorrent/torrent_info.hpp:61:0,
                 from ../include/libtorrent/torrent_handle.hpp:54,
                 from ../include/libtorrent/alert_types.hpp:37,
                 from alert.cpp:36:
../include/libtorrent/file_storage.hpp:110:8: error: 'void libtorrent::file_storage::add_file(const boost::filesystem3::wpath&, libtorrent::size_type, int, time_t, const boost::filesystem3::path&)' cannot be overloaded
../include/libtorrent/file_storage.hpp:106:8: error: with 'void libtorrent::file_storage::add_file(const boost::filesystem3::path&, libtorrent::size_type, int, time_t, const boost::filesystem3::path&)'
In file included from ../include/libtorrent/torrent_handle.hpp:54:0,
                 from ../include/libtorrent/alert_types.hpp:37,
                 from alert.cpp:36:
../include/libtorrent/torrent_info.hpp:195:3: error: 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::wpath&)' cannot be overloaded
../include/libtorrent/torrent_info.hpp:193:3: error: with 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::path&)'
../include/libtorrent/torrent_info.hpp:204:3: error: 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::wpath&, boost::system::error_code&)' cannot be overloaded
../include/libtorrent/torrent_info.hpp:202:3: error: with 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::path&, boost::system::error_code&)'
In file included from ../include/libtorrent/torrent_info.hpp:61:0,
                 from ../include/libtorrent/storage.hpp:55,
                 from ../include/libtorrent/peer_connection.hpp:63,
                 from ../include/libtorrent/bt_peer_connection.hpp:59,
                 from bt_peer_connection.cpp:40:
../include/libtorrent/file_storage.hpp: At global scope:
../include/libtorrent/file_storage.hpp:110:8: error: 'void libtorrent::file_storage::add_file(const boost::filesystem3::wpath&, libtorrent::size_type, int, time_t, const boost::filesystem3::path&)' cannot be overloaded
../include/libtorrent/file_storage.hpp:106:8: error: with 'void libtorrent::file_storage::add_file(const boost::filesystem3::path&, libtorrent::size_type, int, time_t, const boost::filesystem3::path&)'
In file included from ../include/libtorrent/storage.hpp:55:0,
                 from ../include/libtorrent/peer_connection.hpp:63,
                 from ../include/libtorrent/bt_peer_connection.hpp:59,
                 from bt_peer_connection.cpp:40:
../include/libtorrent/torrent_info.hpp:195:3: error: 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::wpath&)' cannot be overloaded
../include/libtorrent/torrent_info.hpp:193:3: error: with 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::path&)'
../include/libtorrent/torrent_info.hpp:204:3: error: 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::wpath&, boost::system::error_code&)' cannot be overloaded
../include/libtorrent/torrent_info.hpp:202:3: error: with 'libtorrent::torrent_info::torrent_info(const boost::filesystem3::path&, boost::system::error_code&)'
In file included from ../include/libtorrent/peer_connection.hpp:66:0,
                 from ../include/libtorrent/bt_peer_connection.hpp:59,
                 from bt_peer_connection.cpp:40:
../include/libtorrent/torrent_handle.hpp:581:8: error: 'void libtorrent::torrent_handle::move_storage(const boost::filesystem3::wpath&) const' cannot be overloaded
../include/libtorrent/torrent_handle.hpp:577:8: error: with 'void libtorrent::torrent_handle::move_storage(const boost::filesystem3::path&) const'
../include/libtorrent/torrent_handle.hpp:582:8: error: 'void libtorrent::torrent_handle::rename_file(int, const boost::filesystem3::wpath&) const' cannot be overloaded
../include/libtorrent/torrent_handle.hpp:578:8: error: with 'void libtorrent::torrent_handle::rename_file(int, const boost::filesystem3::path&) const'
In file included from ../include/libtorrent/alert_types.hpp:37:0,
                 from alert.cpp:36:
../include/libtorrent/torrent_handle.hpp:581:8: error: 'void libtorrent::torrent_handle::move_storage(const boost::filesystem3::wpath&) const' cannot be overloaded
../include/libtorrent/torrent_handle.hpp:577:8: error: with 'void libtorrent::torrent_handle::move_storage(const boost::filesystem3::path&) const'
../include/libtorrent/torrent_handle.hpp:582:8: error: 'void libtorrent::torrent_handle::rename_file(int, const boost::filesystem3::wpath&) const' cannot be overloaded
../include/libtorrent/torrent_handle.hpp:578:8: error: with 'void libtorrent::torrent_handle::rename_file(int, const boost::filesystem3::path&) const'
In file included from ../include/libtorrent/peer_connection.hpp:41:0,
                 from ../include/libtorrent/alert_types.hpp:39,
                 from alert.cpp:36:
../include/libtorrent/debug.hpp: In constructor 'libtorrent::logger::logger(const boost::filesystem3::path&, const boost::filesystem3::path&, int, bool)':
../include/libtorrent/debug.hpp:74:18: error: 'complete' is not a member of 'libtorrent::fs'
make[1]: *** [bt_peer_connection.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [alert.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: net-libs/rb_libtorrent-0.15.5 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2431:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/rb_libtorrent-0.15.5',
 * the complete build log and the output of 'emerge -pqv =net-libs/rb_libtorrent-0.15.5'.
 * The complete build log is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/temp/environment'.
 * S: '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5'

>>> Failed to emerge net-libs/rb_libtorrent-0.15.5, Log file:

>>>  '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/temp/build.log'

 * Messages for package net-libs/rb_libtorrent-0.15.5:

 * ERROR: net-libs/rb_libtorrent-0.15.5 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2431:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/rb_libtorrent-0.15.5',
 * the complete build log and the output of 'emerge -pqv =net-libs/rb_libtorrent-0.15.5'.
 * The complete build log is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/temp/environment'.
 * S: '/var/tmp/portage/net-libs/rb_libtorrent-0.15.5/work/libtorrent-rasterbar-0.15.5'
welder@dreamer ~ $
Comment 1 Attila Jecs 2011-03-30 23:52:20 UTC
Created attachment 267927 [details]
build.log
Comment 2 Attila Jecs 2011-03-30 23:53:55 UTC
welder@dreamer ~ $ emerge --info =net-libs/rb_libtorrent-0.15.5
Portage 2.2.0_alpha29 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.2
Timestamp of tree: Wed, 30 Mar 2011 21:00:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
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
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
Repositories: gentoo Valami-winhez
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 AdobeFlash-10 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs 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://distfiles.gentoo.org"
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en hu"
MAKEOPTS="-j3"
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 a52 accessibility acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cli consolekit cracklib crypt custom-cflags custom-optimization cxx dar32 dbus declarative device-mapper dlloader dri dvd dvdr dvdread dynamic enca encode exif expat fam ffmpeg flac fontconfig fuse gd gdbm gif glibc-omitfp glitz gpm hashstyle hddtemp iconv icu id3tag imagemagick inotify jce jpeg jpeg2k kde kipi libnotify lm_sensors lzma mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pch pcre pdf perl phonon png policykit postgres ppds pppd private-headers python qt3support qt4 quicktime readline semantic-desktop session slang spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs system-sqlite tcpd theora threads thumbnail tiff truetype udev unicode usb vaapi vdpau vlc vorbis windeco x264 xattr xcomposite xinerama xml xml2 xmp xorg xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/rb_libtorrent-0.15.5 was built with the following:
USE="python ssl -debug -doc -examples"
Comment 3 Attila Jecs 2011-03-30 23:54:53 UTC
welder@dreamer ~ $ emerge -pqv =net-libs/rb_libtorrent-0.15.5
[ebuild   R   ] net-libs/rb_libtorrent-0.15.5  USE="python ssl -debug -doc -examples" 
welder@dreamer ~ $
Comment 4 Vasiliy Olekhov 2011-04-02 22:58:01 UTC
Created attachment 268265 [details]
build.log

same here. rb_libtorrent can not compile agains boost-1.46, but with other errors:

../include/libtorrent/file_storage.hpp:110:8: error: 'void libtorrent::file_storage::add_file(const boost::filesystem3::wpath&, libtorrent::size_type, int, time_t, const boost::filesystem3::path&)' cannot be overloaded
Comment 5 Mads 2011-04-05 16:53:54 UTC
Do not apply Geki's patch from http://code.google.com/p/gekis-playground/downloads/list if you have done it. You should just add -DBOOST_FILESYSTEM_VERSION=2 , then it compiles and runs without segmentation faults.

I edited the configure-file after an ebuild unpack adding the lines
> $as_echo "#define BOOST_FILESYSTEM_VERSION 2">>confdefs.h
> COMPILETIME_OPTIONS+="-DBOOST_FILESYSTEM_VERSION=2 "
somewhere around line 19517-ish. Worked nicely.

This is upstream bug http://code.google.com/p/libtorrent/issues/detail?id=171
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-04-11 09:09:28 UTC
This is fixed in rb_libtorrent-0.15.6