+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtorrent-0.9.8nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtorrent-0.9.8nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for rtorrent-0.9.8nb9
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8'
Making all in doc
gmake[2]: Entering directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/doc'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/doc'
Making all in src
gmake[2]: Entering directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src'
Making all in core
gmake[3]: Entering directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src/core'
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT curl_get.o -MD -MP -MF .deps/curl_get.Tpo -c -o curl_get.o curl_get.cc
In file included from ./../globals.h:41,
                 from curl_get.cc:44:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/curl_get.Tpo .deps/curl_get.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT curl_socket.o -MD -MP -MF .deps/curl_socket.Tpo -c -o curl_socket.o curl_socket.cc
In file included from ./../control.h:43,
                 from curl_socket.cc:46:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()':
curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate]
   95 |     throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1.");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
curl_socket.cc:95:5: note: in C++11 destructors default to 'noexcept'
mv -f .deps/curl_socket.Tpo .deps/curl_socket.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT curl_stack.o -MD -MP -MF .deps/curl_stack.Tpo -c -o curl_stack.o curl_stack.cc
In file included from curl_get.h:45,
                 from curl_stack.cc:44:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/curl_stack.Tpo .deps/curl_stack.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT dht_manager.o -MD -MP -MF .deps/dht_manager.Tpo -c -o dht_manager.o dht_manager.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from dht_manager.cc:47:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from dht_manager.cc:41:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from ./../globals.h:41,
                 from dht_manager.cc:49:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/dht_manager.Tpo .deps/dht_manager.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from download.cc:50:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from ./../rpc/parse_commands.h:43,
                 from download.cc:50:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from ./../control.h:43,
                 from download.cc:52:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/download.Tpo .deps/download.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT download_factory.o -MD -MP -MF .deps/download_factory.Tpo -c -o download_factory.o download_factory.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from download_factory.cc:53:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from download_factory.cc:47:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from curl_get.h:45,
                 from download_factory.cc:55:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/download_factory.Tpo .deps/download_factory.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from download_list.cc:54:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from download_list.cc:49:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from ./../control.h:43,
                 from download_list.cc:56:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/download_list.Tpo .deps/download_list.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT download_store.o -MD -MP -MF .deps/download_store.Tpo -c -o download_store.o download_store.cc
In file included from ./../globals.h:41,
                 from download.h:47,
                 from download_store.cc:56:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/download_store.Tpo .deps/download_store.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT http_queue.o -MD -MP -MF .deps/http_queue.Tpo -c -o http_queue.o http_queue.cc
In file included from curl_get.h:45,
                 from http_queue.cc:45:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
http_queue.cc: In member function 'std::__cxx11::list<core::CurlGet*>::iterator core::HttpQueue::insert(const string&, std::iostream*)':
http_queue.cc:51:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   51 |   std::auto_ptr<CurlGet> h(m_slot_factory());
      |        ^~~~~~~~
In file included from /opt/tools/gcc10/include/c++/10.3.0/memory:83,
                 from http_queue.cc:39:
/opt/tools/gcc10/include/c++/10.3.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
mv -f .deps/http_queue.Tpo .deps/http_queue.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from manager.cc:60:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from manager.cc:51:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from ./../globals.h:41,
                 from manager.cc:64:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/manager.Tpo .deps/manager.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT poll_manager.o -MD -MP -MF .deps/poll_manager.Tpo -c -o poll_manager.o poll_manager.cc
In file included from ./../globals.h:41,
                 from poll_manager.cc:46:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/poll_manager.Tpo .deps/poll_manager.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT view.o -MD -MP -MF .deps/view.Tpo -c -o view.o view.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from view.cc:46:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from ./../rpc/parse_commands.h:43,
                 from view.cc:46:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
In file included from ./../control.h:43,
                 from view.cc:48:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/view.Tpo .deps/view.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT view_manager.o -MD -MP -MF .deps/view_manager.Tpo -c -o view_manager.o view_manager.cc
In file included from ./../globals.h:41,
                 from view_manager.cc:44:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from view_manager.cc:46:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from view_manager.cc:42:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/view_manager.Tpo .deps/view_manager.Po
rm -f libsub_core.a
ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o manager.o poll_manager.o view.o view_manager.o 
ranlib libsub_core.a
gmake[3]: Leaving directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src/core'
Making all in display
gmake[3]: Entering directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src/display'
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT canvas.o -MD -MP -MF .deps/canvas.Tpo -c -o canvas.o canvas.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from canvas.cc:44:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from ./../rpc/parse_commands.h:43,
                 from canvas.cc:44:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/canvas.Tpo .deps/canvas.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT frame.o -MD -MP -MF .deps/frame.Tpo -c -o frame.o frame.cc
In file included from ./../globals.h:41,
                 from window.h:44,
                 from frame.cc:46:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/frame.Tpo .deps/frame.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc
In file included from ./../globals.h:41,
                 from manager.cc:44:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/manager.Tpo .deps/manager.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cc
In file included from ./../globals.h:41,
                 from ./../core/download.h:47,
                 from utils.cc:57:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from utils.cc:59:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from ./../rpc/parse_commands.h:43,
                 from utils.cc:59:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/utils.Tpo .deps/utils.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT text_element_list.o -MD -MP -MF .deps/text_element_list.Tpo -c -o text_element_list.o text_element_list.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from text_element.h:44,
                 from text_element_list.h:40,
                 from text_element_list.cc:43:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from text_element.h:44,
                 from text_element_list.h:40,
                 from text_element_list.cc:43:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/text_element_list.Tpo .deps/text_element_list.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT text_element_string.o -MD -MP -MF .deps/text_element_string.Tpo -c -o text_element_string.o text_element_string.cc
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from text_element_string.cc:41:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from ./../rpc/parse_commands.h:43,
                 from text_element_string.cc:41:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/text_element_string.Tpo .deps/text_element_string.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT text_element_value.o -MD -MP -MF .deps/text_element_value.Tpo -c -o text_element_value.o text_element_value.cc
In file included from ./../globals.h:41,
                 from text_element_value.cc:41:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from text_element.h:44,
                 from text_element_value.h:43,
                 from text_element_value.cc:42:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../rpc/command_map.h:43,
                 from text_element.h:44,
                 from text_element_value.h:43,
                 from text_element_value.cc:42:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/text_element_value.Tpo .deps/text_element_value.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.cc
In file included from ./../globals.h:41,
                 from window.h:44,
                 from window.cc:41:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/window.Tpo .deps/window.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT window_download_chunks_seen.o -MD -MP -MF .deps/window_download_chunks_seen.Tpo -c -o window_download_chunks_seen.o window_download_chunks_seen.cc
In file included from /home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block.h:42,
                 from window_download_chunks_seen.cc:44:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  129 |     throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept'
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  132 |     throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept'
In file included from ./../globals.h:41,
                 from ./../core/download.h:47,
                 from window_download_chunks_seen.cc:48:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
mv -f .deps/window_download_chunks_seen.Tpo .deps/window_download_chunks_seen.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT window_download_list.o -MD -MP -MF .deps/window_download_list.Tpo -c -o window_download_list.o window_download_list.cc
In file included from ./../globals.h:41,
                 from ./../core/download.h:47,
                 from window_download_list.cc:41:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from ./../rpc/command.h:240,
                 from ./../rpc/command_map.h:45,
                 from ./../rpc/parse_commands.h:43,
                 from window_download_list.cc:43:
./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)':
./../rpc/command_impl.h:105:58: warning: 'void* std::memset(void*, int, std::size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess]
  105 |     std::memset(last_stack, 0xAA, sizeof(torrent::Object));
      |                                                          ^
In file included from ./../core/view.h:55,
                 from window_download_list.cc:42:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here
   49 | class LIBTORRENT_EXPORT Object {
      |                         ^~~~~~
mv -f .deps/window_download_list.Tpo .deps/window_download_list.Po
g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I./.. -I../.. -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -g -DDEBUG -Wall -D_REENTRANT  -pthread    -I/opt/pkg/include  -I/opt/pkg/include   -MT window_download_statusbar.o -MD -MP -MF .deps/window_download_statusbar.Tpo -c -o window_download_statusbar.o window_download_statusbar.cc
In file included from /home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/peer/peer_list.h:42,
                 from window_download_statusbar.cc:44:
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h: In member function 'bool torrent::socket_address_key::is_valid() const':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:23:46: error: 'AF_UNSPEC' was not declared in this scope
   23 |   bool is_valid() const { return m_family != AF_UNSPEC; }
      |                                              ^~~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h: In static member function 'static bool torrent::socket_address_key::is_comparable_sockaddr(const sockaddr*)':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:49:42: error: 'AF_INET' was not declared in this scope
   49 |   return sa != NULL && (sa->sa_family == AF_INET || sa->sa_family == AF_INET6);
      |                                          ^~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:49:70: error: 'AF_INET6' was not declared in this scope
   49 |   return sa != NULL && (sa->sa_family == AF_INET || sa->sa_family == AF_INET6);
      |                                                                      ^~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h: In static member function 'static torrent::socket_address_key torrent::socket_address_key::from_sockaddr(const sockaddr*)':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:60:21: error: 'AF_UNSPEC' was not declared in this scope
   60 |   result.m_family = AF_UNSPEC;
      |                     ^~~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:66:8: error: 'AF_INET' was not declared in this scope
   66 |   case AF_INET:
      |        ^~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:73:8: error: 'AF_INET6' was not declared in this scope
   73 |   case AF_INET6:
      |        ^~~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h: In static member function 'static torrent::socket_address_key torrent::socket_address_key::from_sin_addr(const sockaddr_in&)':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:91:21: error: 'AF_INET' was not declared in this scope
   91 |   result.m_family = AF_INET;
      |                     ^~~~~~~
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h: In static member function 'static torrent::socket_address_key torrent::socket_address_key::from_sin6_addr(const sockaddr_in6&)':
/home/pbulk/build/net/rtorrent/work/.buildlink/include/torrent/net/socket_address_key.h:103:21: error: 'AF_INET6' was not declared in this scope
  103 |   result.m_family = AF_INET6;
      |                     ^~~~~~~~
In file included from ./../globals.h:41,
                 from window_download_statusbar.cc:47:
../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
gmake[3]: *** [Makefile:502: window_download_statusbar.o] Error 1
gmake[3]: Leaving directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src/display'
gmake[2]: *** [Makefile:633: all-recursive] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8/src'
gmake[1]: *** [Makefile:451: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/rtorrent/work/rtorrent-0.9.8'
gmake: *** [Makefile:383: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rtorrent
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rtorrent