=> Bootstrap dependency digest>=20010302: found digest-20190127 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'. => Checksum SHA1 OK for mercury-srcdist-14.01.1.tar.gz => Checksum RMD160 OK for mercury-srcdist-14.01.1.tar.gz => Checksum SHA512 OK for mercury-srcdist-14.01.1.tar.gz ===> Installing dependencies for mercury-14.01.1nb10 => Tool dependency bison>=1.0: found bison-3.4.2 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency perl>=5.0: found perl-5.30.1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency dvipsk>=0: found dvipsk-5.999 => Build dependency web2c>=0: found web2c-2019nb3 => Build dependency gtexinfo>=0: found gtexinfo-6.7nb2 => Build dependency tex-texinfo>=0: found tex-texinfo-5.1.51312 => Build dependency tex-latex-fonts>=0: found tex-latex-fonts-2013 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency readline>=6.0: found readline-8.0 ===> Overriding tools for mercury-14.01.1nb10 ===> Extracting for mercury-14.01.1nb10 ===> Patching for mercury-14.01.1nb10 => Applying pkgsrc patches for mercury-14.01.1nb10 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ab => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.6 2018/02/18 05:30:55 rillig Exp $ | |Install docs in the right place. | |--- scripts/Mmake.vars.in.orig 2010-12-20 19:29:08.000000000 +0300 |+++ scripts/Mmake.vars.in 2011-04-17 14:21:26.000000000 +0400 -------------------------- Patching file scripts/Mmake.vars.in using Plan A... Hunk #1 succeeded at 686 (offset -15 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ac,v 1.2 2003/05/02 17:48:29 jtb Exp $ | |--- runtime/mercury_bootstrap.h.orig |+++ runtime/mercury_bootstrap.h -------------------------- Patching file runtime/mercury_bootstrap.h using Plan A... Hunk #1 succeeded at 156 (offset 17 lines). Hunk #2 succeeded at 193 (offset 17 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ad => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ad,v 1.5 2015/12/29 23:34:51 dholland Exp $ | |Avoid wildcard depends. |Install the complete texinfo output. | |--- doc/Mmakefile.orig 2013-05-28 04:00:38.000000000 +0000 |+++ doc/Mmakefile -------------------------- Patching file doc/Mmakefile using Plan A... Hunk #1 succeeded at 248 (offset 9 lines). Hunk #2 succeeded at 281 (offset -12 lines). Hunk #3 succeeded at 396 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-an => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-an Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-an,v 1.3 2015/12/29 23:34:51 dholland Exp $ | |Remove bashisms. | |--- tools/backupdir.orig 2000-02-25 01:37:28.000000000 +0300 |+++ tools/backupdir 2010-01-11 14:21:42.000000000 +0300 -------------------------- Patching file tools/backupdir using Plan A... Hunk #1 succeeded at 25. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ao => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ao Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ao,v 1.3 2015/12/29 23:34:51 dholland Exp $ | |Remove bashisms. | |--- tools/cvdr.orig 2001-04-18 21:32:24.000000000 +0400 |+++ tools/cvdr 2010-01-11 14:20:48.000000000 +0300 -------------------------- Patching file tools/cvdr using Plan A... Hunk #1 succeeded at 62. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ap => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-ap Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ap,v 1.3 2015/12/29 23:34:51 dholland Exp $ | |Remove bashisms. | |--- tools/binary.orig 2009-08-31 03:01:14.000000000 +0400 |+++ tools/binary 2010-07-20 22:53:07.000000000 +0400 -------------------------- Patching file tools/binary using Plan A... Hunk #1 succeeded at 485 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-aq => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-aq Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aq,v 1.2 2015/12/29 23:34:51 dholland Exp $ | |Remove bashisms. | |--- tools/dd_speedtest.orig 2005-08-09 11:14:02.000000000 +0400 |+++ tools/dd_speedtest 2010-01-11 14:29:06.000000000 +0300 -------------------------- Patching file tools/dd_speedtest using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 61. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-at => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/mercury/patches/patch-at Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-at,v 1.6 2018/06/19 02:04:04 maya Exp $ | |Support shared libraries. |Don't capture value of HOME. | |No non-local gotos on powerpc32, too | |--- configure.orig 2014-09-08 04:56:03.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 1514. Hunk #2 succeeded at 9318. Hunk #3 succeeded at 11481. Hunk #4 succeeded at 13143. done /usr/bin/touch /tmp/lang/mercury/work/mercury-srcdist-14.01.1/library/table_builtin.date3 /tmp/lang/mercury/work/mercury-srcdist-14.01.1/library/table_builtin.date /tmp/lang/mercury/work/mercury-srcdist-14.01.1/library/table_builtin.optdate /tmp/lang/mercury/work/mercury-srcdist-14.01.1/library/table_builtin.trans_opt_date /tmp/lang/mercury/work/mercury-srcdist-14.01.1/library/table_builtin.c_date ===> Creating toolchain wrappers for mercury-14.01.1nb10 ===> Configuring for mercury-14.01.1nb10 => 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--netbsd-gcc... gcc 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 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--netbsd checking host system type... x86_64--netbsd 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 whether to use mmap for Boehm GC... 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/lang/mercury/work/.tools/bin/install-info checking for texi2dvi... /usr/pkg/bin/texi2dvi checking for pdftex... /usr/pkg/bin/pdftex checking for lynx... no checking for dvips... /usr/pkg/bin/dvips checking for makeinfo... /tmp/lang/mercury/work/.tools/bin/makeinfo checking for info... /usr/pkg/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 make error messages filterable... yes checking whether we can use -fno-move-loop-invariants... yes checking whether we can use -fno-reorder-functions... 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) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for use of a Microsoft C compiler... no checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-nm... no checking for nm... nm checking for sin in -lm... yes checking for ilasm... no checking for gacutil... no checking for Microsoft.NET Framework SDK... no checking for al... no checking for ilalink... no checking for mono... no checking for a C sharp compiler... checking for csc... no checking for mcs... no checking for dmcs... no checking for gmcs... no checking for cscc... 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--netbsd-erlc... no checking for erlc... no checking for x86_64--netbsd-erl... no checking for erl... no checking for sysconf... yes checking for getpagesize... yes checking for gethostname... yes checking for mmap... yes checking for mprotect... yes checking for memalign... no checking for posix_memalign... yes checking for sbrk... yes checking for memmove... yes checking for sigaction... yes checking for siginterrupt... yes checking for setitimer... yes checking for snprintf... yes checking for _snprintf... yes checking for vsnprintf... yes checking for _vsnprintf... yes checking for strerror... yes checking for strerror_r... yes checking for strerror_s... no 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... yes checking for posix_spawn... yes checking for sched_setaffinity... no checking for sched_getaffinity... no checking for sched_getcpu... no checking for sched_yield... yes checking for mkstemp... yes checking for setrlimit... 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... yes checking sys/siginfo.h presence... yes checking for sys/siginfo.h... yes 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... no checking asm/sigcontext.h presence... no checking for asm/sigcontext.h... no 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/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no 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 checking the number of bytes per word... 8 checking the number of bits per word... 64 checking whether we can use unboxed floats... yes 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... no 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... no checking whether we can use thread-local storage class extension... yes using grade `reg.gc' as the default grade for applications configure: WARNING: Mercury compiler not yet installed - **** cannot use grade `hlc.gc' **** using grade `hlc.gc.pregen' to compile the compiler **** after installation is complete you may reinstall **** from scratch to have a faster compiler. **** 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 the assembler handles .type... yes checking for as... /tmp/lang/mercury/work/.cwrapper/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 options for static linking... -static checking for struct tms and times function... yes checking for environ global variable... yes checking for Sleep function... no checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking for isnan function... yes checking for isnanf function... yes checking for isinf function... yes checking for isinff function... yes checking for finite function... yes checking for socket in -lsocket... no checking for inet_addr in -lnsl... no 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... no 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 libhwloc... no 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... /bin/csh 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 tests/TESTS_FLAGS config.status: creating mfilterjavac/MFILTERJAVAC_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 tests/mdbrc config.status: creating runtime/mercury_conf.h config.status: executing default commands the set of library grades to install will be hlc.gc hlc.gc.trseg reg.gc reg.gc.debug.stseg reg.gc.decldebug.stseg reg.gc.memprof reg.gc.prof reg.gc.profdeep reg.gc.trseg reg.gc.trseg.debug.stseg Configuring to install 10 grades. This will likely take 2 to 5 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.