=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 ejabberd-16.09.tgz
=> Checksum RMD160 OK for ejabberd-16.09.tgz
=> Checksum SHA512 OK for ejabberd-16.09.tgz
===> Installing dependencies for ejabberd-16.09
==========================================================================
The supported build options for ejabberd are:

	redis sqlite

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

	PKG_OPTIONS.ejabberd (not defined)

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

        * EJABBERD_DB = /var/spool/ejabberd
        * EJABBERD_GROUP = ejabberd
        * EJABBERD_LOGDIR = /var/log/ejabberd
        * EJABBERD_PIDDIR = /var/run/ejabberd
        * EJABBERD_TRANSDIR (not defined)
        * EJABBERD_USER = ejabberd
        * VARBASE = /var

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 gmake>=3.81: found gmake-4.1nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20161125
=> Full dependency erlang-cache_tab>=1.0.4: found erlang-cache_tab-1.0.4
=> Full dependency erlang-esip>=1.0.8: found erlang-esip-1.0.8
=> Full dependency erlang-ezlib>=1.0.1: found erlang-ezlib-1.0.1
=> Full dependency erlang-fast_tls>=1.0.7: found erlang-fast_tls-1.0.7
=> Full dependency erlang-fast_xml>=1.1.15: found erlang-fast_xml-1.1.18
=> Full dependency erlang-fast_yaml>=1.0.6: found erlang-fast_yaml-1.0.6
=> Full dependency erlang-iconv>=1.0.2: found erlang-iconv-1.0.2
=> Full dependency erlang-jiffy>=0.14.7: found erlang-jiffy-0.14.8
=> Full dependency erlang-lager>=3.2.1: found erlang-lager-3.2.1
=> Full dependency erlang-luerl>=0.2: found erlang-luerl-0.2
=> Full dependency erlang-p1_mysql>=1.0.1: found erlang-p1_mysql-1.0.1
=> Full dependency erlang-p1_oauth2>=0.6.1: found erlang-p1_oauth2-0.6.1
=> Full dependency erlang-p1_pam>=1.0.0: found erlang-p1_pam-1.0.0
=> Full dependency erlang-p1_pgsql>=1.1.0: found erlang-p1_pgsql-1.1.0
=> Full dependency erlang-p1_utils>=1.0.5: found erlang-p1_utils-1.0.6
=> Full dependency erlang-stringprep>=1.0.6: found erlang-stringprep-1.0.6
=> Full dependency erlang-stun>=1.0.7: found erlang-stun-1.0.7
=> Full dependency bash-[0-9]*: found bash-4.4.005
=> Full dependency erlang>=18.0: found erlang-19.2
===> Overriding tools for ejabberd-16.09
===> Extracting for ejabberd-16.09
cd /data/scratch/chat/ejabberd/work/ejabberd-16.09 && /bin/mkdir -p deps && /usr/bin/touch deps/.got deps/.built
===> Patching for ejabberd-16.09
=> Applying pkgsrc patches for ejabberd-16.09
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.13 2015/11/05 12:23:50 fhajny Exp $
|
|Fix locations; don't mess with ownership.
|
|--- Makefile.in.orig	2015-10-28 14:53:12.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 9.
Hunk #2 succeeded at 18.
Hunk #3 succeeded at 50.
Hunk #4 succeeded at 70.
done
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.8 2015/11/05 12:23:50 fhajny Exp $
|
|Proper path to captcha script.
|--- ejabberd.yml.example.orig	2013-09-27 09:19:22.000000000 +0000
|+++ ejabberd.yml.example
--------------------------
Patching file ejabberd.yml.example using Plan A...
Hunk #1 succeeded at 561 (offset 71 lines).
done
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.15 2016/04/29 19:05:22 fhajny Exp $
|
|- Default locations.
|- Use 'su -' instead of just 'su'. Fixes priv delegation on SunOS
|  and AIX where Erlang relies on $HOME set correctly.
|
|--- ejabberdctl.template.orig	2016-04-28 13:57:55.000000000 +0000
|+++ ejabberdctl.template
--------------------------
Patching file ejabberdctl.template using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 73.
Hunk #3 succeeded at 85.
done
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2013/10/11 13:32:25 fhajny Exp $
|
|Portability.
|--- configure.orig	2013-10-10 10:59:33.747311941 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2716 (offset 168 lines).
Hunk #2 succeeded at 2634 (offset 4 lines).
done
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-rebar.config
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-rebar.config
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-rebar.config,v 1.5 2016/10/02 12:17:40 fhajny Exp $
|
|Deps are handled by pkgsrc.
|
|--- rebar.config.orig	2016-09-13 12:31:39.000000000 +0000
|+++ rebar.config
--------------------------
Patching file rebar.config using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/pkgsrc-current/chat/ejabberd/patches/patch-tools_ejabberdctl.bc
=> Applying pkgsrc patch /data/pkgsrc-current/chat/ejabberd/patches/patch-tools_ejabberdctl.bc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tools_ejabberdctl.bc,v 1.2 2015/11/05 12:23:50 fhajny Exp $
|
|Proper log file location.
|
|--- tools/ejabberdctl.bc.orig	2015-10-28 14:53:12.000000000 +0000
|+++ tools/ejabberdctl.bc
--------------------------
Patching file tools/ejabberdctl.bc using Plan A...
Hunk #1 succeeded at 3.
done
===> Creating toolchain wrappers for ejabberd-16.09
===> Configuring for ejabberd-16.09
=> Localizing paths
=> 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 bash interpreter in ejabberdctl.template tools/captcha.sh.
=> Checking for portability problems in extracted files
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking for a sed that does not truncate output... /usr/bin/sed
checking for x86_64--netbsd-erl... no
checking for erl... /usr/pkg/bin/erl
checking for x86_64--netbsd-erlc... no
checking for erlc... /usr/pkg/bin/erlc
checking for x86_64--netbsd-epmd... no
checking for epmd... /usr/pkg/bin/epmd
checking for erl... /usr/pkg/bin/erl
checking for erlc... /usr/pkg/bin/erlc
checking Erlang/OTP version... ok
checking for Erlang/OTP root directory... /usr/pkg/lib/erlang
checking for escript... /usr/pkg/lib/erlang/bin/escript
checking for make... make
allow this system user to start ejabberd: ejabberd
checking whether Erlang is using deprecated types... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vars.config
config.status: creating src/ejabberd.app.src
