=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for asterisk-19.8.1/asterisk-19.8.1.tar.gz
=> Checksum SHA512 OK for asterisk-19.8.1/asterisk-19.8.1.tar.gz
=> Checksum BLAKE2s OK for asterisk-19.8.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
=> Checksum SHA512 OK for asterisk-19.8.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
=> Checksum BLAKE2s OK for asterisk-19.8.1/pjproject-2.10.md5
=> Checksum SHA512 OK for asterisk-19.8.1/pjproject-2.10.md5
=> Checksum BLAKE2s OK for asterisk-19.8.1/pjproject-2.10.tar.bz2
=> Checksum SHA512 OK for asterisk-19.8.1/pjproject-2.10.tar.bz2
===> Installing dependencies for asterisk-19.8.1
==========================================================================
The supported build options for asterisk are:

	asterisk-config ilbc jabber ldap pgsql snmp
	spandsp speex unixodbc webvmail x11

The currently selected options are:

	asterisk-config jabber ldap speex

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.asterisk (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
asterisk-19.8.1.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * KRB5_DEFAULT = heimdal
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * PYPACKAGE = python312
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency distcc-[0-9]*: found distcc-3.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency bash-[0-9]*: found bash-5.2.37
=> Full dependency perl>=5.0: found perl-5.38.2
=> Full dependency srtp>=2.5.0nb1: found srtp-2.6.0
=> Full dependency iksemel>=1.4: found iksemel-1.4nb16
=> Full dependency speex>=1.2rc1: found speex-1.2.1
=> Full dependency speexdsp>=1.2rc3: found speexdsp-1.2.1
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.46.1
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
=> Full dependency python312>=3.12.0: found python312-3.12.6
=> Full dependency jansson>=2.4nb1: found jansson-2.14
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.9
=> Full dependency libxslt>=1.1.38nb2: found libxslt-1.1.42
=> Full dependency curl>=8.7.1nb1: found curl-8.10.1
===> 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'.
===> Overriding tools for asterisk-19.8.1
===> Extracting for asterisk-19.8.1
===> Patching for asterisk-19.8.1
=> Applying pkgsrc patches for asterisk-19.8.1
===> Creating toolchain wrappers for asterisk-19.8.1
===> Configuring for asterisk-19.8.1
=> Substituting "configs" in configs/samples/cli_aliases.conf.sample configs/samples/festival.conf.sample configs/samples/http.conf.sample configs/samples/iax.conf.sample configs/samples/musiconhold.conf.sample configs/samples/osp.conf.sample configs/samples/phoneprov.conf.sample configs/samples/sla.conf.sample
=> Generating pkg-config files for builtin xz package.
=> 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
=> Replacing python interpreter in contrib/scripts/reflocks.py contrib/scripts/refstats.py.
=> Replacing bash interpreter in contrib/scripts/astversion contrib/scripts/ast_coredumper contrib/scripts/ast_logescalator contrib/scripts/ast_loggrabber.
=> Replacing Perl interpreter in agi/DialAnMp3.agi agi/agi-test.agi agi/fastagi-test agi/jukebox.agi agi/numeralize contrib/scripts/vmail.cgi.
checking build system type... sparc64--netbsd
checking host system type... sparc64--netbsd
checking for sparc64--netbsd-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 how to run the C preprocessor... gcc -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether char is unsigned... no
checking for sparc64--netbsd-uname... no
checking for uname... /usr/bin/uname
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.cwrapper/bin/ld
checking if the linker (/tmp/pkgbuild/comms/asterisk19/work.sparc64/.cwrapper/bin/ld) is GNU ld... yes
checking for gawk... /usr/bin/awk
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether ln -s works... yes
checking for sparc64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for GNU make... make
checking for egrep... (cached) /usr/bin/egrep
checking for sparc64--netbsd-strip... no
checking for sparc64--netbsd-gstrip... no
checking for strip... strip
checking for sparc64--netbsd-ar... no
checking for sparc64--netbsd-gar... no
checking for ar... ar
checking for bison... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/bison
checking for cmp... /usr/bin/cmp
checking for cat... (cached) /bin/cat
checking for cut... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/cut
checking for flex... /usr/bin/flex
checking for grep... (cached) /usr/bin/grep
checking for python2.7... /usr/pkg/bin/python3.12
checking for find... /usr/bin/find
checking for basename... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/basename
checking for dirname... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/dirname
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for doxygen... :
checking for dot... :
checking for wget... :
checking for curl... /usr/pkg/bin/curl
checking for xmllint... /usr/pkg/bin/xmllint
checking for xmlstarlet... no
checking for xml... no
checking for bash... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/bash
checking for git... :
checking for alembic... :
checking for bzip2... /usr/bin/bzip2
checking for tar... /bin/tar
checking for patch... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/patch
checking for sed... (cached) /usr/bin/sed
checking for nm... /usr/bin/nm
checking for realpath... /usr/bin/realpath
checking for ldconfig... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/ldconfig
checking for sha1sum... ./build_tools/sha1sum-sh
checking for openssl... /usr/bin/openssl
checking pkg-config is at least version 0.9.0... yes
checking for bison that supports parse-param... /tmp/pkgbuild/comms/asterisk19/work.sparc64/.tools/bin/bison
checking for sparc64--netbsd-soxmix... no
checking for soxmix... no
checking for md5... md5
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for pthread_join using gcc  -pthread  ... yes
checking whether gcc is Clang... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for RAII support... checking for gcc -fnested-functions... no
checking for clang strsep/strcmp optimization... no
configure: checking OPENSSL with pkg-config
configure: checking whether system openssl > 1.1.0
checking for OPENSSL... yes
checking for embedded pjproject (may have to download)... configuring
[pjproject]  Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.12.1/pjproject-2.12.1.tar.bz2 to /usr/pkgsrc/distfiles/asterisk-19.8.1/pjproject-2.12.1.tar.bz2
sh: cannot create /usr/pkgsrc/distfiles/asterisk-19.8.1/pjproject-2.12.1.tar.bz2: permission denied
[pjproject]  Retrying download
[pjproject]  Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.12.1/pjproject-2.12.1.tar.bz2 to /usr/pkgsrc/distfiles/asterisk-19.8.1/pjproject-2.12.1.tar.bz2
sh: cannot create /usr/pkgsrc/distfiles/asterisk-19.8.1/pjproject-2.12.1.tar.bz2: permission denied
make: *** [Makefile:102: /usr/pkgsrc/distfiles/asterisk-19.8.1/pjproject-2.12.1.tar.bz2] Error 1
failed
configure: Unable to configure third-party/pjproject
configure: error: Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/comms/asterisk19
*** Error code 1

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