=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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'. => Checksum SHA1 OK for ptlib-2.10.7.tar.xz => Checksum RMD160 OK for ptlib-2.10.7.tar.xz ===> Installing dependencies for ptlib-2.10.7nb4 ========================================================================== The following variables will affect the build process of this package, ptlib-2.10.7nb4. Their current value is shown below: * READLINE_DEFAULT = editline * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * READLINE_TYPE = editline * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb5 => Tool dependency bison>=1.0: found bison-3.0 => Tool dependency gmake>=3.81: found gmake-3.82nb7 => Tool dependency pkg-config>=0.25: found pkg-config-0.28 => Build dependency x11-links>=0.78: found x11-links-0.79 => Full dependency SDL>=1.2.10: found SDL-1.2.15nb7 => Full dependency libv4l>=0.4.3nb2: found libv4l-0.4.3nb2 => Full dependency lua>=5.2.0: found lua-5.2.2 ===> Overriding tools for ptlib-2.10.7nb4 ===> Extracting for ptlib-2.10.7nb4 ===> Patching for ptlib-2.10.7nb4 => Applying pkgsrc patches for ptlib-2.10.7nb4 ===> Creating toolchain wrappers for ptlib-2.10.7nb4 src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/usr/pkgsrc/devel/ptlib/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /usr/pkgsrc/devel/ptlib/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for ptlib-2.10.7nb4 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking pkg-config is at least version 0.9.0... yes checking for i486--netbsdelf-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes configure: PTLib version is 2.10.7 checking build system type... i486--netbsdelf checking host system type... i486--netbsdelf checking target system type... i486--netbsdelf checking for swab... yes configure: OSTYPE set to NetBSD configure: OSRELEASE set to 601000200 configure: MACHTYPE set to x86 configure: gcc version is 4.5.3 checking checking if pragma implementation should be used... no checking checking if precompiled headers available... no checking how to run the C++ preprocessor... c++ -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no configure: Default extension for C++ files is cpp checking if compiler accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... yes checking size of int... 4 checking for long double with more range or precision than double... yes checking for flex... /usr/pkgsrc/devel/ptlib/work/.tools/bin/flex checking for i486--netbsdelf-ar... no checking for ar... ar checking for bison... /usr/pkgsrc/devel/ptlib/work/.tools/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes configure: PTRACE and all trace logging included configure: Using ANSI C++ bool for PBoolean: (PFalse=false PTrue=true) checking for recvmsg... no checking for IPV6_ADD_MEMBERSHIP... no checking for NetLink support... no checking if using STL streams... yes checking if atomic integer available... yes checking if __exchange_and_add is in __gnu_cxx namespace... yes checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking if pthread_mutex_timedlock is available... no checking for sem_timedwait in -lpthread... no checking if recursive mutexes are available... PTHREAD_MUTEX_RECURSIVE checking if setpgrp takes no parameters... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if dlopen is available... yes checking for dlopen in -lc... yes checking enable plugin support... yes checking where plugins are being installed... /usr/pkg/lib/ptlib-2.10.7 checking enable samples build... no checking how to run the C preprocessor... gcc -E checking for res_ninit... no checking for res_ninit in -lresolv... yes checking for sasl_version in -lsasl2... no checking for sasl_client_out in -lsasl... no checking if works... no checking if works... no configure: SUN mlib disabled checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for ldap_open in -lldap... yes checking for OPENSSL... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for const arg to d2i_AutoPrivateKey... yes checking for d2i_DHparams_bio variants... new checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... yes checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking for lua_newstate in -llua... yes configure: IPV6 disabled checking for inet_ntop... yes checking enable config file support... yes checking enable URL support... yes checking enable HTTP support... yes checking enable HTTP forms support... yes checking enable HTTP server support... yes checking enable Jabber support... yes checking enable VXML support... yes checking enable XMLRPC support... yes checking enable SOAP support... yes checking enable Text-To-Speech server support... yes checking enable ASN decoding/encoding support... yes checking enable STUN support... yes checking enable pipechannel support... yes checking enable DTMF protocol support... yes checking enable SOCKS protocol support... yes checking enable FTP protocol support... yes checking enable SNMP protocol support... yes checking enable TELNET protocol support... yes checking enable remote connection support... yes checking enable serial port support... yes checking enable POP3/SMTP support... yes checking enable audio support... yes checking enable WAVFILE support... yes checking enable QOS support... yes checking enable video device support... yes checking enable video file support... yes checking enable FFMpeg video file support... yes checking enable application sharing support... no checking enable shared memory video devices... yes checking for SDL... yes checking enable video for windows capture... no checking sql.h usability... no checking sql.h presence... no checking for sql.h... no checking enable C++ exceptions... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel configure: creating ./config.status config.status: creating make/ptbuildopts.mak config.status: creating make/ptlib-config config.status: creating Makefile config.status: creating ptlib_cfg.dxy config.status: creating ptlib.pc config.status: creating include/ptbuildopts.h === configuring in plugins (/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/plugins) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg' '--enable-httpforms' '--enable-httpsvc' '--enable-plugins' '--enable-jabber' '--enable-vxml' '--enable-xmlrpc' '--enable-soap' '--enable-oss' '--enable-opal' '--enable-openldap' '--enable-expat' '--disable-bsdvideo' '--disable-sunaudio' '--disable-alsa' '--disable-avc' '--disable-dc' '--enable-v4l2' '--x-includes=/usr/X11R7/include' '--x-libraries=/usr/X11R7/lib' '--build=i486--netbsdelf' '--host=i486--netbsdelf' '--mandir=/usr/pkg/man' 'build_alias=i486--netbsdelf' 'host_alias=i486--netbsdelf' 'PKG_CONFIG=/usr/pkgsrc/devel/ptlib/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/usr/pkgsrc/devel/ptlib/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/ptlib/work/.buildlink/share/pkgconfig' 'CC=gcc' 'CFLAGS=-O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm' 'LDFLAGS=-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm' --cache-file=/dev/null --srcdir=. checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for i486--netbsdelf-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking build system type... i486--netbsdelf checking host system type... i486--netbsdelf checking target system type... i486--netbsdelf checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for OSS sound support... yes checking pulse/simple.h usability... no checking pulse/simple.h presence... no checking for pulse/simple.h... no checking for Pulse sound support... no checking for sys/videoio.h... yes checking for V4L2 video support... yes checking libv4l2.h usability... yes checking libv4l2.h presence... yes checking for libv4l2.h... yes checking for v4l2_fd_open in -lv4l2... yes checking for libv4l2 support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating vidinput_v4l2/Makefile config.status: creating vidinput_dc/Makefile => Modifying libtool scripts to use pkgsrc libtool ===> Building for ptlib-2.10.7nb4 /usr/pkg/bin/gmake DEBUG= P_SHAREDLIB=1 default_target gmake[1]: Entering directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7' gmake[1]: Leaving directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7' gmake[1]: Entering directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/src' /usr/pkg/bin/gmake DEBUG= P_SHAREDLIB=1 default_target gmake[2]: Entering directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/src' [CC] ptclib/pldap.cxx [CC] ptclib/pils.cxx [CC] ptclib/pssl.cxx [CC] ptclib/vsdl.cxx [CC] ptlib/common/vfakeio.cxx [CC] ptlib/common/videoio.cxx [CC] ptlib/common/vconvert.cxx [CC] ptlib/common/pvidchan.cxx [CC] ptlib/common/tinyjpeg.cxx ptlib/common/tinyjpeg.cxx: In function 'int tinyjpeg_get_components(jdec_private*, unsigned char**)': ptlib/common/tinyjpeg.cxx:2178:31: warning: array subscript is above array bounds [CC] ptlib/common/jidctflt.cxx [CC] ptlib/unix/shmvideo.cxx [CC] ptlib/common/sound.cxx [CC] ptclib/pxml.cxx [CC] ptclib/pxmlrpc.cxx [CC] ptclib/pxmlrpcs.cxx [CC] ptclib/psoap.cxx [CC] ptclib/vxml.cxx [CC] ptclib/lua.cxx [CC] ptclib/pdns.cxx [CC] ptclib/enum.cxx [CC] ptclib/ptts.cxx [CC] ptclib/asner.cxx [CC] ptclib/pasn.cxx [CC] ptclib/snmpclnt.cxx [CC] ptclib/snmpserv.cxx [CC] ptclib/psnmp.cxx [CC] ptclib/snmp.cxx [CC] ptclib/rfc1155.cxx [CC] ptclib/ftpclnt.cxx [CC] ptclib/ftpsrvr.cxx [CC] ptclib/ftp.cxx [CC] ptclib/telnet.cxx [CC] ptclib/pstun.cxx [CC] ptclib/pnat.cxx [CC] ptclib/socks.cxx [CC] ptlib/unix/pipechan.cxx [CC] ptlib/unix/remconn.cxx [CC] ptclib/pwavfile.cxx [CC] ptclib/pwavfiledev.cxx [CC] ptclib/dtmf.cxx [CC] ptlib/unix/serchan.cxx [CC] ptclib/modem.cxx [CC] ptclib/inetmail.cxx [CC] ptclib/url.cxx [CC] ptclib/http.cxx [CC] ptclib/httpclnt.cxx [CC] ptclib/html.cxx [CC] ptclib/httpsrvr.cxx [CC] ptclib/httpform.cxx [CC] ptlib/unix/svcproc.cxx ptlib/unix/svcproc.cxx: In member function 'virtual void PServiceProcess::PXOnAsyncSignal(int)': ptlib/unix/svcproc.cxx:554:69: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type '__pthread_st*' ptlib/unix/svcproc.cxx:554:69: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type '__pthread_st*' [CC] ptclib/httpsvc.cxx [CC] ptclib/shttpsvc.cxx [CC] ptlib/unix/config.cxx [CC] ptclib/pvidfile.cxx [CC] ptclib/pvfiledev.cxx [CC] ptclib/pffvdev.cxx [CC] ptlib/unix/uicmp.cxx [CC] ptlib/unix/socket.cxx ptlib/unix/socket.cxx: In static member function 'static PBoolean PIPSocket::IsLocalHost(const PString&)': ptlib/unix/socket.cxx:487:17: warning: unused variable 'ifConf' ptlib/unix/socket.cxx: In static member function 'static PBoolean PIPSocket::GetInterfaceTable(PIPSocket::InterfaceTable&, PBoolean)': ptlib/unix/socket.cxx:1878:17: warning: unused variable 'ifConf' [CC] ptlib/unix/udll.cxx [CC] ptlib/unix/channel.cxx [CC] ptlib/unix/osutil.cxx [CC] ptlib/unix/tlib.cxx [CC] ptlib/unix/switch.cxx [CC] ptclib/cli.cxx [CC] ptclib/threadpool.cxx [CC] ptclib/ipacl.cxx [CC] ptclib/qchannel.cxx [CC] ptclib/delaychan.cxx [CC] ptclib/memfile.cxx [CC] ptclib/cypher.cxx [CC] ptclib/random.cxx [CC] ptclib/inetprot.cxx [CC] ptlib/common/notifier_ext.cxx [CC] ptclib/vcard.cxx [CC] ptclib/guid.cxx bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c ptlib/common/getdate.y:135.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ ptlib/common/getdate.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] ptlib/common/getdate.y: warning: 18 reduce/reduce conflicts [-Wconflicts-rr] [CC] ptlib/common/getdate.tab.c ptlib/common/getdate.tab.c:271:5: error: conflicting types for 'PTime_yyparse' ptlib/common/getdate.y:120:12: note: previous declaration of 'PTime_yyparse' was here ptlib/common/getdate.y: In function 'PTime_yyparse': ptlib/common/getdate.y:158:6: error: 'parseParam' undeclared (first use in this function) ptlib/common/getdate.y:158:6: note: each undeclared identifier is reported only once for each function it appears in ptlib/common/getdate.y: In function 'LookupWord': ptlib/common/getdate.y:611:9: warning: array subscript has type 'char' ptlib/common/getdate.y:683:4: warning: array subscript has type 'char' ptlib/common/getdate.y: In function 'PTimeParse': ptlib/common/getdate.y:981:5: error: too many arguments to function 'PTime_yyparse' ptlib/common/getdate.tab.c:1140:1: note: declared here gmake[2]: *** [/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/lib_NetBSD_x86/obj/getdate.tab.o] Error 1 gmake[2]: Leaving directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/src' gmake[1]: *** [optshared] Error 2 gmake[1]: Leaving directory `/usr/pkgsrc/devel/ptlib/work/ptlib-2.10.7/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