=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for mercury-13.05.1beta cd /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28 && /usr/bin/env READLINE_PREFIX=/usr/pkg USETOOLS=no CC=cc CFLAGS=-O2\ -march=i586\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -march=i586\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 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=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/work/lang/mercury/work/.wrapper/bin:/usr/pkgsrc/work/lang/mercury/work/.buildlink/bin:/usr/pkgsrc/work/lang/mercury/work/.tools/bin:/usr/pkg/bin::/usr/pbulk/bin:/usr/pbulk/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/usr/pkgsrc/work/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 PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 775 INSTALL_INFO=/usr/pkgsrc/work/lang/mercury/work/.tools/bin/install-info MAKEINFO=/usr/pkgsrc/work/lang/mercury/work/.tools/bin/makeinfo FLEX=/usr/pkgsrc/work/lang/mercury/work/.tools/bin/flex BISON=/usr/pkgsrc/work/lang/mercury/work/.tools/bin/bison PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/work/lang/mercury/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/work/lang/mercury/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/work/lang/mercury/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/gmake INSTALL_PREFIX=/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/tmp INSTALL_INFO_DIR=/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/tmp/info INSTALL_MAN_DIR=/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/tmp/man MERCURY_COMPILER=/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/tmp/bin/mercury_compile PARALLEL= -f Makefile install MMAKE_DIR=`pwd`/scripts scripts/mmake MMAKEFLAGS= DESTDIR= install gmake[1]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28' cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[2]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/scripts' gmake[2]: Nothing to be done for 'default_target'. gmake[2]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/scripts' cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mfiltercc gmake[2]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/util' ../scripts/mgnuc --no-mercury-stdlib-dir \ --grade hlc.gc.pregen --no-filter-cc -- -I../runtime -O0 -o mfiltercc mfiltercc.c gmake[2]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/util' gc_grade=`scripts/ml --grade hlc.gc.pregen --print-gc-grade`; \ cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake GC_GRADE=$gc_grade gmake[2]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc' cp Makefile.direct Makefile MAKEFLAGS=""; export MAKEFLAGS; \ PATH=../util:$PATH gmake -j1 \ GRADE=hlc.gc.pregen GC_GRADE=gc \ AR=ar RANLIB=ranlib \ libgc.a libgc.a \ FINAL_INSTALL_MERC_GC_LIB_DIR=/usr/pkg/lib/mercury/lib \ a gmake[3]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc' CC="/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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=i386-elf32-minix 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... i686-elf32-minix checking host system type... i386-elf32-minix checking target system type... i386-elf32-minix checking for a BSD-compatible install... /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c checking whether build environment is sane... yes checking for i386-elf32-minix-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 i386-elf32-minix-ranlib... ranlib checking for style of include used by gmake... GNU checking for i386-elf32-minix-gcc... /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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 /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir accepts -g... yes checking for /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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 /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/../scripts/mgnuc --grade hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir... gcc3 checking whether /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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 /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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... /usr/pkgsrc/work/lang/mercury/work/.tools/bin/grep checking for egrep... /usr/pkgsrc/work/lang/mercury/work/.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... no 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... no 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 '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops' Making install in src gmake[5]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src' Making install in atomic_ops gmake[6]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' Making install in sysdeps gmake[7]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps' gmake[8]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps' gmake[8]: Nothing to be done for 'install-exec-am'. test -z "/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps" || ../../.././install-sh -c -d "/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps" ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc' /usr/pkgsrc/work/lang/mercury/work/.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 '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/sunc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 sunc/sparc.h sunc/x86.h sunc/x86_64.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/sunc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/ibmc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 ibmc/powerpc.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/ibmc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 hpc/hppa.h hpc/ia64.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 msftc/arm.h msftc/common32_defs.h msftc/x86.h msftc/x86_64.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/icc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 icc/ia64.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/icc' ../../.././install-sh -c -d '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/armcc' /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 armcc/arm_v6.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/armcc' /usr/pkgsrc/work/lang/mercury/work/.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 '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/sysdeps/.' gmake[8]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps' gmake[7]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops/sysdeps' gmake[7]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' gmake[8]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' gmake[8]: Nothing to be done for 'install-exec-am'. test -z "/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/" || ../.././install-sh -c -d "/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/" /usr/pkgsrc/work/lang/mercury/work/.tools/bin/install -c -m 644 generalize.h generalize-small.h '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops-install/include/atomic_ops/' gmake[8]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' gmake[7]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' gmake[6]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src/atomic_ops' gmake[6]: Entering directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src' /usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/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 -DNO_DEBUGGING -DNDEBUG -MT atomic_ops.o -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.o atomic_ops.c atomic_ops.c:51:10: fatal error: 'pthread.h' file not found #include ^ 1 error generated. Makefile:374: recipe for target 'atomic_ops.o' failed gmake[6]: *** [atomic_ops.o] Error 1 gmake[6]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src' Makefile:414: recipe for target 'install-recursive' failed gmake[5]: *** [install-recursive] Error 1 gmake[5]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops/src' Makefile:309: recipe for target 'install-recursive' failed gmake[4]: *** [install-recursive] Error 1 gmake[4]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc/libatomic_ops' Makefile:237: recipe for target 'libatomic_ops-install' failed gmake[3]: *** [libatomic_ops-install] Error 2 gmake[3]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc' /tmp/mmake.07074a:864: recipe for target 'submake' failed gmake[2]: *** [submake] Error 2 gmake[2]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28/boehm_gc' /tmp/mmake.06957a:1028: recipe for target 'boehm_gc' failed gmake[1]: *** [boehm_gc] Error 2 gmake[1]: Leaving directory '/usr/pkgsrc/work/lang/mercury/work/mercury-srcdist-13.05.1-beta-2013-05-28' Makefile:37: recipe for target 'install' failed gmake: *** [install] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/lang/mercury *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/mercury