=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mercury-14.01.1nb13
cd /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1 && /usr/bin/env USETOOLS=no READLINE_PREFIX=/usr/pkg CC=gcc 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=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.cwrapper/bin:/tmp/pkgbuild/lang/mercury/work.aarch64eb/.buildlink/bin:/tmp/pkgbuild/lang/mercury/work.aarch64eb/.distcc/bin:/tmp/pkgbuild/lang/mercury/work.aarch64eb/.gcc/bin:/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install-info MAKEINFO=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/makeinfo FLEX=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/flex BISON=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/bison ITSTOOL=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.buildlink/lib/pkgconfig:/tmp/pkgbuild/lang/mercury/work.aarch64eb/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/lang/mercury/work.aarch64eb/.cwrapper/config					 /usr/pkg/bin/gmake -j3				   INSTALL_PREFIX=/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp INSTALL_INFO_DIR=/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/info INSTALL_MAN_DIR=/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/man MERCURY_COMPILER=/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mercury_compile PARALLEL=-j3		 -f Makefile install
MMAKE_DIR=`pwd`/scripts scripts/mmake  MMAKEFLAGS=-j3 DESTDIR= install
gmake[1]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1'
cd scripts && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j3
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf
gmake[2]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/scripts'
gmake[2]: warning: -j3 forced in submake: resetting jobserver mode.
cp VERSION aclocal.m4 configure configure.ac config.guess \
	config.sub install-sh /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf
gmake[2]: Nothing to be done for 'default_target'.
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/scripts'
cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j3 mfiltercc
cd scripts && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j3 install
gmake[2]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/util'
gmake[2]: warning: -j3 forced in submake: resetting jobserver mode.
gmake[2]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/scripts'
gmake[2]: warning: -j3 forced in submake: resetting jobserver mode.
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin
../scripts/mgnuc --no-mercury-stdlib-dir \
	--grade hlc.gc.pregen   --no-filter-cc -- -I../runtime -O0        -o mfiltercc mfiltercc.c 
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mmake ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mmake
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mdb ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mdb
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/conf ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/conf
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/share/emacs/site-lisp/mercury ] || mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/share/emacs/site-lisp/mercury
[ -d /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf/scripts ] || \
	mkdir -p /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf/scripts
rm -f /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mmake/Mmake.vars
# we move the installed `mmake' script before (re)installing it
cp `vpath_find Mmake.vars Mmake.rules` /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mmake
rm -f /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/conf/Mercury.config
# to avoid overwriting the script while it is running
# (just removing it doesn't work very well on win32, which will
# Reportedly old versions of Mercury
# deny you permission to write the file while mmake is running).
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/util'
mv /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mmake /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mmake.old
cp `vpath_find Mercury.config` /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/conf
gc_grade=`scripts/ml --grade hlc.gc.pregen --print-gc-grade`; \
cd boehm_gc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j3 GC_GRADE=$gc_grade
mv: rename /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mmake to /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mmake.old: No such file or directory
gmake[2]: [/tmp/mmake.clCKFo:901: install_scripts] Error 1 (ignored)
cp mprof_merge_runs mtc vpath_find c2init canonical_grade mdb mdb.bat mdprof mercury.bat mercury_config mercury_update_interface mgnuc mkfifo_using_mknod ml mmake mmc mprof mprof.bat mtags prepare_install_dir /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin 
# used to install mdbrc as read-only.
for file in mprof_merge_runs mtc vpath_find c2init canonical_grade mdb mdb.bat mdprof mercury.bat mercury_config mercury_update_interface mgnuc mkfifo_using_mknod ml mmake mmc mprof mprof.bat mtags prepare_install_dir; do \
	chmod u+w /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/$file ;\
done
# If that is the case, then we need to make sure
# that it gets made writable before we install the
# new version.
chmod u+w /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mdb/*
cp gud.el /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/share/emacs/site-lisp/mercury
chmod: /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mdb/*: No such file or directory
gmake[2]: [/tmp/mmake.clCKFo:921: install_debugger_scripts] Error 1 (ignored)
cp mdbrc xul_tree.xsl mdb_open mdb_grep mdb_track /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/mdb 
cp *.in *.sh-subr mprof_merge_runs mtc vpath_find c2init canonical_grade mdb mdb.bat mdprof mercury.bat mercury_config mercury_update_interface mgnuc mkfifo_using_mknod ml mmake mmc mprof mprof.bat mtags prepare_install_dir /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/lib/mercury/reconf/scripts
rm -f /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mmake.old
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/scripts'
gmake[2]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc'
gmake[2]: warning: -j3 forced in submake: resetting jobserver mode.
/tmp/mmake.x8bYZH:784: warning: undefined variable 'MERC_INT_DIR'
/tmp/mmake.x8bYZH:784: warning: undefined variable '*'
/tmp/mmake.x8bYZH:784: warning: undefined variable '@'
/tmp/mmake.x8bYZH:784: warning: undefined variable '@'
exec: /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/tmp/bin/mercury_compile: not found
cp Makefile.direct Makefile
MAKEFLAGS=""; export MAKEFLAGS; \
PATH=../util:$PATH gmake -j3 -j1 \
	GRADE=hlc.gc.pregen GC_GRADE=gc \
	AR=ar RANLIB=ranlib \
	libgc.a libgc.so \
	FINAL_INSTALL_MERC_GC_LIB_DIR=/usr/pkg/lib/mercury/lib \
	so
gmake[3]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc'
CC="/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir" AR="ar" RANLIB="ranlib" MAKE=gmake DESTDIR= \
   ./build_atomic_ops.sh --host=aarch64_be--netbsd
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... aarch64_be-unknown-netbsd10.0
checking host system type... aarch64_be--netbsd
checking target system type... aarch64_be--netbsd
checking for a BSD-compatible install... /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c
checking whether build environment is sane... yes
checking for aarch64_be--netbsd-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether gmake sets $(MAKE)... yes
checking for aarch64_be--netbsd-ranlib... ranlib
checking for style of include used by gmake... GNU
checking for aarch64_be--netbsd-gcc... /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir
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 /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir accepts -g... yes
checking for /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir option to accept ISO C89... none needed
checking dependency style of /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir... gcc3
checking whether /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir and cc understand -c and -o together... yes
checking dependency style of /tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/grep
checking for egrep... /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/grep -E
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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ANSI C header files... (cached) yes
checking for PIC compiler flag... -fPIC
checking whether gcc -fPIC causes __PIC__ definition... yes
checking for pthread_self in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgconfig/atomic_ops.pc
config.status: creating pkgconfig/atomic_ops-uninstalled.pc
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/atomic_ops/Makefile
config.status: creating src/atomic_ops/sysdeps/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default commands
gmake[4]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops'
Making install in src
gmake[5]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src'
Making install in atomic_ops
gmake[6]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
Making install in sysdeps
gmake[7]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps'
gmake[8]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps'
gmake[8]: Nothing to be done for 'install-exec-am'.
test -z "/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps" || ../../.././install-sh -c -d "/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps"
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  gcc/alpha.h gcc/arm.h gcc/avr32.h gcc/cris.h gcc/hexagon.h gcc/hppa.h gcc/ia64.h gcc/m68k.h gcc/mips.h gcc/powerpc.h gcc/s390.h gcc/sh.h gcc/sparc.h gcc/x86.h gcc/x86_64.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/sunc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  sunc/sparc.h sunc/x86.h sunc/x86_64.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/sunc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/ibmc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  ibmc/powerpc.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/ibmc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  hpc/hppa.h hpc/ia64.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  msftc/arm.h msftc/common32_defs.h msftc/x86.h msftc/x86_64.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/icc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  icc/ia64.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/icc'
../../.././install-sh -c -d '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/armcc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  armcc/arm_v6.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/armcc'
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644  generic_pthread.h atomic_load_store.h aligned_atomic_load_store.h acquire_release_volatile.h char_acquire_release_volatile.h char_atomic_load_store.h short_acquire_release_volatile.h short_aligned_atomic_load_store.h short_atomic_load_store.h int_acquire_release_volatile.h int_aligned_atomic_load_store.h int_atomic_load_store.h all_acquire_release_volatile.h all_aligned_atomic_load_store.h all_atomic_load_store.h read_ordered.h ordered_except_wr.h ordered.h ao_t_is_int.h test_and_set_t_is_ao_t.h test_and_set_t_is_char.h emul_cas.h standard_ao_double_t.h README '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/.'
gmake[8]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps'
gmake[7]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps'
gmake[7]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
gmake[8]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
gmake[8]: Nothing to be done for 'install-exec-am'.
test -z "/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/" || ../.././install-sh -c -d "/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/"
 /tmp/pkgbuild/lang/mercury/work.aarch64eb/.tools/bin/install -c -m 644 generalize.h generalize-small.h '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops-install/include/atomic_ops/'
gmake[8]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
gmake[7]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
gmake[6]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src/atomic_ops'
gmake[6]: Entering directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src'
/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir -DHAVE_CONFIG_H -I.  -I../src -I../src -I/usr/pkg/include -I/usr/include -fPIC -I./include -I./libatomic_ops-install/include -DNO_EXECUTE_PERMISSION -DLARGE_CONFIG  -fpic -DMR_PIC   -DNO_DEBUGGING -DNDEBUG -MT atomic_ops.o -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.o atomic_ops.c
distcc[26148] ERROR: compile atomic_ops.c on 10.0.20.122:3660 failed
distcc[26148] (dcc_build_somewhere) Warning: remote compilation of 'atomic_ops.c' failed, retrying locally
distcc[26148] Warning: failed to distribute atomic_ops.c to 10.0.20.122:3660, running locally instead
atomic_ops.c:97:1: error: unknown type name 'AO_TS_t'; did you mean 'AO_TS_T'?
   97 | AO_TS_t AO_locks[AO_HASH_SIZE] = {
      | ^~~~~~~
      | AO_TS_T
In file included from atomic_ops.c:69:
atomic_ops.h:147:33: error: 'AO_TS_CLEAR' undeclared here (not in a function); did you mean 'AO_TS_VAL'?
  147 | #define AO_TS_INITIALIZER (AO_t)AO_TS_CLEAR
      |                                 ^~~~~~~~~~~
atomic_ops.c:98:3: note: in expansion of macro 'AO_TS_INITIALIZER'
   98 |   AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER,
      |   ^~~~~~~~~~~~~~~~~
atomic_ops.c: In function 'AO_spin':
atomic_ops.c:110:12: warning: implicit declaration of function 'AO_load' [-Wimplicit-function-declaration]
  110 |   AO_T j = AO_load(&dummy);
      |            ^~~~~~~
atomic_ops.c:117:3: warning: implicit declaration of function 'AO_store' [-Wimplicit-function-declaration]
  117 |   AO_store(&dummy, j);
      |   ^~~~~~~~
atomic_ops.c: At top level:
atomic_ops.c:143:31: error: unknown type name 'AO_TS_t'
  143 | static void lock_ool(volatile AO_TS_t *l)
      |                               ^~~~~~~
atomic_ops.c: In function 'lock_ool':
atomic_ops.c:147:10: warning: implicit declaration of function 'AO_test_and_set_acquire' [-Wimplicit-function-declaration]
  147 |   while (AO_test_and_set_acquire(l) == AO_TS_SET)
      |          ^~~~~~~~~~~~~~~~~~~~~~~
atomic_ops.c:147:40: error: 'AO_TS_SET' undeclared (first use in this function); did you mean 'AO_TS_T'?
  147 |   while (AO_test_and_set_acquire(l) == AO_TS_SET)
      |                                        ^~~~~~~~~
      |                                        AO_TS_T
atomic_ops.c:147:40: note: each undeclared identifier is reported only once for each function it appears in
atomic_ops.c: At top level:
atomic_ops.c:151:30: error: unknown type name 'AO_TS_t'
  151 | AO_INLINE void lock(volatile AO_TS_t *l)
      |                              ^~~~~~~
atomic_ops.c: In function 'lock':
atomic_ops.c:153:37: error: 'AO_TS_SET' undeclared (first use in this function); did you mean 'AO_TS_T'?
  153 |   if (AO_test_and_set_acquire(l) == AO_TS_SET)
      |                                     ^~~~~~~~~
      |                                     AO_TS_T
atomic_ops.c: At top level:
atomic_ops.c:157:32: error: unknown type name 'AO_TS_t'
  157 | AO_INLINE void unlock(volatile AO_TS_t *l)
      |                                ^~~~~~~
atomic_ops.c: In function 'unlock':
atomic_ops.c:159:3: warning: implicit declaration of function 'AO_CLEAR' [-Wimplicit-function-declaration]
  159 |   AO_CLEAR(l);
      |   ^~~~~~~~
atomic_ops.c: At top level:
atomic_ops.c:165:19: error: unknown type name 'AO_TS_t'
  165 |   static volatile AO_TS_t init_lock = AO_TS_INITIALIZER;
      |                   ^~~~~~~
atomic_ops.c: In function 'AO_compare_and_swap_emulation':
atomic_ops.c:171:3: error: unknown type name 'AO_TS_t'; did you mean 'AO_TS_T'?
  171 |   AO_TS_t *my_lock = AO_locks + AO_HASH(addr);
      |   ^~~~~~~
      |   AO_TS_T
atomic_ops.c:176:10: warning: implicit declaration of function 'AO_load_acquire' [-Wimplicit-function-declaration]
  176 |     if (!AO_load_acquire(&initialized))
      |          ^~~~~~~~~~~~~~~
atomic_ops.c:181:7: warning: implicit declaration of function 'AO_store_release' [-Wimplicit-function-declaration]
  181 |       AO_store_release(&initialized, 1);
      |       ^~~~~~~~~~~~~~~~
atomic_ops.c: In function 'AO_compare_double_and_swap_double_emulation':
atomic_ops.c:211:3: error: unknown type name 'AO_TS_t'; did you mean 'AO_TS_T'?
  211 |   AO_TS_t *my_lock = AO_locks + AO_HASH(addr);
      |   ^~~~~~~
      |   AO_TS_T
atomic_ops.c: In function 'AO_store_full_emulation':
atomic_ops.c:250:3: error: unknown type name 'AO_TS_t'; did you mean 'AO_TS_T'?
  250 |   AO_TS_t *my_lock = AO_locks + AO_HASH(addr);
      |   ^~~~~~~
      |   AO_TS_T
distcc[26148] ERROR: compile atomic_ops.c on localhost failed
gmake[6]: *** [Makefile:374: atomic_ops.o] Error 1
gmake[6]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src'
gmake[5]: *** [Makefile:414: install-recursive] Error 1
gmake[5]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops/src'
gmake[4]: *** [Makefile:309: install-recursive] Error 1
gmake[4]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc/libatomic_ops'
gmake[3]: *** [Makefile:237: libatomic_ops-install] Error 2
gmake[3]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc'
gmake[2]: *** [/tmp/mmake.x8bYZH:864: submake] Error 2
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1/boehm_gc'
gmake[1]: *** [/tmp/mmake.zLAhzu:1032: boehm_gc] Error 2
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/mercury/work.aarch64eb/mercury-srcdist-14.01.1'
gmake: *** [Makefile:37: install] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/mercury
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/mercury