MidnightBSD Magus

net-p2p/libtorrent

BitTorrent Library

Flavor Version Run OSVersion Arch License Restricted Status
0.13.6 328 0.8 amd64 gpl2 gpl3 0 fail

Events

Machine Type Time Message
jenolen info 2017-03-19 09:49:50.605314 Test Started
jenolen fail 2017-03-19 09:51:14.527527 make build returned non-zero: 1
jenolen fail 2017-03-19 09:51:14.776396 Test complete.

Log

===>  Building for libtorrent-0.13.6
/usr/bin/make  all-recursive
Making all in src
Making all in torrent
Making all in data
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo block.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c -o block_list.lo block_list.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c -o download_data.lo download_data.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file.lo -MD -MP -MF .deps/file.Tpo -c -o file.lo file.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c -o file_list.lo file_list.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c -o file_list_iterator.lo file_list_iterator.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c -o file_manager.lo file_manager.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c -o file_utils.lo file_utils.cc
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include   -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c -o transfer_list.lo transfer_list.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c download_data.cc  -fPIC -DPIC -o .libs/download_data.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.cc  -fPIC -DPIC -o .libs/file.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc  -fPIC -DPIC -o .libs/block.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c file_list_iterator.cc  -fPIC -DPIC -o .libs/file_list_iterator.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc  -fPIC -DPIC -o .libs/block_list.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c file_utils.cc  -fPIC -DPIC -o .libs/file_utils.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c chunk_utils.cc  -fPIC -DPIC -o .libs/chunk_utils.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c file_list.cc  -fPIC -DPIC -o .libs/file_list.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c transfer_list.cc  -fPIC -DPIC -o .libs/transfer_list.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -std=c++11 -DNDEBUG -fvisibility=hidden -I/usr/include -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c file_manager.cc  -fPIC -DPIC -o .libs/file_manager.o
In file included from file.cc:48:
In file included from ./../../globals.h:41:
../../../rak/priority_queue_default.h:51:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
../../../rak/priority_queue_default.h:51:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from file_manager.cc:46:
In file included from ./../../manager.h:42:
../../../rak/priority_queue_default.h:51:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
../../../rak/priority_queue_default.h:51:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
../../../rak/priority_queue_default.h:65:3: error: unknown type name 'slot_void'
  slot_void&          slot()                        { return m_slot; }
  ^
../../../rak/priority_queue_default.h:65:3: error: unknown type name 'slot_void'
  slot_void&          slot()                        { return m_slot; }
  ^
../../../rak/priority_queue_default.h:78:3: error: unknown type name 'slot_void'
  slot_void           m_slot;
  ^
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:42:
./../../torrent/poll.h:49:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_poll;
          ~~~~~^
./../../torrent/poll.h:49:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_poll;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from download_data.cc:41:
./download_data.h:60:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
./download_data.h:60:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
../../../rak/priority_queue_default.h:78:3: error: unknown type name 'slot_void'
  slot_void           m_slot;
  ^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
../../../rak/priority_queue_default.h:51:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
../../../rak/priority_queue_default.h:51:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
./../../torrent/data/download_data.h:60:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
./../../torrent/data/download_data.h:60:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
../../../rak/priority_queue_default.h:59:14: error: use of undeclared identifier 'slot_void'
    m_slot = slot_void();
             ^
./../../torrent/poll.h:94:10: error: unknown type name 'slot_poll'
  static slot_poll&   slot_create_poll() { return m_slot_create_poll; }
         ^
../../../rak/priority_queue_default.h:59:14: error: use of undeclared identifier 'slot_void'
    m_slot = slot_void();
             ^
./download_data.h:80:3: error: unknown type name 'slot_void'
  slot_void&             slot_initial_hash() const        { return m_slot_initial_hash; }
  ^
../../../rak/priority_queue_default.h:65:3: error: unknown type name 'slot_void'
  slot_void&          slot()                        { return m_slot; }
  ^
./../../torrent/poll.h:97:10: error: unknown type name 'slot_poll'
  static slot_poll    m_slot_create_poll;
         ^
./download_data.h:81:3: error: unknown type name 'slot_void'
  slot_void&             slot_download_done() const       { return m_slot_download_done; }
  ^
./../../torrent/data/download_data.h:80:3: error: unknown type name 'slot_void'
  slot_void&             slot_initial_hash() const        { return m_slot_initial_hash; }
  ^
../../../rak/priority_queue_default.h:78:3: error: unknown type name 'slot_void'
  slot_void           m_slot;
  ^
./download_data.h:82:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_done() const      { return m_slot_partially_done; }
  ^
./../../torrent/data/download_data.h:81:3: error: unknown type name 'slot_void'
  slot_void&             slot_download_done() const       { return m_slot_download_done; }
  ^
./download_data.h:83:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_restarted() const { return m_slot_partially_restarted; }
  ^
../../../rak/priority_queue_default.h:59:14: error: use of undeclared identifier 'slot_void'
    m_slot = slot_void();
             ^
./../../torrent/data/download_data.h:82:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_done() const      { return m_slot_partially_done; }
  ^
./download_data.h:118:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_initial_hash;
          ^
./../../torrent/data/download_data.h:83:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_restarted() const { return m_slot_partially_restarted; }
  ^
./download_data.h:119:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_download_done;
          ^
./../../torrent/data/download_data.h:118:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_initial_hash;
          ^
./download_data.h:120:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_partially_done;
          ^
./../../torrent/data/download_data.h:119:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_download_done;
          ^
./download_data.h:121:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_partially_restarted;
          ^
In file included from file_manager.cc:46:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:40:
./../../data/hash_check_queue.h:54:16: error: no type named 'function' in namespace 'std'
./../../torrent/data/download_data.h:120:11: error: unknown type name 'slot_void'
  typedef std::function      slot_chunk_handle;
          ~~~~~^
  mutable slot_void      m_slot_partially_done;
          ^
./../../data/hash_check_queue.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function      slot_chunk_handle;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:40:
./../../data/hash_check_queue.h:54:16: error: no type named 'function' in namespace 'std'
  typedef std::function      slot_chunk_handle;
          ~~~~~^
./../../data/hash_check_queue.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function      slot_chunk_handle;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/data/download_data.h:121:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_partially_restarted;
          ^
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
./../../torrent/data/file_list.h:108:91: error: cannot initialize object parameter of type 'const std::vector >' with an expression of type 'const torrent::FileList'
  size_t              size_files() const                              { return base_type::size(); }
                                                                                          ^~~~
./../../torrent/data/file_list.h:202:23: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::FileList'
  return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
                      ^~~~~~~~~
10 errors generated.
In file included from file.cc:49:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:40:
./../../data/hash_check_queue.h:54:16: error: no type named 'function' in namespace 'std'
  typedef std::function      slot_chunk_handle;
          ~~~~~^
./../../data/hash_check_queue.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function      slot_chunk_handle;
  ~~~~~~~~~~~~~~~~~~~~~^
file_utils.cc:91:28: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::FileList'
  FileList::iterator itr = fileList->begin();
                           ^~~~~~~~
file_utils.cc:93:17: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::FileList'
  while (itr != fileList->end())
                ^~~~~~~~
*** [download_data.lo] Error code 1
./../../data/hash_check_queue.h:76:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle&  slot_chunk_done() { return m_slot_chunk_done; }
  ^
14 errors generated.
*** [file_utils.lo] Error code 1
./../../data/hash_check_queue.h:76:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle&  slot_chunk_done() { return m_slot_chunk_done; }
  ^
./../../data/hash_check_queue.h:79:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle   m_slot_chunk_done;
  ^
./../../data/hash_check_queue.h:79:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle   m_slot_chunk_done;
  ^
./../../data/hash_check_queue.h:76:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle&  slot_chunk_done() { return m_slot_chunk_done; }
  ^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
In file included from ./../../torrent/utils/thread_base.h:43:
./../../torrent/utils/signal_bitfield.h:48:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_type;
          ~~~~~^
./../../torrent/utils/signal_bitfield.h:48:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_type;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from file_manager.cc:46:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
In file included from ./../../torrent/utils/thread_base.h:43:
./../../torrent/utils/signal_bitfield.h:48:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_type;
          ~~~~~^
./../../torrent/utils/signal_bitfield.h:48:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_type;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../data/hash_check_queue.h:79:3: error: unknown type name 'slot_chunk_handle'
  slot_chunk_handle   m_slot_chunk_done;
  ^
./../../torrent/utils/signal_bitfield.h:58:28: error: unknown type name 'slot_type'
  unsigned int  add_signal(slot_type slot);
                           ^
./../../torrent/utils/signal_bitfield.h:58:28: error: unknown type name 'slot_type'
  unsigned int  add_signal(slot_type slot);
                           ^
./../../torrent/utils/signal_bitfield.h:64:3: error: unknown type name 'slot_type'
  slot_type     m_slots[max_size] lt_cacheline_aligned;
  ^
./../../torrent/utils/signal_bitfield.h:64:3: error: unknown type name 'slot_type'
  slot_type     m_slots[max_size] lt_cacheline_aligned;
  ^
In file included from file.cc:49:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
In file included from ./../../torrent/utils/thread_base.h:43:
./../../torrent/utils/signal_bitfield.h:48:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_type;
          ~~~~~^
./../../torrent/utils/signal_bitfield.h:48:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_type;
  ~~~~~~~~~~~~~~~~~~~~~^
mv -f .deps/block_list.Tpo .deps/block_list.Plo
In file included from file_manager.cc:46:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
./../../torrent/utils/thread_base.h:54:16: error: no type named 'function' in namespace 'std'
  typedef std::function     slot_void;
          ~~~~~^
./../../torrent/utils/thread_base.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function     slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
./../../torrent/utils/thread_base.h:54:16: error: no type named 'function' in namespace 'std'
  typedef std::function     slot_void;
          ~~~~~^
./../../torrent/utils/thread_base.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function     slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/utils/thread_base.h:55:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_timer;
          ~~~~~^
./../../torrent/utils/thread_base.h:55:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_timer;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/utils/thread_base.h:104:3: error: unknown type name 'slot_void'
  slot_void&          slot_do_work()      { return m_slot_do_work; }
  ^
./../../torrent/utils/signal_bitfield.h:58:28: error: unknown type name 'slot_type'
  unsigned int  add_signal(slot_type slot);
                           ^
./../../torrent/utils/thread_base.h:55:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_timer;
          ~~~~~^
./../../torrent/utils/thread_base.h:55:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_timer;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/utils/thread_base.h:105:3: error: unknown type name 'slot_timer'
  slot_timer&         slot_next_timeout() { return m_slot_next_timeout; }
  ^
./../../torrent/utils/thread_base.h:104:3: error: unknown type name 'slot_void'
  slot_void&          slot_do_work()      { return m_slot_do_work; }
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
./../../torrent/utils/signal_bitfield.h:64:3: error: unknown type name 'slot_type'
  slot_type     m_slots[max_size] lt_cacheline_aligned;
  ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
./../../torrent/data/download_data.h:60:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_void;
          ~~~~~^
./../../torrent/data/download_data.h:60:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/utils/thread_base.h:105:3: error: unknown type name 'slot_timer'
  slot_timer&         slot_next_timeout() { return m_slot_next_timeout; }
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
./../../torrent/data/download_data.h:80:3: error: unknown type name 'slot_void'
  slot_void&             slot_initial_hash() const        { return m_slot_initial_hash; }
  ^
In file included from file.cc:49:
In file included from ./../../manager.h:44:
In file included from ./../../thread_disk.h:41:
./../../torrent/utils/thread_base.h:54:16: error: no type named 'function' in namespace 'std'
  typedef std::function     slot_void;
          ~~~~~^
./../../torrent/utils/thread_base.h:54:24: error: expected member name or ';' after declaration specifiers
  typedef std::function     slot_void;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/data/download_data.h:81:3: error: unknown type name 'slot_void'
  slot_void&             slot_download_done() const       { return m_slot_download_done; }
  ^
20 errors generated.
*** [file_manager.lo] Error code 1
./../../torrent/data/download_data.h:82:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_done() const      { return m_slot_partially_done; }
  ^
./../../torrent/data/download_data.h:83:3: error: unknown type name 'slot_void'
  slot_void&             slot_partially_restarted() const { return m_slot_partially_restarted; }
  ^
./../../torrent/utils/thread_base.h:55:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_timer;
          ~~~~~^
./../../torrent/utils/thread_base.h:55:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_timer;
  ~~~~~~~~~~~~~~~~~~~~~^
./../../torrent/data/download_data.h:118:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_initial_hash;
          ^
./../../torrent/utils/thread_base.h:104:3: error: unknown type name 'slot_void'
  slot_void&          slot_do_work()      { return m_slot_do_work; }
  ^
./../../torrent/utils/thread_base.h:105:3: error: unknown type name 'slot_timer'
  slot_timer&         slot_next_timeout() { return m_slot_next_timeout; }
  ^
./../../torrent/data/download_data.h:119:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_download_done;
          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
./../../torrent/data/download_data.h:120:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_partially_done;
          ^
./../../torrent/data/download_data.h:121:11: error: unknown type name 'slot_void'
  mutable slot_void      m_slot_partially_restarted;
          ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
./../../torrent/data/file_list.h:108:91: error: cannot initialize object parameter of type 'const std::vector >' with an expression of type 'const torrent::FileList'
  size_t              size_files() const                              { return base_type::size(); }
                                                                                          ^~~~
./../../torrent/data/file_list.h:202:23: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::FileList'
  return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
                      ^~~~~~~~~
12 errors generated.
In file included from transfer_list.cc:54:
./transfer_list.h:92:16: error: no type named 'function' in namespace 'std'
  typedef std::function  slot_chunk_index;
          ~~~~~^
./transfer_list.h:92:24: error: expected member name or ';' after declaration specifiers
  typedef std::function  slot_chunk_index;
  ~~~~~~~~~~~~~~~~~~~~~^
20 errors generated.
*** [file_list_iterator.lo] Error code 1
*** [file.lo] Error code 1
./transfer_list.h:93:16: error: no type named 'function' in namespace 'std'
  typedef std::function slot_peer_info;
          ~~~~~^
./transfer_list.h:93:24: error: expected member name or ';' after declaration specifiers
  typedef std::function slot_peer_info;
  ~~~~~~~~~~~~~~~~~~~~~^
./transfer_list.h:95:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index&   slot_canceled()  { return m_slot_canceled; }
  ^
./transfer_list.h:96:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index&   slot_completed() { return m_slot_completed; }
  ^
./transfer_list.h:97:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index&   slot_queued()    { return m_slot_queued; }
  ^
./transfer_list.h:98:3: error: unknown type name 'slot_peer_info'
  slot_peer_info&     slot_corrupt()   { return m_slot_corrupt; }
  ^
In file included from file_list.cc:58:
./../../torrent/utils/log.h:43:10: fatal error: 'array' file not found
#include 
         ^
./transfer_list.h:109:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index    m_slot_canceled;
  ^
./transfer_list.h:110:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index    m_slot_completed;
  ^
./transfer_list.h:111:3: error: unknown type name 'slot_chunk_index'
  slot_chunk_index    m_slot_queued;
  ^
./transfer_list.h:112:3: error: unknown type name 'slot_peer_info'
  slot_peer_info      m_slot_corrupt;
  ^
transfer_list.cc:64:15: error: exception specification in declaration does not match previous declaration
TransferList::~TransferList() {
              ^
./transfer_list.h:68:3: note: previous declaration is here
  ~TransferList();
  ^
transfer_list.cc:65:19: error: cannot initialize object parameter of type 'const std::vector >' with an expression of type 'torrent::TransferList'
  if (!base_type::empty())
                  ^~~~~
transfer_list.cc:71:23: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::TransferList'
  return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index)));
                      ^~~~~
transfer_list.cc:76:23: error: cannot initialize object parameter of type 'const std::vector >' with an expression of type 'const torrent::TransferList'
  return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index)));
                      ^~~~~
transfer_list.cc:81:17: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::TransferList'
  std::for_each(begin(), end(), std::bind(m_slot_canceled, std::bind(&BlockList::index, std::placeholders::_1)));
                ^~~~~
transfer_list.cc:82:17: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::TransferList'
  std::for_each(begin(), end(), rak::call_delete());
                ^~~~~
transfer_list.cc:84:14: error: cannot initialize object parameter of type 'std::vector >' with an expression of type 'torrent::TransferList'
  base_type::clear();
             ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [transfer_list.lo] Error code 1
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:47:
In file included from ./../../protocol/extensions.h:47:
./../../torrent/download_info.h:57:16: error: no type named 'function' in namespace 'std'
  typedef std::function                              slot_stat_type;
          ~~~~~^
./../../torrent/download_info.h:57:24: error: expected member name or ';' after declaration specifiers
  typedef std::function                              slot_stat_type;
  ~~~~~~~~~~~~~~~~~~~~~^
20 errors generated.
*** [chunk_utils.lo] Error code 1
./../../torrent/download_info.h:59:26: error: no member named 'function' in namespace 'std'
  typedef std::list >                      signal_void_type;
                    ~~~~~^
./../../torrent/download_info.h:59:44: error: expected member name or ';' after declaration specifiers
  typedef std::list >                      signal_void_type;
  ~~~~~~~                                  ^
1 error generated.
*** [file_list.lo] Error code 1
./../../torrent/download_info.h:60:26: error: no member named 'function' in namespace 'std'
  typedef std::list >    signal_string_type;
                    ~~~~~^
./../../torrent/download_info.h:60:41: error: expected expression
  typedef std::list >    signal_string_type;
                                        ^
./../../torrent/download_info.h:60:62: error: expected member name or ';' after declaration specifiers
  typedef std::list >    signal_string_type;
  ~~~~~~~                                                    ^
./../../torrent/download_info.h:159:3: error: unknown type name 'signal_void_type'
  signal_void_type&   signal_tracker_success() const               { return m_signalTrackerSuccess; }
  ^
./../../torrent/download_info.h:160:3: error: unknown type name 'signal_string_type'
  signal_string_type& signal_tracker_failed() const                { return m_signalTrackerFailed; }
  ^
./../../torrent/download_info.h:171:3: error: unknown type name 'slot_stat_type'
  slot_stat_type&     slot_left()                                  { return m_slotStatLeft; }
  ^
./../../torrent/download_info.h:172:3: error: unknown type name 'slot_stat_type'
  slot_stat_type&     slot_completed()                             { return m_slotStatCompleted; }
  ^
./../../torrent/download_info.h:198:3: error: unknown type name 'slot_stat_type'
  slot_stat_type      m_slotStatLeft;
  ^
./../../torrent/download_info.h:199:3: error: unknown type name 'slot_stat_type'
  slot_stat_type      m_slotStatCompleted;
  ^
./../../torrent/download_info.h:201:11: error: unknown type name 'signal_void_type'
  mutable signal_void_type    m_signalTrackerSuccess;
          ^
./../../torrent/download_info.h:202:11: error: unknown type name 'signal_string_type'
  mutable signal_string_type  m_signalTrackerFailed;
          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [block.lo] Error code 1
9 errors
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/mports/net-p2p/libtorrent.