=> 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.2 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/net/libtorrent/work/libtorrent-0.15.2' Making all in src gmake[2]: Entering directory '/tmp/net/libtorrent/work/libtorrent-0.15.2/src' Making all in torrent gmake[3]: Entering directory '/tmp/net/libtorrent/work/libtorrent-0.15.2/src/torrent' depbase=`echo bitfield.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++17 -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++17 -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++17 -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 download.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../../libtool --tag=CXX --mode=compile c++ -std=c++17 -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 libtool: compile: c++ -std=c++17 -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++17 -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++17 -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++17 -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 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++17 -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++17 -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 In file included from /usr/include/g++/memory:80:0, from ./../manager.h:5, from connection_manager.cc:5: /usr/include/g++/bits/unique_ptr.h: In instantiation of 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = torrent::Poll]': /usr/include/g++/bits/unique_ptr.h:263:17: required from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = torrent::Poll; _Dp = std::default_delete]' ./../torrent/utils/thread.h:113:51: required from here /usr/include/g++/bits/unique_ptr.h:76:22: error: invalid application of 'sizeof' to incomplete type 'torrent::Poll' static_assert(sizeof(_Tp)>0, ^ /usr/include/g++/bits/unique_ptr.h: In instantiation of 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = torrent::net::Resolver]': /usr/include/g++/bits/unique_ptr.h:263:17: required from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = torrent::net::Resolver; _Dp = std::default_delete]' ./../torrent/utils/thread.h:114:55: required from here /usr/include/g++/bits/unique_ptr.h:76:22: error: invalid application of 'sizeof' to incomplete type 'torrent::net::Resolver' gmake[3]: *** [Makefile:950: connection_manager.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from /usr/include/g++/condition_variable:43:0, from ./../data/hash_queue.h:4, from download.cc:8: /usr/include/g++/bits/unique_ptr.h: In instantiation of 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = torrent::net::Resolver]': /usr/include/g++/bits/unique_ptr.h:263:17: required from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = torrent::net::Resolver; _Dp = std::default_delete]' ./../torrent/utils/thread.h:114:55: required from here /usr/include/g++/bits/unique_ptr.h:76:22: error: invalid application of 'sizeof' to incomplete type 'torrent::net::Resolver' static_assert(sizeof(_Tp)>0, ^ gmake[3]: *** [Makefile:950: download.lo] Error 1 gmake[3]: Leaving directory '/tmp/net/libtorrent/work/libtorrent-0.15.2/src/torrent' gmake[2]: *** [Makefile:1024: all-recursive] Error 1 gmake[2]: Leaving directory '/tmp/net/libtorrent/work/libtorrent-0.15.2/src' gmake[1]: *** [Makefile:512: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/net/libtorrent/work/libtorrent-0.15.2' gmake: *** [Makefile:421: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/libtorrent *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/libtorrent