MidnightBSD Magus

net-p2p/libtorrent

BitTorrent Library

Flavor Version Run OSVersion Arch License Restricted Status
0.13.8 623 4.0 i386 gpl2 gpl3 0 fail

License Permissions:

Events

Machine Type Time Message
m4032 info 2025-12-16 13:16:56.369743 Test Started
m4032 fail 2025-12-16 13:18:52.059356 make build returned non-zero: 1
m4032 fail 2025-12-16 13:18:52.117718 Test complete.

Log

===>  Building for libtorrent-0.13.8
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in torrent
--- all-recursive ---
Making all in data
--- block.lo ---
--- block_list.lo ---
--- chunk_utils.lo ---
--- download_data.lo ---
--- block.lo ---
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include   -pthread  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include  -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo block.cc
--- chunk_utils.lo ---
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include   -pthread  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include  -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.cc
--- download_data.lo ---
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include   -pthread  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include  -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c -o download_data.lo download_data.cc
--- block_list.lo ---
/bin/sh ../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../../..  -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include   -pthread  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include  -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c -o block_list.lo block_list.cc
--- download_data.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -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
--- chunk_utils.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -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
--- block_list.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -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
--- block.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc  -fPIC -DPIC -o .libs/block.o
In file included from block.cc:41:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  174 | struct less2_t : public std::binary_function {
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
In file included from block.cc:41:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  213 | struct greater2_t : public std::binary_function {
      |                            ~~~~~^~~~~~~~~~~~~~~
      |                                 __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
--- block.lo ---
In file included from block.cc:41:
--- download_data.lo ---
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
--- block.lo ---
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  273 | struct invert : public std::unary_function {
      |                        ~~~~~^~~~~~~~~~~~~~
      |                             __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- download_data.lo ---
  174 | struct less2_t : public std::binary_function {
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
--- block.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- download_data.lo ---
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- block_list.lo ---
In file included from block_list.cc:42:
./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions]
  132 |     throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
      |     ^
./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification
  127 | BlockTransfer::~BlockTransfer() {
      |                ^
./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions]
--- block.lo ---
In file included from block.cc:41:
--- block_list.lo ---
  129 |     throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
      |     ^
./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification
--- block.lo ---
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- block_list.lo ---
  127 | BlockTransfer::~BlockTransfer() {
      |                ^
--- block.lo ---
  279 | struct on_t : public std::unary_function {
      |                      ~~~~~^~~~~~~~~~~~~~
      |                           __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  213 | struct greater2_t : public std::binary_function {
      |                            ~~~~~^~~~~~~~~~~~~~~
      |                                 __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  299 | struct on2_t : public std::binary_function {
      |                       ~~~~~^~~~~~~~~~~~~~~
      |                            __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  273 | struct invert : public std::unary_function {
      |                        ~~~~~^~~~~~~~~~~~~~
      |                             __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  320 | struct mem_ptr_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block_list.lo ---
block_list.cc:87:38: error: no member named 'mem_fun_ref' in namespace 'std'
   87 |   std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader));
      |                                 ~~~~~^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  279 | struct on_t : public std::unary_function {
      |                      ~~~~~^~~~~~~~~~~~~~
      |                           __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  341 | struct mem_ref_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block_list.lo ---
block_list.cc:88:38: error: no member named 'mem_fun_ref' in namespace 'std'
   88 |   std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer));
      |                                 ~~~~~^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  299 | struct on2_t : public std::binary_function {
      |                       ~~~~~^~~~~~~~~~~~~~~
      |                            __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- download_data.lo ---
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- block.lo ---
  352 | struct const_mem_ref_t : public std::unary_function {
      |                                 ~~~~~^~~~~~~~~~~~~~
      |                                      __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  320 | struct mem_ptr_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- download_data.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
  395 | struct call_delete : public std::unary_function {
      |                             ~~~~~^~~~~~~~~~~~~~
      |                                  __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from block.cc:41:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  341 | struct mem_ref_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- block.lo ---
  408 | class bind1st_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- download_data.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from block.cc:41:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- block.lo ---
  433 | class bind2nd_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- download_data.lo ---
  352 | struct const_mem_ref_t : public std::unary_function {
      |                                 ~~~~~^~~~~~~~~~~~~~
      |                                      __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from block.cc:41:
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
--- block.lo ---
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
--- download_data.lo ---
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- block.lo ---
  551 | class mem_fun2 : public std::binary_function {
--- download_data.lo ---
  395 | struct call_delete : public std::unary_function {
      |                             ~~~~~^~~~~~~~~~~~~~
      |                                  __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- block.lo ---
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
--- download_data.lo ---
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:46: error: no member named 'bind2nd' in namespace 'std'; did you mean 'find_end'?
--- block.lo ---
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- chunk_utils.lo ---
   84 |     return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
      |                                         ~~~~~^~~~~~~
      |                                              find_end
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: 'find_end' declared here
  208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
      |                                                                                                ^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:117:17: warning: 'iterator' is deprecated [-Wdeprecated-declarations]
  117 |   : public std::iterator {
      |                 ^
/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator' has been explicitly marked deprecated here
   23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
      |                             ^
/usr/include/c++/v1/__config:748:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  748 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- chunk_utils.lo ---
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
--- download_data.lo ---
  408 | class bind1st_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  433 | class bind2nd_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block_list.lo ---
2 warnings and 2 errors generated.
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  551 | class mem_fun2 : public std::binary_function {
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- block_list.lo ---
*** [block_list.lo] Error code 1

make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  174 | struct less2_t : public std::binary_function {
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  213 | struct greater2_t : public std::binary_function {
      |                            ~~~~~^~~~~~~~~~~~~~~
      |                                 __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  273 | struct invert : public std::unary_function {
      |                        ~~~~~^~~~~~~~~~~~~~
      |                             __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  279 | struct on_t : public std::unary_function {
      |                      ~~~~~^~~~~~~~~~~~~~
      |                           __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- download_data.lo ---
12 errors generated.
*** [download_data.lo] Error code 1

make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  299 | struct on2_t : public std::binary_function {
      |                       ~~~~~^~~~~~~~~~~~~~~
      |                            __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  320 | struct mem_ptr_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  341 | struct mem_ref_t : public std::unary_function {
      |                           ~~~~~^~~~~~~~~~~~~~
      |                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  352 | struct const_mem_ref_t : public std::unary_function {
      |                                 ~~~~~^~~~~~~~~~~~~~
      |                                      __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  395 | struct call_delete : public std::unary_function {
      |                             ~~~~~^~~~~~~~~~~~~~
      |                                  __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  408 | class bind1st_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  433 | class bind2nd_t : public std::unary_function {
      |                          ~~~~~^~~~~~~~~~~~~~
      |                               __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
  551 | class mem_fun2 : public std::binary_function {
      |                         ~~~~~^~~~~~~~~~~~~~~
      |                              __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
--- block.lo ---
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:47:
In file included from ./../../protocol/extensions.h:48:
./../../net/address_list.h:62:36: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
   62 |   struct add_address : public std::unary_function {
      |                               ~~~~~^~~~~~~~~~~~~~
      |                                    __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:48:
In file included from ./../../download/available_list.h:45:
./../../net/address_list.h:62:36: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
   62 |   struct add_address : public std::unary_function {
      |                               ~~~~~^~~~~~~~~~~~~~
      |                                    __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
--- block.lo ---
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:50:
In file included from ./../../protocol/request_list.h:46:
In file included from ./../../globals.h:41:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no member named 'bind2nd' in namespace 'std'; did you mean simply 'bind2nd'?
   84 |     return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
      |                                         ^~~~~~~~~~~~
      |                                         bind2nd
../../../rak/functional.h:453:1: note: 'bind2nd' declared here
  453 | bind2nd(const Operation& op, const Type& val) {
      | ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:52:
./../../torrent/data/file_list.h:202:61: error: no member named 'bind2nd' in namespace 'std'; did you mean 'rak::bind2nd'?
  202 |   return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
      |                                                             ^~~~~~~~~~~~
      |                                                             rak::bind2nd
../../../rak/functional.h:453:1: note: 'rak::bind2nd' declared here
  453 | bind2nd(const Operation& op, const Type& val) {
      | ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:52:
./../../torrent/data/file_list.h:202:79: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
  202 |   return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
      |                                                                          ~~~~~^~~~~~~
      |                                                                               mem_fn
--- block.lo ---
In file included from block.cc:47:
./block_failed.h:96:38: error: no member named 'ptr_fun' in namespace 'std'
--- chunk_utils.lo ---
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
   48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
      |                                                                                 ^
--- block.lo ---
   96 |   std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry));
      |                                 ~~~~~^
./block_failed.h:101:48: error: no member named 'ptr_fun' in namespace 'std'
  101 |   return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries));
      |                                           ~~~~~^
./block_failed.h:106:50: error: no member named 'ptr_fun' in namespace 'std'
  106 |   return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries));
      |                                             ~~~~~^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:49:
In file included from ./../../data/chunk.h:44:
In file included from ./../../data/chunk_part.h:40:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  158 |   char buf[size];
      |            ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
  157 |   uint32_t size = pages_touched(offset, length);
      |            ^
--- block.lo ---
block.cc:68:51: error: no member named 'bind1st' in namespace 'std'; did you mean 'rak::bind1st'?
   68 |   std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this));
      |                                                   ^~~~~~~~~~~~
      |                                                   rak::bind1st
../../../rak/functional.h:428:1: note: 'rak::bind1st' declared here
  428 | bind1st(const Operation& op, const Type& val) {
      | ^
block.cc:68:69: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
   68 |   std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this));
      |                                                                ~~~~~^~~~~~~
      |                                                                     mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
   48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
      |                                                                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- chunk_utils.lo ---
In file included from chunk_utils.cc:49:
./../../data/chunk.h:124:44: error: no member named 'bind2nd' in namespace 'std'
  124 |   return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
      |                                       ~~~~~^
./../../data/chunk.h:124:57: error: no member named 'mem_fun_ref' in namespace 'std'
  124 |   return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
      |                                                    ~~~~~^
--- block.lo ---
20 errors generated.
*** [block.lo] Error code 1

make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no matching function for call to 'find_end'
   84 |     return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
      |                                         ^~~~~~~~~~~~
../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here
  113 |   if (queue->find(item) != queue->end())
      |              ^
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: candidate function template not viable: requires 5 arguments, but 2 were provided
  208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
      |                                                                                                ^
  209 |     _ForwardIterator1 __first1,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210 |     _ForwardIterator1 __last1,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~
  211 |     _ForwardIterator2 __first2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  212 |     _ForwardIterator2 __last2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~
  213 |     _BinaryPredicate __pred) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 19 errors generated.
*** [chunk_utils.lo] Error code 1

make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
4 errors

make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data

make[3]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent

make[2]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src

make[1]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8

make: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/net-p2p/libtorrent

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis