=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ptlib-2.6.1nb1
/usr/pkg/bin/gmake DEBUG= P_SHAREDLIB=1 default_target
gmake[1]: Entering directory `/scratch/devel/ptlib/work/ptlib-2.6.1'
gmake[1]: Leaving directory `/scratch/devel/ptlib/work/ptlib-2.6.1'
set -e; if test -e src ; then /usr/pkg/bin/gmake -C src optshared; fi;  if test -e plugins ; then /usr/pkg/bin/gmake -C plugins optshared; fi; 
gmake[1]: Entering directory `/scratch/devel/ptlib/work/ptlib-2.6.1/src'
/usr/pkg/bin/gmake DEBUG= P_SHAREDLIB=1 default_target
gmake[2]: Entering directory `/scratch/devel/ptlib/work/ptlib-2.6.1/src'
c++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/SDL    -fno-exceptions -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -Os  -I/scratch/devel/ptlib/work/ptlib-2.6.1/include -O2 -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -felide-constructors -Wreorder -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -c ptclib/pssl.cxx -o /scratch/devel/ptlib/work/ptlib-2.6.1/lib_NetBSD_x86_64/obj/pssl.o
c++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/SDL    -fno-exceptions -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -Os  -I/scratch/devel/ptlib/work/ptlib-2.6.1/include -O2 -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -felide-constructors -Wreorder -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -c ptclib/pldap.cxx -o /scratch/devel/ptlib/work/ptlib-2.6.1/lib_NetBSD_x86_64/obj/pldap.o
c++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/SDL    -fno-exceptions -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -Os  -I/scratch/devel/ptlib/work/ptlib-2.6.1/include -O2 -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -felide-constructors -Wreorder -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -c ptclib/pils.cxx -o /scratch/devel/ptlib/work/ptlib-2.6.1/lib_NetBSD_x86_64/obj/pils.o
In file included from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/contain.h:34,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/object.h:44,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/contain.h:41,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib.h:56,
                 from ptclib/pssl.cxx:86:
/scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/pmachdep.h:128:1: warning: "_THREAD_SAFE" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/contain.h:34,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/object.h:44,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/contain.h:41,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib.h:56,
                 from ptclib/pils.cxx:35:
/scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/pmachdep.h:128:1: warning: "_THREAD_SAFE" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/contain.h:34,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/object.h:44,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/contain.h:41,
                 from /scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib.h:56,
                 from ptclib/pldap.cxx:35:
/scratch/devel/ptlib/work/ptlib-2.6.1/include/ptlib/unix/ptlib/pmachdep.h:128:1: warning: "_THREAD_SAFE" redefined
<command line>:1:1: warning: this is the location of the previous definition
ptclib/pssl.cxx: In member function 'void PSSLContext::Construct(PSSLContext::Method, const void*, PINDEX)':
ptclib/pssl.cxx:807: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
ptclib/pssl.cxx:810: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
ptclib/pssl.cxx:813: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
ptclib/pssl.cxx:817: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
gmake[2]: *** [/scratch/devel/ptlib/work/ptlib-2.6.1/lib_NetBSD_x86_64/obj/pssl.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/scratch/devel/ptlib/work/ptlib-2.6.1/src'
gmake[1]: *** [optshared] Error 2
gmake[1]: Leaving directory `/scratch/devel/ptlib/work/ptlib-2.6.1/src'
gmake: *** [optshared] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/ptlib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ptlib
