=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for mercury-compiler-11.07.tar.gz
=> Checksum RMD160 OK for mercury-compiler-11.07.tar.gz
===> Installing dependencies for mercury-11.07nb1
==========================================================================
The following variables will affect the build process of this package,
mercury-11.07nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency bison>=1.0: found bison-2.7
=> Build dependency flex>=2.5.4a: found flex-2.5.36nb1
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency pax>=20040802: found pax-20080110nb2
=> Build dependency perl>=5.0: found perl-5.16.2nb1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency readline>=6.0: found readline-6.2
=> Full dependency ncurses>=5.4nb1: found ncurses-5.9
===> Overriding tools for mercury-11.07nb1
===> Extracting for mercury-11.07nb1
===> Patching for mercury-11.07nb1
=> Applying pkgsrc patches for mercury-11.07nb1
/usr/bin/touch  /tmp/pkgsrc/lang/mercury/work/mercury-compiler-11.07/library/table_builtin.date3		 /tmp/pkgsrc/lang/mercury/work/mercury-compiler-11.07/library/table_builtin.date		 /tmp/pkgsrc/lang/mercury/work/mercury-compiler-11.07/library/table_builtin.optdate		 /tmp/pkgsrc/lang/mercury/work/mercury-compiler-11.07/library/table_builtin.trans_opt_date	 /tmp/pkgsrc/lang/mercury/work/mercury-compiler-11.07/library/table_builtin.c_date
===> Creating toolchain wrappers for mercury-11.07nb1
===> Configuring for mercury-11.07nb1
=> 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 x86_64-unknown-linux-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 what the C compiler type really is... gcc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for cygpath... echo
checking for cygpath... echo
looking for an already installed Mercury compiler to bootstrap with...
checking for mmc... no
checking whether to enable large heaps when using conservative GC... yes
checking whether to enable unmapping of unused pages when using Boehm GC... no
checking for GCC source directory... not_found
checking whether to enable the GCC back-end interface... no
looking for GNU Make...
checking for gmake... gmake
found GNU Make: gmake
looking for a way to create named pipes...
checking for mkfifo... /usr/bin/mkfifo
looking for a way to create temporary files...
checking for mktemp... /usr/bin/mktemp
checking for install-info... /tmp/pkgsrc/lang/mercury/work/.tools/bin/install-info
checking for texi2dvi... /usr/bin/texi2dvi
checking for pdftex... no
checking for lynx... no
checking for dvips... no
checking for makeinfo... /tmp/pkgsrc/lang/mercury/work/.tools/bin/makeinfo
checking for info... /usr/bin/info
checking for perl... /usr/pkg/bin/perl
checking for hostname... /bin/hostname
checking whether C compiler needs -no-cpp-precomp... no
checking whether we can use -fno-move-loop-invariants... yes
checking whether to pass -I/usr/local/include to C compiler... no
checking whether to pass -L/usr/local/lib to the linker... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for use of a Microsoft C compiler... no
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking for sin in -lm... yes
checking for ilasm... no
checking for gacutil... no
checking for Microsoft.NET Framework SDK... no
checking for csc... no
checking for gmcs... no
checking for cscc... no
checking for al... no
checking for ilalink... no
checking for mono... no
checking for jikes... no
checking for javac... no
checking for gcj... no
checking for java... no
checking for jar... no
checking for x86_64-unknown-linux-erlc... no
checking for erlc... no
checking for x86_64-unknown-linux-erl... no
checking for erl... no
checking for sysconf... yes
checking for getpagesize... yes
checking for gethostname... yes
checking for mprotect... yes
checking for memalign... yes
checking for posix_memalign... yes
checking for memmove... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for setitimer... yes
checking for snprintf... yes
checking for _snprintf... no
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for strerror... yes
checking for open... yes
checking for close... yes
checking for dup... yes
checking for dup2... yes
checking for fdopen... yes
checking for fileno... yes
checking for fstat... yes
checking for stat... yes
checking for lstat... yes
checking for isatty... yes
checking for getpid... yes
checking for setpgid... yes
checking for fork... yes
checking for execlp... yes
checking for wait... yes
checking for kill... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for ioctl... yes
checking for access... yes
checking for sleep... yes
checking for opendir... yes
checking for readdir... yes
checking for closedir... yes
checking for mkdir... yes
checking for symlink... yes
checking for readlink... yes
checking for gettimeofday... yes
checking for setenv... yes
checking for putenv... yes
checking for _putenv... no
checking for posix_spawn... yes
checking for sched_setaffinity... yes
checking for sched_getcpu... yes
checking for sched_yield... yes
checking for mkstemp... yes
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 for unistd.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/siginfo.h usability... no
checking sys/siginfo.h presence... no
checking for sys/siginfo.h... no
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking asm/sigcontext.h usability... yes
checking asm/sigcontext.h presence... yes
checking for asm/sigcontext.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for fesetround function... yes
checking for `sigaction' field name... sa_sigaction
checking for working `sigcontext_struct' in second arg... no
checking for working `sigcontext_struct' in third arg... no
checking for `siginfo_t'... yes
checking for `siginfo' pc access at signals... no
checking for an integer type with the same size as a pointer... long
checking for an integer type of at least 64 bits... long
checking for an integer type of at least 32 bits... int
checking for pid_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking for an integer type of at least 16 bits... short
checking the number of low tag bits available... 3
configure: WARNING: bootstrapping using only 2 low tag bits
checking the number of bytes per word... 8
checking the number of words in a synchronization term... 3
checking the number of bits per word... 64
checking whether we can use unboxed floats... yes
configure: WARNING: Mercury compiler not yet installed -
****    cannot use unboxed floats, bootstrapping using boxed floats
****    after installation is complete you may want to reinstall
****    from scratch so you can use unboxed floats, which are more
****    efficient.
****    NOTE: before reinstalling from scratch, ensure that the
****    source tree is clean by running `make realclean'.  Not doing
****    this may result in a broken Mercury installation.
checking whether float is 64-bit... no
checking whether double is 64-bit... yes
checking whether long double is 64-bit... no
checking whether architecture is big-endian... no
checking whether architecture is little-endian... yes
checking whether we can use files as locks... yes
checking return values of system... yes
checking to see if we can handle contexts blocking on IO... yes
checking to see if strings.h is needed for bzero... no
checking whether we can use gcc labels... yes
checking whether we can use asm labels... yes
checking whether we can use gcc labels and global registers... yes
checking whether we can use global registers without gcc labels... yes
checking whether we can support profiling on this system... yes
checking if C compiler is egcs... no
checking whether to enable the deep profiler... yes
checking where to install deep profiler CGI script... /usr/lib/cgi-bin
configure: WARNING: /usr/lib/cgi-bin does not exist.
checking for pthread_mutexattr_setpshared... yes
checking whether we can use thread-local storage class extension... yes
using grade `asm_fast.gc' as the default grade for applications
using grade `asm_fast.gc' to compile the compiler
checking whether the assembler handles .type... yes
checking for as... /tmp/pkgsrc/lang/mercury/work/.wrapper/bin/as
checking whether the assembler does full preprocessing... no
checking whether structure assignment conflicts with global registers... yes
checking whether Mercury supports shared libraries on this system... yes
checking if linker supports --no-undefined... yes
checking for ld-linux.so... no
checking options for static linking... -static -Wl-defsym -Wl_DYNAMIC=0
checking for struct tms and times function... yes
checking for environ global variable... yes
checking for Sleep function... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for isnan function... yes
checking for isnanf function... yes
checking for isinf function... yes
checking for isinff function... yes
checking for socket in -lsocket... no
checking for inet_addr in -lnsl... yes
checking whether we can use sockets (for Morphine)... yes
checking whether to enable the external debugger... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlclose... yes
checking for dlsym... yes
checking for dlerror... yes
checking whether to enable the new MercuryFile struct... no
checking whether to use the MS Visual C Runtime... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
looking for termcap or curses (needed by readline)...
checking for tgetent in -ltermcap... yes
checking for readline in -lreadline... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... /usr/pkg/bin/bison -y
checking for firefox... no
checking for mozilla... no
checking for xsltproc... no
checking whether any C files need to be rebuilt...
no - they are compatible with autoconfigured settings
checking for C shell executable... no
configure: creating ./config.status
config.status: creating Mmake.common
config.status: creating scripts/Mmake.vars
config.status: creating scripts/parse_ml_options.sh-subr
config.status: creating scripts/mdbrc
config.status: creating scripts/Mercury.config
config.status: creating scripts/Mercury.config.bootstrap
config.status: creating bindist/bindist.INSTALL
config.status: creating bindist/bindist.Makefile
config.status: creating runtime/mercury_dotnet.cs
config.status: creating java/runtime/Constants.java
config.status: creating java/runtime/Native.java
config.status: creating library/erlang_conf.hrl
config.status: creating compiler/COMP_FLAGS
config.status: creating library/LIB_FLAGS
config.status: creating mdbcomp/MDBCOMP_FLAGS
config.status: creating browser/MDB_FLAGS
config.status: creating ssdb/SSDB_FLAGS
config.status: creating slice/SLICE_FLAGS
config.status: creating profiler/PROF_FLAGS
config.status: creating deep_profiler/DEEP_FLAGS
config.status: creating scripts/mmc
config.status: creating scripts/mercury.bat
config.status: creating scripts/mprof
config.status: creating scripts/mprof.bat
config.status: creating scripts/mercury_update_interface
config.status: creating scripts/mgnuc
config.status: creating scripts/ml
config.status: creating scripts/c2init
config.status: creating scripts/mmake
config.status: creating scripts/mdb
config.status: creating scripts/mdb.bat
config.status: creating scripts/mdprof
config.status: creating scripts/mtags
config.status: creating scripts/canonical_grade
config.status: creating scripts/mkfifo_using_mknod
config.status: creating scripts/mercury_config
config.status: creating scripts/prepare_install_dir
config.status: creating tools/lmc
config.status: creating tools/dotime
config.status: creating runtime/mercury_conf.h
config.status: executing default commands

the set of library grades to install will be
   asm_fast.gc
   asm_fast.gc.debug
   asm_fast.gc.decldebug
   asm_fast.gc.memprof
   asm_fast.gc.prof
   asm_fast.gc.profdeep
   asm_fast.gc.trseg
   asm_fast.gc.trseg.debug
   asm_fast.par.gc
   hlc.gc
   hlc.gc.trseg
   hlc.par.gc

Configuring to install 12 grades.
This will likely take 2 to 6 hours.
You can make the install faster by installing fewer grades
as shown by the fine-tuning section of the INSTALL file or by
compiling the files of each grade in parallel which you can do
via a command such as make PARALLEL=-j2 install.