=> 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'.
===> Installing for asterisk-1.6.1.6
=> Generating pre-install file lists
=> Creating installation directories
menuselect/menuselect --check-deps menuselect.makeopts /scratch/comms/asterisk16/work/asterisk-1.6.1.6/pkgsrc.makeopts 
Generating embedded module rules ...
CFLAGS="-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3  -pthread -I/usr/pkg/include  " build_tools/mkpkgconfig /scratch/comms/asterisk16/work/.destdir/usr/pkg/lib/pkgconfig
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/static-http
for x in static-http/*; do \
		/usr/bin/install -c -o pbulkXXX -g users -m 644 $x /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/static-http ; \
	done
if [ -d doc/tex/asterisk ] ; then \
			mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/static-http/docs ; \
			for n in doc/tex/asterisk/* ; do \
				/usr/bin/install -c -o pbulkXXX -g users -m 644 $n /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/static-http/docs ; \
			done \
	fi
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/images
for x in images/*.jpg; do \
		/usr/bin/install -c -o pbulkXXX -g users -m 644 $x /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/images ; \
	done
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libexec/agi-bin
/usr/pkg/bin/gmake -C sounds install
gmake[1]: Entering directory `/scratch/comms/asterisk16/work/asterisk-1.6.1.6/sounds'
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/sounds/en
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/sounds/es
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/sounds/fr
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/moh
gmake[1]: Leaving directory `/scratch/comms/asterisk16/work/asterisk-1.6.1.6/sounds'
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libexec/agi-bin
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/lib/asterisk/modules
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/share/examples/asterisk
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/bin
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/run/asterisk
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/voicemail
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/dictate
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/system
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/tmp
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/meetme
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/monitor
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/db/asterisk
Installing modules from channels...
Installing modules from pbx...
Installing modules from apps...
Installing modules from codecs...
Installing modules from formats...
Installing modules from cdr...
Installing modules from funcs...
Installing modules from tests...
Installing modules from main...
Installing modules from res...
/usr/bin/install -c -o pbulkXXX -g users -m 755 main/asterisk /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/
/bin/ln -sf asterisk /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/rasterisk
/usr/bin/install -c -o pbulkXXX -g users -m 755 contrib/scripts/astgenkey /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/
/usr/bin/install -c -o pbulkXXX -g users -m 755 contrib/scripts/autosupport /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/
if [ ! -f /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/safe_asterisk ]; then \
		cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|/usr/pkg/sbin|;s|__ASTERISK_VARRUN_DIR__|/var/run/asterisk|;' > /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/safe_asterisk ;\
		chmod 755 /scratch/comms/asterisk16/work/.destdir/usr/pkg/sbin/safe_asterisk;\
	fi
/usr/bin/install -c -o pbulkXXX -g users -d /scratch/comms/asterisk16/work/.destdir/usr/pkg/include/asterisk
/usr/bin/install -c -o pbulkXXX -g users -m 644 include/asterisk.h /scratch/comms/asterisk16/work/.destdir/usr/pkg/include
/usr/bin/install -c -o pbulkXXX -g users -m 644 include/asterisk/*.h /scratch/comms/asterisk16/work/.destdir/usr/pkg/include/asterisk
if [ -n "" ]; then \
		rm -f  ;\
	fi
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/log/asterisk/cdr-csv
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/log/asterisk/cdr-custom
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/keys
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/firmware
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/firmware/iax
mkdir -p /scratch/comms/asterisk16/work/.destdir/usr/pkg/man/man8
/usr/bin/install -c -o pbulkXXX -g users -m 644 keys/iaxtel.pub /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/keys
/usr/bin/install -c -o pbulkXXX -g users -m 644 keys/freeworlddialup.pub /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/keys
/usr/bin/install -c -o pbulkXXX -g users -m 644 doc/asterisk.8 /scratch/comms/asterisk16/work/.destdir/usr/pkg/man/man8
/usr/bin/install -c -o pbulkXXX -g users -m 644 contrib/scripts/astgenkey.8 /scratch/comms/asterisk16/work/.destdir/usr/pkg/man/man8
/usr/bin/install -c -o pbulkXXX -g users -m 644 contrib/scripts/autosupport.8 /scratch/comms/asterisk16/work/.destdir/usr/pkg/man/man8
/usr/bin/install -c -o pbulkXXX -g users -m 644 contrib/scripts/safe_asterisk.8 /scratch/comms/asterisk16/work/.destdir/usr/pkg/man/man8
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
		/usr/bin/install -c -o pbulkXXX -g users -m 644 contrib/firmware/iax/iaxy.bin /scratch/comms/asterisk16/work/.destdir/usr/pkg/libdata/asterisk/firmware/iax/iaxy.bin; \
	fi
 +---- Asterisk Installation Complete -------+
 +                                           +
 +    YOU MUST READ THE SECURITY DOCUMENT    +
 +                                           +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any      +
 + existing config files), run:              +
 +                                           +
 +                make samples               +
 +                                           +
 +-----------------  or ---------------------+
 +                                           +
 + You can go ahead and install the asterisk +
 + program documentation now or later run:   +
 +                                           +
 +               make progdocs               +
 +                                           +
 + **Note** This requires that you have      +
 + doxygen installed on your local system    +
 +-------------------------------------------+
Installing adsi config files...
Installing configs/asterisk.adsi
Installing configs/telcordia-1.adsi
Installing other config files...
Installing file configs/adsi.conf.sample
Installing file configs/adtranvofr.conf.sample
Installing file configs/agents.conf.sample
Installing file configs/ais.conf.sample
Installing file configs/alarmreceiver.conf.sample
Installing file configs/alsa.conf.sample
Installing file configs/amd.conf.sample
Installing file configs/cdr.conf.sample
Installing file configs/cdr_adaptive_odbc.conf.sample
Installing file configs/cdr_custom.conf.sample
Installing file configs/cdr_manager.conf.sample
Installing file configs/cdr_odbc.conf.sample
Installing file configs/cdr_pgsql.conf.sample
Installing file configs/cdr_sqlite3_custom.conf.sample
Installing file configs/cdr_tds.conf.sample
Installing file configs/chan_dahdi.conf.sample
Installing file configs/cli.conf.sample
Installing file configs/codecs.conf.sample
Installing file configs/console.conf.sample
Installing file configs/dbsep.conf.sample
Installing file configs/dnsmgr.conf.sample
Installing file configs/dsp.conf.sample
Installing file configs/dundi.conf.sample
Installing file configs/enum.conf.sample
Installing file configs/extconfig.conf.sample
Installing file configs/extensions.ael.sample
Installing file configs/extensions.conf.sample
Installing file configs/extensions.lua.sample
Installing file configs/extensions_minivm.conf.sample
Installing file configs/features.conf.sample
Installing file configs/festival.conf.sample
Installing file configs/followme.conf.sample
Installing file configs/func_odbc.conf.sample
Installing file configs/gtalk.conf.sample
Installing file configs/h323.conf.sample
Installing file configs/http.conf.sample
Installing file configs/iax.conf.sample
Installing file configs/iaxprov.conf.sample
Installing file configs/indications.conf.sample
Installing file configs/jabber.conf.sample
Installing file configs/jingle.conf.sample
Installing file configs/logger.conf.sample
Installing file configs/manager.conf.sample
Installing file configs/meetme.conf.sample
Installing file configs/mgcp.conf.sample
Installing file configs/minivm.conf.sample
Installing file configs/misdn.conf.sample
Installing file configs/modules.conf.sample
Installing file configs/musiconhold.conf.sample
Installing file configs/muted.conf.sample
Installing file configs/osp.conf.sample
Installing file configs/oss.conf.sample
Installing file configs/phone.conf.sample
Installing file configs/phoneprov.conf.sample
Installing file configs/queuerules.conf.sample
Installing file configs/queues.conf.sample
Installing file configs/res_ldap.conf.sample
Installing file configs/res_odbc.conf.sample
Installing file configs/res_pgsql.conf.sample
Installing file configs/res_snmp.conf.sample
Installing file configs/rpt.conf.sample
Installing file configs/rtp.conf.sample
Installing file configs/say.conf.sample
Installing file configs/sip.conf.sample
Installing file configs/sip_notify.conf.sample
Installing file configs/skinny.conf.sample
Installing file configs/sla.conf.sample
Installing file configs/smdi.conf.sample
Installing file configs/udptl.conf.sample
Installing file configs/unistim.conf.sample
Installing file configs/usbradio.conf.sample
Installing file configs/users.conf.sample
Installing file configs/voicemail.conf.sample
Installing file configs/vpb.conf.sample
Creating asterisk.conf
mkdir -p /scratch/comms/asterisk16/work/.destdir/var/spool/asterisk/voicemail/default/1234/INBOX
build_tools/make_sample_voicemail /scratch/comms/asterisk16/work/.destdir//usr/pkg/libdata/asterisk /scratch/comms/asterisk16/work/.destdir//var/spool/asterisk
Installing file phoneprov/000000000000-directory.xml
Installing file phoneprov/000000000000-phone.cfg
Installing file phoneprov/000000000000.cfg
Installing file phoneprov/polycom.xml
Installing file phoneprov/polycom_line.xml
=> Automatic stripping of debug information
sh: Syntax error: end of file unexpected (expecting "done")
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/comms/asterisk16
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/comms/asterisk16
