Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't emerge rtorrent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
yurt
n00b
n00b


Joined: 16 Oct 2013
Posts: 9

PostPosted: Wed Oct 16, 2013 4:59 pm    Post subject: [SOLVED] Can't emerge rtorrent Reply with quote

build.log
Code:

 * Package:    net-p2p/rtorrent-0.8.9
 * Repository: gentoo
 * Maintainer: net-p2p@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking rtorrent-0.8.9.tar.gz to /var/tmp/portage/net-p2p/rtorrent-0.8.9/work
>>> Source unpacked in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work
>>> Preparing source in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9 ...
 * Applying rtorrent-0.8.9-ncurses.patch ...
 [ ok ]
 * Running elibtoolize in: rtorrent-0.8.9/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build"
 * econf: updating rtorrent-0.8.9/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating rtorrent-0.8.9/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --docdir=/usr/share/doc/rtorrent-0.8.9 --disable-dependency-tracking --disable-debug --enable-ipv6 --without-xmlrpc-c
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.9.6... no
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for user-defined CXXFLAGS... user-defined "-march=native -O2 -pipe"
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for execinfo.h... yes
checking for proper overloaded template function disambiguation... yes
checking for sysroot... no
checking for library containing add_wch... -lncursesw
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for sigc... yes
checking for libcurl... yes
checking for libtorrent... yes
checking for XMLRPC-C... no
checking for posix_memalign... yes
checking for cacheline... using default 128 bytes
checking if compiler supports __attribute__((unused))... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/core/Makefile
config.status: creating src/display/Makefile
config.status: creating src/input/Makefile
config.status: creating src/rpc/Makefile
config.status: creating src/ui/Makefile
config.status: creating src/utils/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build"
make -j3
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/doc'
Making all in src
make[2]: Entering directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/src'
Making all in core
make[3]: Entering directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/src/core'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o curl_get.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/curl_get.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o curl_socket.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/curl_socket.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o curl_stack.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/curl_stack.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o dht_manager.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o download.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/download.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o download_factory.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/download_factory.cc
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc: In member function 'bool core::DhtManager::log_statistics(bool)':
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc:273:32: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'torrent::Rate::total_type {aka long unsigned int}' [-Wformat]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc:273:32: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'torrent::Rate::total_type {aka long unsigned int}' [-Wformat]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc:273:32: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'torrent::Rate::total_type {aka long unsigned int}' [-Wformat]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/dht_manager.cc:273:32: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'torrent::Rate::total_type {aka long unsigned int}' [-Wformat]
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o download_list.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/download_list.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o download_store.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/download_store.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o http_queue.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/http_queue.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o log.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/log.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I../.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/.. -I/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9    -march=native -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -c -o manager.o /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc
In file included from /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.h:47:0,
                 from /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc:72:
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h: In instantiation of 'typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator core::RangeMap<Key, T, Compare, Alloc>::set_merge(Key, const Key&, const T&) [with Key = unsigned int; T = std::pair<torrent::Throttle*, torrent::Throttle*>; Compare = std::less<unsigned int>; Alloc = std::allocator<std::pair<const unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > >; typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > >]':
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc:211:53:   required from here
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:140:7: error: 'erase' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:140:7: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:140:7: note: use 'this->erase' instead
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:151:104: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:151:104: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:151:104: note: use 'this->insert' instead
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h: In instantiation of 'typename core::RangeMap<Key, T, Compare, Alloc>::iterator core::RangeMap<Key, T, Compare, Alloc>::crop_overlap(const Key&, const Key&) [with Key = unsigned int; T = std::pair<torrent::Throttle*, torrent::Throttle*>; Compare = std::less<unsigned int>; Alloc = std::allocator<std::pair<const unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > >; typename core::RangeMap<Key, T, Compare, Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > >]':
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:133:62:   required from 'typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator core::RangeMap<Key, T, Compare, Alloc>::set_merge(Key, const Key&, const T&) [with Key = unsigned int; T = std::pair<torrent::Throttle*, torrent::Throttle*>; Compare = std::less<unsigned int>; Alloc = std::allocator<std::pair<const unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > >; typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > >]'
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc:211:53:   required from here
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:105:55: error: 'upper_bound' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:105:55: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:105:55: note: use 'this->upper_bound' instead
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:110:7: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:110:7: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:110:7: note: use 'this->insert' instead
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:114:7: error: 'erase' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:114:7: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:114:7: note: use 'this->erase' instead
In file included from /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.h:47:0,
                 from /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc:72:
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h: In instantiation of 'typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator core::RangeMap<Key, T, Compare, Alloc>::find(const Key&) const [with Key = unsigned int; T = std::pair<torrent::Throttle*, torrent::Throttle*>; Compare = std::less<unsigned int>; Alloc = std::allocator<std::pair<const unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > >; typename core::RangeMap<Key, T, Compare, Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > >]':
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:188:51:   required from 'T core::RangeMap<Key, T, Compare, Alloc>::get(const Key&, T) const [with Key = unsigned int; T = std::pair<torrent::Throttle*, torrent::Throttle*>; Compare = std::less<unsigned int>; Alloc = std::allocator<std::pair<const unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > >]'
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/manager.cc:217:128:   required from here
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:166:58: error: 'upper_bound' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:166:58: note: declarations in dependent base 'std::map<unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> >, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, std::pair<unsigned int, std::pair<torrent::Throttle*, torrent::Throttle*> > > > >' are not found by unqualified lookup
/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/src/core/range_map.h:166:58: note: use 'this->upper_bound' instead
make[3]: *** [manager.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build'
make: *** [all] Error 2
 * ERROR: net-p2p/rtorrent-0.8.9::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-p2p/rtorrent-0.8.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-p2p/rtorrent-0.8.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/environment'.
 * Working directory: '/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build'
 * S: '/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9'


emerge --info '=net-p2p/rtorrent-0.8.9::gentoo'
Code:

Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3933532 total,   1813448 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 16 Oct 2013 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cryptsetup cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libkms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification static-libs svg tcpd tiff truetype udev udisks unicode upower usb vorbis wifi wxwidgets x264 xa xcb xml xorg 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" 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="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


emerge -pqv '=net-p2p/rtorrent-0.8.9::gentoo'

Code:

[ebuild  N    ] net-p2p/rtorrent-0.8.9  USE="ipv6 -color -daemon -debug {-test} -xmlrpc"

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Last edited by yurt on Thu Oct 17, 2013 4:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Thu Oct 17, 2013 9:36 am    Post subject: Re: Can't emerge rtorrent Reply with quote

yurt wrote:
Code:
 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Not related to your problem, but you should read Portage news with eselect news as emerge says.
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Oct 17, 2013 11:59 am    Post subject: Reply with quote

I had exactly the same problem. First I've tried to dig into the source and read about the -fpermissive flag. But I really don't like C++ and so I've emerged a newer version:
Code:
emerge -a =rtorrent-0.9.2

and it worked... :)

edit: on an other system I have version 0.8.9 installed and had no problems. USE flags are not the same but similar...
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
yurt
n00b
n00b


Joined: 16 Oct 2013
Posts: 9

PostPosted: Thu Oct 17, 2013 4:30 pm    Post subject: Reply with quote

Thanks LoTeK that worked! However I would like to know how was I supposed to know there is a newer version available? When I searched for rtorrent it only displayed the older version and a selinux-rtorrent package. Can someone explain?
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Oct 17, 2013 4:37 pm    Post subject: Reply with quote

Thats because of your profile. At the moment version 0.8.9 is the latest stable version (for your profile). To see all available versions you can install
Code:
eix
and then you type:
Code:
eix -e -v rtorrent

then all available versions will be listed. Since you have installed version 0.9.2 like me, you had to unmask the package. Those packages aren't declared as stable yet, but most of the time you won't have a problem with them (at least I never had a problem).

edit: you probably shouldn't mark the thread as solved, because the problem with version 0.8.9 isn't solved. It could be a bug.
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Sat Oct 26, 2013 10:09 pm    Post subject: Reply with quote

LoTeK wrote:
Thats because of your profile. At the moment version 0.8.9 is the latest stable version (for your profile). To see all available versions you can install
Code:
eix
and then you type:
Code:
eix -e -v rtorrent

then all available versions will be listed. Since you have installed version 0.9.2 like me, you had to unmask the package. Those packages aren't declared as stable yet, but most of the time you won't have a problem with them (at least I never had a problem).


Or you could just use:

Code:

$ equery list rtorrent -p


equery is part of gentoolkit, if I remember right. It's probably already on your system.

I hit this bug too, just upgraded. I also hit some weird NFS bug with my kernel. Updating, grrr..... ;)
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Tue Apr 29, 2014 3:16 pm    Post subject: Reply with quote

Thanks for the tread! I have been able to emerge net-p2p/rtorrent-0.9.2. This Debian Bug report log says this is a bug that has been solved in net-p2p/rtorrent-0.9.2.

Happy gentooing!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum