=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libtorrent-0.15.1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1' Making all in src gmake[2]: Entering directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1/src' Making all in torrent gmake[3]: Entering directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1/src/torrent' depbase=`echo bitfield.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT bitfield.lo -MD -MP -MF $depbase.Tpo -c -o bitfield.lo bitfield.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo chunk_manager.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT chunk_manager.lo -MD -MP -MF $depbase.Tpo -c -o chunk_manager.lo chunk_manager.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo connection_manager.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT connection_manager.lo -MD -MP -MF $depbase.Tpo -c -o connection_manager.lo connection_manager.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo dht_manager.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT dht_manager.lo -MD -MP -MF $depbase.Tpo -c -o dht_manager.lo dht_manager.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo download.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT download.lo -MD -MP -MF $depbase.Tpo -c -o download.lo download.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT error.lo -MD -MP -MF $depbase.Tpo -c -o error.lo error.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo event.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT event.lo -MD -MP -MF $depbase.Tpo -c -o event.lo event.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo exceptions.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT exceptions.lo -MD -MP -MF $depbase.Tpo -c -o exceptions.lo exceptions.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cc -fPIC -DPIC -o .libs/error.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT dht_manager.lo -MD -MP -MF .deps/dht_manager.Tpo -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT download.lo -MD -MP -MF .deps/download.Tpo -c download.cc -fPIC -DPIC -o .libs/download.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT chunk_manager.lo -MD -MP -MF .deps/chunk_manager.Tpo -c chunk_manager.cc -fPIC -DPIC -o .libs/chunk_manager.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT bitfield.lo -MD -MP -MF .deps/bitfield.Tpo -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT event.lo -MD -MP -MF .deps/event.Tpo -c event.cc -fPIC -DPIC -o .libs/event.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cc -o error.o >/dev/null 2>&1 depbase=`echo hash_string.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT hash_string.lo -MD -MP -MF $depbase.Tpo -c -o hash_string.lo hash_string.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT hash_string.lo -MD -MP -MF .deps/hash_string.Tpo -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o In file included from data/block.h:42:0, from download.cc:41: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:74: warning: throw will always call terminate() [-Wterminate] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:129:74: note: in C++11 destructors default to noexcept ./../torrent/data/block_transfer.h:132:78: warning: throw will always call terminate() [-Wterminate] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:132:78: note: in C++11 destructors default to noexcept In file included from ./../manager.h:6:0, from dht_manager.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept In file included from ./../globals.h:5:0, from chunk_manager.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept chunk_manager.cc: In destructor 'torrent::ChunkManager::~ChunkManager()': chunk_manager.cc:78:104: warning: throw will always call terminate() [-Wterminate] throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); ^ chunk_manager.cc:78:104: note: in C++11 destructors default to noexcept libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT event.lo -MD -MP -MF .deps/event.Tpo -c event.cc -o event.o >/dev/null 2>&1 In file included from ./../data/hash_torrent.h:43:0, from download.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept In file included from ./../manager.h:6:0, from connection_manager.cc:49: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT bitfield.lo -MD -MP -MF .deps/bitfield.Tpo -c bitfield.cc -o bitfield.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.cc -o exceptions.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT chunk_manager.lo -MD -MP -MF .deps/chunk_manager.Tpo -c chunk_manager.cc -o chunk_manager.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT hash_string.lo -MD -MP -MF .deps/hash_string.Tpo -c hash_string.cc -o hash_string.o >/dev/null 2>&1 depbase=`echo http.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT http.lo -MD -MP -MF $depbase.Tpo -c -o http.lo http.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT http.lo -MD -MP -MF .deps/http.Tpo -c http.cc -fPIC -DPIC -o .libs/http.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c connection_manager.cc -o connection_manager.o >/dev/null 2>&1 depbase=`echo object.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT object.lo -MD -MP -MF $depbase.Tpo -c -o object.lo object.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -fPIC -DPIC -o .libs/object.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT dht_manager.lo -MD -MP -MF .deps/dht_manager.Tpo -c dht_manager.cc -o dht_manager.o >/dev/null 2>&1 depbase=`echo object_static_map.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT object_static_map.lo -MD -MP -MF $depbase.Tpo -c -o object_static_map.lo object_static_map.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object_static_map.lo -MD -MP -MF .deps/object_static_map.Tpo -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o depbase=`echo object_stream.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT object_stream.lo -MD -MP -MF $depbase.Tpo -c -o object_stream.lo object_stream.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT http.lo -MD -MP -MF .deps/http.Tpo -c http.cc -o http.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object_stream.lo -MD -MP -MF .deps/object_stream.Tpo -c object_stream.cc -fPIC -DPIC -o .libs/object_stream.o depbase=`echo path.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT path.lo -MD -MP -MF $depbase.Tpo -c -o path.lo path.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT path.lo -MD -MP -MF .deps/path.Tpo -c path.cc -fPIC -DPIC -o .libs/path.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT download.lo -MD -MP -MF .deps/download.Tpo -c download.cc -o download.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object_static_map.lo -MD -MP -MF .deps/object_static_map.Tpo -c object_static_map.cc -o object_static_map.o >/dev/null 2>&1 depbase=`echo poll_epoll.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT poll_epoll.lo -MD -MP -MF $depbase.Tpo -c -o poll_epoll.lo poll_epoll.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT poll_epoll.lo -MD -MP -MF .deps/poll_epoll.Tpo -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o depbase=`echo poll_kqueue.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT poll_kqueue.lo -MD -MP -MF $depbase.Tpo -c -o poll_kqueue.lo poll_kqueue.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT poll_kqueue.lo -MD -MP -MF .deps/poll_kqueue.Tpo -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o depbase=`echo poll_select.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT poll_select.lo -MD -MP -MF $depbase.Tpo -c -o poll_select.lo poll_select.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT path.lo -MD -MP -MF .deps/path.Tpo -c path.cc -o path.o >/dev/null 2>&1 depbase=`echo rate.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -pthread -O2 -I/usr/include -DNDEBUG -Wall -fvisibility=hidden -I/usr/include -MT rate.lo -MD -MP -MF $depbase.Tpo -c -o rate.lo rate.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT poll_select.lo -MD -MP -MF .deps/poll_select.Tpo -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT rate.lo -MD -MP -MF .deps/rate.Tpo -c rate.cc -fPIC -DPIC -o .libs/rate.o In file included from /usr/include/errno.h:42:0, from /usr/include/g++/cerrno:42, from poll_kqueue.cc:3: poll_kqueue.cc: In member function 'void torrent::PollKQueue::modify(torrent::Event*, short unsigned int, short int)': poll_kqueue.cc:77:3: error: invalid static_cast from type 'torrent::Event*' to type 'intptr_t {aka int}' EV_SET(itr, event->file_descriptor(), mask, op, 0, 0, event); ^ poll_kqueue.cc: In member function 'virtual void torrent::PollKQueue::close(torrent::Event*)': poll_kqueue.cc:278:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (itr->udata == event) ^~~~~ poll_kqueue.cc:279:20: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] itr->udata = NULL; ^~~~ poll_kqueue.cc: In lambda function: poll_kqueue.cc:282:90: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] [event](const struct kevent& ke) { return ke.udata == event; }) - m_changes; ^~~~~ poll_kqueue.cc: In member function 'virtual void torrent::PollKQueue::closed(torrent::Event*)': poll_kqueue.cc:304:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (itr->udata == event) ^~~~~ poll_kqueue.cc:305:20: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] itr->udata = NULL; ^~~~ poll_kqueue.cc: In lambda function: poll_kqueue.cc:308:90: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] [event](const struct kevent& ke) { return ke.udata == event; }) - m_changes; ^~~~~ libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -o object.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT poll_epoll.lo -MD -MP -MF .deps/poll_epoll.Tpo -c poll_epoll.cc -o poll_epoll.o >/dev/null 2>&1 gmake[3]: *** [Makefile:909: poll_kqueue.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from ./../globals.h:5:0, from rate.cc:39: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept poll_select.cc: In destructor 'virtual torrent::PollSelect::~PollSelect()': poll_select.cc:127:87: warning: throw will always call terminate() [-Wterminate] throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); ^ poll_select.cc:127:87: note: in C++11 destructors default to noexcept libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT rate.lo -MD -MP -MF .deps/rate.Tpo -c rate.cc -o rate.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT object_stream.lo -MD -MP -MF .deps/object_stream.Tpo -c object_stream.cc -o object_stream.o >/dev/null 2>&1 libtool: compile: c++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -O2 -DNDEBUG -Wall -fvisibility=hidden -MT poll_select.lo -MD -MP -MF .deps/poll_select.Tpo -c poll_select.cc -o poll_select.o >/dev/null 2>&1 gmake[3]: Leaving directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1/src/torrent' gmake[2]: *** [Makefile:968: all-recursive] Error 1 gmake[2]: Leaving directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1/src' gmake[1]: *** [Makefile:512: all-recursive] Error 1 gmake[1]: Leaving directory '/pbulk/work/net/libtorrent/work/libtorrent-0.15.1' gmake: *** [Makefile:421: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/libtorrent *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/libtorrent