=> 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'.
===> Building for mercury-0.11.0nb6
cd /scratch/lang/mercury/work/mercury-compiler-0.11.0 && /usr/bin/env READLINE_PREFIX=/usr/pkg USETOOLS=no CC=cc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/scratch/lang/mercury/work/.wrapper/bin:/scratch/lang/mercury/work/.buildlink/bin:/scratch/lang/mercury/work/.gcc/bin:/scratch/lang/mercury/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/scratch/lang/mercury/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg X11PREFIX=/usr/pkg PKGMANDIR=man MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 INSTALL_INFO=/scratch/lang/mercury/work/.tools/bin/install-info MAKEINFO=/scratch/lang/mercury/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/lang/mercury/work/.buildlink/lib/pkgconfig:/scratch/lang/mercury/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/lang/mercury/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg						 /usr/pkg/bin/gmake -j3				   INSTALL_PREFIX=/scratch/lang/mercury/work/mercury-compiler-0.11.0/tmp INSTALL_INFO_DIR=/scratch/lang/mercury/work/mercury-compiler-0.11.0/tmp/info INSTALL_MAN_DIR=/scratch/lang/mercury/work/mercury-compiler-0.11.0/tmp/man MERCURY_COMPILER=/scratch/lang/mercury/work/mercury-compiler-0.11.0/tmp/lib/mercury/bin/x86_64--netbsd/mercury_compile		 -f Makefile install
MMAKE_DIR=`pwd`/scripts scripts/mmake  MMAKEFLAGS= install 2>&1 | tee make_install.log
gmake[1]: Entering directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0'
gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[2]: Entering directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/scripts'
gmake[2]: Nothing to be done for `default_target'.
gmake[2]: Leaving directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[2]: Entering directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/util'
../scripts/mgnuc --grade none.gc  --no-mercury-stdlib-dir  --no-ansi -- -I../runtime -O0     -o mkinit mkinit.c ../runtime/GETOPT/getopt.c ../runtime/GETOPT/getopt1.c
../runtime/GETOPT/getopt.c: In function '_getopt_internal':
../runtime/GETOPT/getopt.c:656: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:680: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:710: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:726: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:731: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:842: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:865: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:885: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:899: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:903: warning: incompatible implicit declaration of built-in function 'strlen'
../scripts/mgnuc --grade none.gc  --no-mercury-stdlib-dir   -- -I../runtime -O0     -o mdemangle mdemangle.c ../runtime/GETOPT/getopt.c ../runtime/GETOPT/getopt1.c
../runtime/GETOPT/getopt.c: In function '_getopt_internal':
../runtime/GETOPT/getopt.c:656: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:680: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:710: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:726: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:731: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:842: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:865: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:885: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:899: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:903: warning: incompatible implicit declaration of built-in function 'strlen'
../scripts/mgnuc --grade none.gc  --no-mercury-stdlib-dir   -- -I../runtime -O0     -o info_to_mdb info_to_mdb.c ../runtime/GETOPT/getopt.c ../runtime/GETOPT/getopt1.c
../runtime/GETOPT/getopt.c: In function '_getopt_internal':
../runtime/GETOPT/getopt.c:656: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:680: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:710: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:726: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:731: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:842: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:865: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:885: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:899: warning: incompatible implicit declaration of built-in function 'strlen'
../runtime/GETOPT/getopt.c:903: warning: incompatible implicit declaration of built-in function 'strlen'
gmake[2]: Leaving directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/util'
gc_grade=`scripts/ml --grade none.gc --print-gc-grade`; \
	cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  GC_GRADE=$gc_grade
gmake[2]: Entering directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/boehm_gc'
MAKEFLAGS=""; export MAKEFLAGS; \
	gmake  -j1 GRADE=none.gc GC_GRADE=gc \
		libgc.a libgc.a \
		a
gmake[3]: Entering directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/boehm_gc'
../scripts/mgnuc --grade none.gc --no-ansi --no-check --no-mercury-stdlib-dir -I./include -DSILENT -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION    -I/usr/pkg/include -I/usr/include  -c -o alloc.o alloc.c
In file included from ./include/private/gc_priv.h:70,
                 from alloc.c:19:
./include/private/gcconfig.h:405: error: expected identifier or '(' before '--' token
gmake[3]: *** [alloc.o] Error 1
gmake[3]: Leaving directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/boehm_gc'
gmake[2]: *** [submake] Error 2
gmake[2]: Leaving directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0/boehm_gc'
gmake[1]: *** [boehm_gc] Error 2
gmake[1]: Leaving directory `/scratch/lang/mercury/work/mercury-compiler-0.11.0'
=> Unwrapping files-to-be-installed.
