=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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'.
===> Building for gambc-4.6.5
making all in include
gmake[1]: Entering directory `/scratch/lang/gambc/work/gambc-v4_6_5/include'
major=`echo 4.6.5 | sed -e "s/v//g" -e "s/\.[^.]*\.[^.]*//g"`; \
minor=`echo 4.6.5 | sed -e "s/v[^.]*\.//g" -e "s/\.[^.]*//g"`; \
revision=`echo 4.6.5 | sed -e "s/v[^.]*\.[^.]*\.//g" -e "s///g"`; \
version_num=`eval expr "\( 100000 \\* $major \) + \( 1000 \\* $minor \) + $revision"`; \
echo "#error \"The version indicated in ___VERSION is not supported by gambit.h\"" > gambit-not$version_num.h; \
echo "#error \"You are probably compiling C code generated by a Gambit compiler earlier or later than 4.6.5\"" >> gambit-not$version_num.h; \
echo "#error \"___VERSION will be set to $version_num to reduce other errors\"" >> gambit-not$version_num.h; \
echo "#undef ___VERSION" >> gambit-not$version_num.h; \
echo "#define ___VERSION $version_num" >> gambit-not$version_num.h; \
echo "#include \"gambit.h\"" >> gambit-not$version_num.h
expr: non-integer argument '4.6.5'
gmake[1]: Leaving directory `/scratch/lang/gambc/work/gambc-v4_6_5/include'
making all in lib
gmake[1]: Entering directory `/scratch/lang/gambc/work/gambc-v4_6_5/lib'
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _io.c -D___LIBRARY
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_num.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _num.c -D___LIBRARY
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_std.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _std.c -D___LIBRARY
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_kernel.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _kernel.c -D___LIBRARY
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_nonstd.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _nonstd.c -D___LIBRARY
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_repl.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _repl.c -D___LIBRARY
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
Terminating due to uncaught exception 0x7f7fe8398b70 of type std::bad_alloc
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj -disable-free -main-file-name _io.c -mrelocation-model pic -pic-level 2 -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 1 -coverage-file /scratch/lang/gambc/work/gambc-v4_6_5/lib/_io.o -resource-dir /usr/bin/../lib/clang/3.4 -D HAVE_CONFIG_H -D ___GAMBCDIR="/usr/pkg" -D ___GAMBCDIR_INFO="/usr/pkg/info" -D ___SYS_TYPE_CPU="x86_64" -D ___SYS_TYPE_VENDOR="" -D ___SYS_TYPE_OS="netbsd" -D ___CONFIGURE_COMMAND="./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'" -D ___OBJ_EXTENSION=".o" -D ___EXE_EXTENSION="" -D ___BAT_EXTENSION="" -D ___PRIMAL -D ___LIBRARY -I ../include -I . -I /scratch/lang/gambc/work/.buildlink/include -internal-isystem /usr/include/c++/ -O2 -Wno-unused -Wno-write-strings -fdeprecated-macro -fdebug-compilation-dir /scratch/lang/gambc/work/gambc-v4_6_5/lib -ferror-limit 19 -fmessage-length 0 -fwrapv -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fno-common -fdiagnostics-show-option -backend-option -vectorize-loops -o _io.o -x c++ _io.c 
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module '_io.c'.
4.	Running pass 'Value Propagation' on function '@_ZL13___H__20___ioP25___processor_state_struct'
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_eval.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _eval.c -D___LIBRARY
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++ -O2 -I/usr/include   -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common   -I"../include" -c -o "_thread.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/pkg\"" -D___GAMBCDIR_INFO="\"/usr/pkg/info\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"\"" -D___SYS_TYPE_OS="\"netbsd\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--disable-gcc-opts' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/include'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _thread.c -D___LIBRARY
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.4 (trunk 182734)
Target: x86_64--netbsd
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: note: diagnostic msg: Error generating preprocessed source(s).
gmake[1]: *** [_io.o] Error 254
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/scratch/lang/gambc/work/gambc-v4_6_5/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/lang/gambc
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/lang/gambc
