=> 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 pwlib-1.8.3nb13
set -e; /usr/pkg/bin/gmake -C src/ptlib/unix opt;
gmake[1]: Entering directory '/scratch/work/devel/pwlib/work/pwlib/src/ptlib/unix'
c++ -D_REENTRANT -fno-exceptions -Wall -I/scratch/work/devel/pwlib/work/pwlib/include -I/scratch/work/devel/pwlib/work/pwlib/include -M assert.cxx >> /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/*.dep
/scratch/work/devel/pwlib/work/.cwrapper/bin/libtool --mode=compile --tag=CXX c++ -D_REENTRANT -fno-exceptions -Wall  -I/scratch/work/devel/pwlib/work/pwlib/include -I/scratch/work/devel/pwlib/work/pwlib/include -Os  -O2 -I/usr/include -felide-constructors -x c++ -c ../../ptclib/asner.cxx -o /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/asner.o
/scratch/work/devel/pwlib/work/.cwrapper/bin/libtool --mode=compile --tag=CXX c++ -D_REENTRANT -fno-exceptions -Wall  -I/scratch/work/devel/pwlib/work/pwlib/include -I/scratch/work/devel/pwlib/work/pwlib/include -Os  -O2 -I/usr/include -felide-constructors -x c++ -c ../../ptclib/ipacl.cxx -o /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/ipacl.o
libtool: compile:  c++ -D_REENTRANT -fno-exceptions -Wall -I/scratch/work/devel/pwlib/work/pwlib/include -Os -O2 -felide-constructors -x c++ -c ../../ptclib/ipacl.cxx  -fPIC -DPIC -o /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/.libs/ipacl.o
libtool: compile:  c++ -D_REENTRANT -fno-exceptions -Wall -I/scratch/work/devel/pwlib/work/pwlib/include -Os -O2 -felide-constructors -x c++ -c ../../ptclib/asner.cxx  -fPIC -DPIC -o /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/.libs/asner.o
In file included from /scratch/work/devel/pwlib/work/pwlib/include/ptlib.h:247:0,
                 from ../../ptclib/asner.cxx:315:
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/psharedptr.h:70:21: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     PSharedPtr(std::auto_ptr<element_type> & v)
                     ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41:0,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib/object.h:417,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib/contain.h:248,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib.h:158,
                 from ../../ptclib/asner.cxx:315:
/usr/include/g++/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /scratch/work/devel/pwlib/work/pwlib/include/ptlib.h:247:0,
                 from ../../ptclib/ipacl.cxx:78:
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/psharedptr.h:70:21: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     PSharedPtr(std::auto_ptr<element_type> & v)
                     ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41:0,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib/object.h:417,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib/contain.h:248,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib.h:158,
                 from ../../ptclib/ipacl.cxx:78:
/usr/include/g++/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /scratch/work/devel/pwlib/work/pwlib/include/ptlib/contain.h:797:0,
                 from /scratch/work/devel/pwlib/work/pwlib/include/ptlib.h:158,
                 from ../../ptclib/asner.cxx:315:
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h: In instantiation of 'void PScalarArray<T>::ReadElementFrom(std::istream&, PINDEX) [with T = unsigned int; std::istream = std::basic_istream<char>; PINDEX = int]':
../../ptclib/asnber.cxx:673:1:   required from here
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         SetAt(index, t);
         ~~~~~^~~~~~~~~~
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: note: declarations in dependent base 'PBaseArray<unsigned int>' are not found by unqualified lookup
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: note: use 'this->SetAt' instead
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h: In instantiation of 'void PScalarArray<T>::ReadElementFrom(std::istream&, PINDEX) [with T = short unsigned int; std::istream = std::basic_istream<char>; PINDEX = int]':
../../ptclib/asnber.cxx:673:1:   required from here
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: note: declarations in dependent base 'PBaseArray<short unsigned int>' are not found by unqualified lookup
/scratch/work/devel/pwlib/work/pwlib/include/ptlib/array.h:626:14: note: use 'this->SetAt' instead
gmake[1]: *** [../../../make/common.mak:313: /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/asner.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libtool: compile:  c++ -D_REENTRANT -fno-exceptions -Wall -I/scratch/work/devel/pwlib/work/pwlib/include -Os -O2 -felide-constructors -x c++ -c ../../ptclib/ipacl.cxx -o /scratch/work/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/ipacl.o >/dev/null 2>&1
gmake[1]: Leaving directory '/scratch/work/devel/pwlib/work/pwlib/src/ptlib/unix'
gmake: *** [Makefile:233: opt] Error 2
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/devel/pwlib
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/devel/pwlib