=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for apache-couchdb-1.3.0.tar.gz
=> Checksum RMD160 OK for apache-couchdb-1.3.0.tar.gz
===> Installing dependencies for couchdb-1.3.0nb2
==========================================================================
The following variables will affect the build process of this package,
couchdb-1.3.0nb2.  Their current value is shown below:

        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * 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.2nb3
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency help2man-[0-9]*: found help2man-1.43.2
=> Full dependency erlang>=10.1.9nb1: found erlang-16.1
=> Full dependency spidermonkey>=1.5nb8: found spidermonkey-1.8.0rc1nb4
=> Full dependency icu>=51.1: found icu-51.2
=> Full dependency curl>=7.28.1nb2: found curl-7.30.0nb1
===> Overriding tools for couchdb-1.3.0nb2
===> Extracting for couchdb-1.3.0nb2
===> Patching for couchdb-1.3.0nb2
=> Applying pkgsrc patches for couchdb-1.3.0nb2
=> Verifying /usr/pkgsrc/databases/couchdb/patches/patch-aa
=> Applying pkgsrc patch /usr/pkgsrc/databases/couchdb/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.5 2013/04/24 12:22:38 jperkin Exp $
|
|Set pkgsrc standard paths.
|
|--- configure.orig	2013-03-30 14:46:50.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 646.
Hunk #2 succeeded at 18289.
Hunk #3 succeeded at 18301.
Hunk #4 succeeded at 18311.
Hunk #5 succeeded at 19117.
Hunk #6 succeeded at 19135.
done
=> Verifying /usr/pkgsrc/databases/couchdb/patches/patch-ab
=> Applying pkgsrc patch /usr/pkgsrc/databases/couchdb/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.4 2013/04/24 12:22:38 jperkin Exp $
|
|Install into examples, not sysconfdir.
|
|--- etc/couchdb/Makefile.in.orig	2013-03-30 14:46:47.000000000 +0000
|+++ etc/couchdb/Makefile.in
--------------------------
Patching file etc/couchdb/Makefile.in using Plan A...
Hunk #1 succeeded at 99.
Hunk #2 succeeded at 240.
Hunk #3 succeeded at 332.
Hunk #4 succeeded at 392.
Hunk #5 succeeded at 559.
done
=> Verifying /usr/pkgsrc/databases/couchdb/patches/patch-ac
=> Applying pkgsrc patch /usr/pkgsrc/databases/couchdb/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2013/03/04 14:12:40 fhajny Exp $
|
|Remove logrotate files.
|
|--- etc/Makefile.in.orig	2012-12-20 21:28:48.000000000 +0000
|+++ etc/Makefile.in	2013-03-04 13:01:29.096858946 +0000
--------------------------
Patching file etc/Makefile.in using Plan A...
Hunk #1 succeeded at 324 (offset 28 lines).
Hunk #2 succeeded at 745 (offset 5 lines).
done
=> Verifying /usr/pkgsrc/databases/couchdb/patches/patch-ad
=> Applying pkgsrc patch /usr/pkgsrc/databases/couchdb/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2011/07/27 19:20:57 fhajny Exp $
|
|Fix default PID file location in script.
|
|--- bin/couchdb.tpl.in.orig	2010-06-25 18:50:03.000000000 +0000
|+++ bin/couchdb.tpl.in
--------------------------
Patching file bin/couchdb.tpl.in using Plan A...
Hunk #1 succeeded at 27 (offset 5 lines).
done
=> Verifying /usr/pkgsrc/databases/couchdb/patches/patch-ae
=> Applying pkgsrc patch /usr/pkgsrc/databases/couchdb/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.4 2013/03/04 14:12:40 fhajny Exp $
|
|Use proper installer for script files.
|
|--- src/couchdb/priv/Makefile.in.orig	2012-12-20 21:28:49.000000000 +0000
|+++ src/couchdb/priv/Makefile.in	2013-03-04 13:13:06.147877580 +0000
--------------------------
Patching file src/couchdb/priv/Makefile.in using Plan A...
Hunk #1 succeeded at 480 (offset 33 lines).
done
===> Creating toolchain wrappers for couchdb-1.3.0nb2
===> Configuring for couchdb-1.3.0nb2
=> Setting standard 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
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o kristerw -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i386--netbsdelf-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -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 for i386--netbsdelf-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /scratch/databases/couchdb/work/.wrapper/bin/ld
checking if the linker (/scratch/databases/couchdb/work/.wrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i386--netbsdelf file names to i386--netbsdelf format... func_convert_file_noop
checking how to convert i386--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/databases/couchdb/work/.wrapper/bin/ld option to reload object files... -r
checking for i386--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i386--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for i386--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/scratch/databases/couchdb/work/.wrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /scratch/databases/couchdb/work/.wrapper/bin/ld
checking if the linker (/scratch/databases/couchdb/work/.wrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/scratch/databases/couchdb/work/.wrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/scratch/databases/couchdb/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for mmap... yes
checking if the compiler supports __builtin_expect... yes
checking if the compiler supports __builtin_ctzll... yes
checking for pthread_create in -lpthread... no
checking for erl... /usr/pkg/bin/erl
checking for JS... no
checking for JS... no
checking jsapi.h usability... yes
checking jsapi.h presence... yes
checking for jsapi.h... yes
checking for JS_NewContext in -lmozjs185... no
checking for JS_NewContext in -lmozjs185-1.0... no
checking for JS_NewContext in -lmozjs... no
checking for JS_NewContext in -ljs... yes
checking for JS_NewCompartmentAndGlobalObject in -ljs... no
checking for JS_ThrowStopIteration in -ljs... yes
checking for JS_GetStringCharsAndLength in -ljs... no
checking for JSScript*... yes
checking for icu-config... /usr/pkg/bin/icu-config
checking for ICU >= 3.4.1... yes
checking ICU_CPPFLAGS...  -D_REENTRANT    -I/usr/pkg/include 
checking ICU_CFLAGS... -O2 -march=i486  -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings   
checking ICU_CXXFLAGS... -O2 -march=i486  -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long   
checking ICU_LIBS...   -Wl,-R/usr/pkg/lib  -lpthread -lm   -L/usr/pkg/lib -licui18n -licuuc -licudata  -lpthread -lm   
checking for curl-config... /usr/pkg/bin/curl-config
checking for curl (libcurl 7.30.0) >= 7.18.0... yes
checking Erlang version compatibility... configure: error: The installed Erlang version must be >= R13B04 (erts-5.7.4) and < R16A (erts-5.10)
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/couchdb
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/couchdb