=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz => Checksum RMD160 OK for ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA1 OK for ghc-7.6.3-src.tar.bz2 => Checksum RMD160 OK for ghc-7.6.3-src.tar.bz2 => Checksum SHA512 OK for ghc-7.6.3-src.tar.bz2 ===> Installing dependencies for ghc-7.6.3nb14 ========================================================================== The following variables will affect the build process of this package, ghc-7.6.3nb14. Their current value is shown below: * CURSES_DEFAULT = curses Based on these variables, the following variables have been set: * CURSES_TYPE = curses You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency autoconf>=2.50: found autoconf-2.69nb9 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency libxslt-[0-9]*: found libxslt-1.1.34 => Build dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.1nb4 => Build dependency compat80-[0-9]*: found compat80-8.0 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.0: found perl-5.30.1 => Full dependency gmp>=5.0.1: found gmp-6.1.2 ===> Overriding tools for ghc-7.6.3nb14 ===> Extracting for ghc-7.6.3nb14 ===> Patching for ghc-7.6.3nb14 => Applying pkgsrc patches for ghc-7.6.3nb14 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile,v 1.1 2013/12/12 12:47:17 obache Exp $ | |Required by patches/patch-ghc.mk | | |--- Makefile.orig 2013-02-14 02:53:07.000000000 +0000 |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 75. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-ghc.mk => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ghc.mk,v 1.1 2013/12/12 12:47:17 obache Exp $ | |We want bootstrapping bindists to be as small as possible, and bzip2 |is not enough: | | % du -sh ghc-*.tar* | 291M ghc-7.6.2-boot-powerpc-apple-darwin.tar | 60M ghc-7.6.2-boot-powerpc-apple-darwin.tar.bz2 | 32M ghc-7.6.2-boot-powerpc-apple-darwin.tar.xz | | |--- ghc.mk.orig 2013-02-14 02:24:35.000000000 +0000 |+++ ghc.mk -------------------------- Patching file ghc.mk using Plan A... Hunk #1 succeeded at 1009. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libffi_ghc.mk => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libffi_ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libffi_ghc.mk,v 1.1 2016/05/07 10:02:06 joerg Exp $ | |--- libffi/ghc.mk.orig 2015-09-22 19:10:58.000000000 +0000 |+++ libffi/ghc.mk -------------------------- Patching file libffi/ghc.mk using Plan A... Hunk #1 succeeded at 31. Hunk #2 succeeded at 85. Hunk #3 succeeded at 103. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_base_configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_base_configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_configure.ac,v 1.2 2015/02/16 07:04:58 pho Exp $ | |Upstream Trac #10093: |https://ghc.haskell.org/trac/ghc/ticket/10093 | |Do not clobber CPPFLAGS nor LDFLAGS: | |When we are using pkgsrc converters/libiconv, we have libiconv.so in |${PREFIX}/lib and "-Wl,-R${PREFIX}/lib" in LDFLAGS. In this case |FP_SEARCH_LIBS_PROTO(iconv) appends "-liconv" to $LIBS so it will be |linked to any conftest executables that follow, including one which |will be generated by AC_CHECK_SIZEOF(). | |The problem is that if libraries listed in $LIBS are in a non-standard |path while rpath flags are missing (due to LDFLAGS being clobbered in |this case), conftest executables cannot run even if they can be |linked. And if anything goes wrong during AC_CHECK_SIZEOF(T), it |considers sizeof(T) as 0 unless T is known to be an existing type: | | ... | checking for library containing iconv... -liconv | checking for library containing locale_charset... none required | checking size of struct MD5Context... 0 | ... | |This means SIZEOF_STRUCT_MD5CONTEXT gets defined to 0, |GHC.Fingerprint.fingerprintData allocates 0 bytes on the heap, |MD5Init/Update/Final corrupts the heap and then Bad Things will |happen. | |--- libraries/base/configure.ac.orig 2013-04-18 21:30:14.000000000 +0000 |+++ libraries/base/configure.ac -------------------------- Patching file libraries/base/configure.ac using Plan A... Hunk #1 succeeded at 70. Hunk #2 succeeded at 183. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-gmp_configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-gmp_configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_integer-gmp_configure.ac,v 1.1 2013/12/12 12:47:17 obache Exp $ | |In Darwin, integer-gmp prefers GMP.framework when it happens to be |installed somewhere in the system, even though it doesn't come with |Darwin. Let it stop that. (Already fixed in the upstream.) | | |--- libraries/integer-gmp/configure.ac.orig 2013-01-27 13:36:41.000000000 +0000 |+++ libraries/integer-gmp/configure.ac -------------------------- Patching file libraries/integer-gmp/configure.ac using Plan A... Hunk #1 succeeded at 45. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-simple_GHC_Integer.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-simple_GHC_Integer.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_integer-simple_GHC_Integer.hs,v 1.1 2013/12/12 12:47:17 obache Exp $ | |Missing functions: already fixed in the upstream. | | |--- libraries/integer-simple/GHC/Integer.hs.orig 2013-02-13 18:50:32.000000000 +0000 |+++ libraries/integer-simple/GHC/Integer.hs -------------------------- Patching file libraries/integer-simple/GHC/Integer.hs using Plan A... Hunk #1 succeeded at 27. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-simple_GHC_Integer_Type.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_integer-simple_GHC_Integer_Type.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_integer-simple_GHC_Integer_Type.hs,v 1.1 2013/12/12 12:47:17 obache Exp $ | |Missing functions: already fixed in the upstream. | | |--- libraries/integer-simple/GHC/Integer/Type.hs.orig 2013-02-13 18:45:55.000000000 +0000 |+++ libraries/integer-simple/GHC/Integer/Type.hs -------------------------- Patching file libraries/integer-simple/GHC/Integer/Type.hs using Plan A... Hunk #1 succeeded at 370. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_time_Data_Time_Clock_CTimeval.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_time_Data_Time_Clock_CTimeval.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_time_Data_Time_Clock_CTimeval.hs,v 1.1 2015/02/13 19:28:40 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". In Haskell FFI, "ccall" is actually an |interface to C ABI rather than C API. That is, GHC generates direct |references to the symbol even if it's actually defined as a cpp macro |or something like that, because GHC knows nothing about those macros |in foreign headers. Hence the following warnings: | | .../libHStime-1.4.0.1.a(CTimeval.o): In function `s1Kp_info': | (.text+0x2f): warning: warning: reference to compatibility | gettimeofday(); include to generate correct reference | |In other words, you can safely use "ccall" only when you are sure the |symbol you want to import is actually a symbol in the ABI sense, which |is not always the case for the POSIX API. | |--- libraries/time/Data/Time/Clock/CTimeval.hs.orig 2015-02-13 15:42:45.000000000 +0000 |+++ libraries/time/Data/Time/Clock/CTimeval.hs -------------------------- Patching file libraries/time/Data/Time/Clock/CTimeval.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 21. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_System_Posix_Files.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_System_Posix_Files.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Files.hsc,v 1.1 2014/05/21 16:07:59 jperkin Exp $ | |Add more errnos. | |--- libraries/unix/System/Posix/Files.hsc.orig 2013-04-18 21:36:40.000000000 +0000 |+++ libraries/unix/System/Posix/Files.hsc -------------------------- Patching file libraries/unix/System/Posix/Files.hsc using Plan A... Hunk #1 succeeded at 171. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_System_Posix_Signals.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_System_Posix_Signals.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Signals.hsc,v 1.1 2015/02/13 19:28:40 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". In Haskell FFI, "ccall" is actually an |interface to C ABI rather than C API. That is, GHC generates direct |references to the symbol even if it's actually defined as a cpp macro |or something like that, because GHC knows nothing about those macros |in foreign headers. Hence the following warnings: | | .../libHSunix-2.6.0.1.a(Signals.o): In function `s4SG_info': | (.text+0x3a3e): warning: warning: reference to compatibility | sigsuspend(); include for correct reference | .../libHSunix-2.6.0.1.a(Signals.o): In function `s5uV_info': | (.text+0x6adb): warning: warning: reference to compatibility | sigpending(); include for correct reference | |In other words, you can safely use "ccall" only when you are sure the |symbol you want to import is actually a symbol in the ABI sense, which |is not always the case for the POSIX API. | |--- libraries/unix/System/Posix/Signals.hsc.orig 2015-02-13 15:40:27.000000000 +0000 |+++ libraries/unix/System/Posix/Signals.hsc -------------------------- Patching file libraries/unix/System/Posix/Signals.hsc using Plan A... Hunk #1 succeeded at 598. Hunk #2 succeeded at 622. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_cbits_execvpe.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_cbits_execvpe.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_cbits_execvpe.c,v 1.1 2015/10/23 20:46:22 tnn Exp $ | |Don't conflict with builtin execvpe(3). | |--- libraries/unix/cbits/execvpe.c.orig 2013-04-18 21:36:40.000000000 +0000 |+++ libraries/unix/cbits/execvpe.c -------------------------- Patching file libraries/unix/cbits/execvpe.c using Plan A... Hunk #1 succeeded at 57. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_include_execvpe.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-libraries_unix_include_execvpe.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_include_execvpe.h,v 1.1 2015/10/23 20:46:22 tnn Exp $ | |Don't conflict with builtin execvpe(3). | |--- libraries/unix/include/execvpe.h.orig 2013-04-18 21:36:40.000000000 +0000 |+++ libraries/unix/include/execvpe.h -------------------------- Patching file libraries/unix/include/execvpe.h using Plan A... Hunk #1 succeeded at 19. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-mk_config.mk.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-mk_config.mk.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-mk_config.mk.in,v 1.1 2014/05/21 16:07:59 jperkin Exp $ | |Support shared libraries on 64-bit SunOS. | |--- mk/config.mk.in.orig 2013-04-18 21:22:46.000000000 +0000 |+++ mk/config.mk.in -------------------------- Patching file mk/config.mk.in using Plan A... Hunk #1 succeeded at 124. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_Linker.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_Linker.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_Linker.c,v 1.2 2014/05/21 16:07:59 jperkin Exp $ | |Support 64-bit x86 SunOS. | |--- rts/Linker.c.orig 2013-04-18 21:22:46.000000000 +0000 |+++ rts/Linker.c -------------------------- Patching file rts/Linker.c using Plan A... Hunk #1 succeeded at 75. Hunk #2 succeeded at 4015. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_PosixSource.h,v 1.1 2018/05/25 15:24:02 jperkin Exp $ | |Set _XOPEN_SOURCE correctly on SunOS. | |--- rts/PosixSource.h.orig 2013-04-18 21:22:46.000000000 +0000 |+++ rts/PosixSource.h -------------------------- Patching file rts/PosixSource.h using Plan A... Hunk #1 succeeded at 11. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_StgCRun.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_StgCRun.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_StgCRun.c,v 1.2 2015/02/05 00:59:10 pho Exp $ | |We have to make the visiblity of StgRun and StgReturn to "hidden" not |to trigger a bug in old binutils which results in: | | ld: rts/dist/build/RtsStartup.dyn_o: relocation R_X86_64_PC32 | against `StgRun' can not be used when making a shared object; | recompile with -fPIC | |With this workaround we can no longer override those two symbols using |LD_PRELOAD, but I think there is no reason to do so anyway. | |This has already been fixed in the upstream: |https://ghc.haskell.org/trac/ghc/ticket/7813 | |--- rts/StgCRun.c.orig 2013-01-27 13:21:52.000000000 +0000 |+++ rts/StgCRun.c -------------------------- Patching file rts/StgCRun.c using Plan A... Hunk #1 succeeded at 246. Hunk #2 succeeded at 281. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_ghc.mk => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7/patches/patch-rts_ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_ghc.mk,v 1.6 2016/05/07 10:02:06 joerg Exp $ | |This is pkgsrc specific: | |Install libffi.{a,la} too, so that the plist framework can deal with |.so name being different between platforms. Note that |"libffi$(soext)*" matches to libffi.{so,so.6,so.6.0} but not to |libffi.6.dylib so the pattern must be corrected to "libffi*$(soext)*", |otherwise libtool-expand will emit the following error on Mach-O |platforms: | | libtool-expand: `lib/ghc-7.6.3/libffi.6.dylib' was not found | |For what it's worth, this ain't the right way to install libtool |libraries. They should always be installed by running |"libtool --mode=install install -c foo.la /path/to/destination", which |can't be achieved without a major refactoring of the GHC build system. |And for that matter, GHC shouldn't install a local copy of libffi in |the first place. In fact GHC 7.8 seems to have a configure option |"--with-system-libffi" so we can hopefully remove this rather |unpleasant patch in the future. | |--- rts/ghc.mk.orig 2013-04-18 21:22:47.000000000 +0000 |+++ rts/ghc.mk -------------------------- Patching file rts/ghc.mk using Plan A... Hunk #1 succeeded at 112. Hunk #2 succeeded at 186. Hunk #3 succeeded at 510. done ===> Regenerating configuration scripts for ghc-7.6.3nb14 ===> Creating toolchain wrappers for ghc-7.6.3nb14 ===> Configuring for ghc-7.6.3nb14 ===> Extracting bootstrapping compiler for ghc-7.6.3nb14 ===> Preparing bootstrapping compiler for ghc-7.6.3nb14 checking for path to top of build tree... /tmp/lang/ghc7/work/build-extract/ghc-7.6.3-boot Build platform inferred as: x86_64-unknown-netbsd Host platform inferred as: x86_64-unknown-netbsd Target platform inferred as: x86_64-unknown-netbsd GHC build : x86_64-unknown-netbsd GHC host : x86_64-unknown-netbsd GHC target : x86_64-unknown-netbsd checking for perl... /usr/pkg/bin/perl checking if your perl works in shell scripts... yes checking for a BSD-compatible install... /tmp/lang/ghc7/work/.tools/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for gcc... /tmp/lang/ghc7/work/.cwrapper/bin/gcc checking for gcc... /tmp/lang/ghc7/work/.cwrapper/bin/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 /tmp/lang/ghc7/work/.cwrapper/bin/gcc accepts -g... yes checking for /tmp/lang/ghc7/work/.cwrapper/bin/gcc option to accept ISO C89... none needed checking version of gcc... 7.4.0 checking how to run the C preprocessor... /tmp/lang/ghc7/work/.cwrapper/bin/gcc -E checking whether ld understands --hash-size=31... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ checking whether ld understands --reduce-memory-overheads... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ checking for extra options to pass gcc when compiling via C... -fwrapv checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 size of void *... 8 checking for ar... (cached) ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ranlib is needed... no configure: creating ./config.status config.status: creating settings config.status: creating mk/config.mk config.status: creating mk/install.mk **************************************************** Configuration done, ready to 'make install' (see README and INSTALL files for more info.) **************************************************** gmake[2]: Entering directory '/tmp/lang/ghc7/work/build-extract/ghc-7.6.3-boot' /usr/pkg/bin/gmake -r --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES includes/ghc.mk:153: warning: overriding recipe for target 'inplace/bin/mkDerivedConstants' includes/ghc.mk:146: warning: ignoring old recipe for target 'inplace/bin/mkDerivedConstants' "rm" -f driver/split/dist/ghc-split echo '#!/usr/pkg/bin/perl' >> driver/split/dist/ghc-split echo '$TARGETPLATFORM = "x86_64-unknown-netbsd";' >> driver/split/dist/ghc-split echo '$TABLES_NEXT_TO_CODE = "YES";' >> driver/split/dist/ghc-split cat driver/split/dist/ghc-split.prl >> driver/split/dist/ghc-split /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 driver/split/dist/ghc-split "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghci-7.6.3" create () { touch "$1" && chmod 755 "$1" ; } && create "/tmp/lang/ghc7/work/.tools/bin/ghci-7.6.3" echo '#!/bin/sh' >> "/tmp/lang/ghc7/work/.tools/bin/ghci-7.6.3" echo 'exec "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" --interactive ${1+"$@"}' >> "/tmp/lang/ghc7/work/.tools/bin/ghci-7.6.3" chmod +x "/tmp/lang/ghc7/work/.tools/bin/ghci-7.6.3" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghci" ln -s ghci-7.6.3 "/tmp/lang/ghc7/work/.tools/bin/ghci" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/." && /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/./*.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/./" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/rts/*.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts/" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts/prof" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/rts/prof/*.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts/prof/" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts/storage" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/rts/storage/*.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/rts/storage/" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/stg" && /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/stg/*.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/stg/" && true /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/dist-ghcconstants/header/GHCConstants.h includes/dist-derivedconstants/header/DerivedConstants.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include" /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include/" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" create () { touch "$1" && chmod 755 "$1" ; } && create "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo '#!/bin/sh' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'exedir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'exeprog="hsc2hs"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'executablename="$exedir/$exeprog"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'datadir="/tmp/lang/ghc7/work/.tools/share"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'bindir="/tmp/lang/ghc7/work/.tools/bin"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'topdir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" echo 'HSC2HS_EXTRA="--cflag=-O2 --cflag=-D_FORTIFY_SOURCE=2 --cflag=-I/usr/include --cflag=-I/usr/pkg/include --cflag=-fno-stack-protector --lflag=-L/usr/lib --lflag=-Wl,-R/usr/lib --lflag=-L/usr/pkg/lib --lflag=-Wl,-R/usr/pkg/lib"' >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" cat utils/hsc2hs/hsc2hs.wrapper >> "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" chmod +x "/tmp/lang/ghc7/work/.tools/bin/hsc2hs" /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" create () { touch "$1" && chmod 755 "$1" ; } && create "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo '#!/bin/sh' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'exedir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'exeprog="ghc-pkg"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'executablename="$exedir/$exeprog"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'datadir="/tmp/lang/ghc7/work/.tools/share"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'bindir="/tmp/lang/ghc7/work/.tools/bin"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" echo 'topdir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" cat utils/ghc-pkg/ghc-pkg.wrapper >> "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" chmod +x "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg-7.6.3" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg" ln -s ghc-pkg-7.6.3 "/tmp/lang/ghc7/work/.tools/bin/ghc-pkg" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" create () { touch "$1" && chmod 755 "$1" ; } && create "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo '#!/bin/sh' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'exedir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'exeprog="runghc"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'executablename="$exedir/$exeprog"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'datadir="/tmp/lang/ghc7/work/.tools/share"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'bindir="/tmp/lang/ghc7/work/.tools/bin"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" echo 'topdir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" cat utils/runghc/runghc.wrapper >> "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" chmod +x "/tmp/lang/ghc7/work/.tools/bin/runghc-7.6.3" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/runhaskell" ln -s runghc "/tmp/lang/ghc7/work/.tools/bin/runhaskell" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/runghc" ln -s runghc-7.6.3 "/tmp/lang/ghc7/work/.tools/bin/runghc" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" create () { touch "$1" && chmod 755 "$1" ; } && create "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo '#!/bin/sh' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'exedir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'exeprog="ghc-stage2"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'executablename="$exedir/$exeprog"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'datadir="/tmp/lang/ghc7/work/.tools/share"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'bindir="/tmp/lang/ghc7/work/.tools/bin"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'topdir="/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" echo 'executablename="$exedir/ghc"' >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" cat ghc/ghc.wrapper >> "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" chmod +x "/tmp/lang/ghc7/work/.tools/bin/ghc-7.6.3" "rm" -f "/tmp/lang/ghc7/work/.tools/bin/ghc" ln -s ghc-7.6.3 "/tmp/lang/ghc7/work/.tools/bin/ghc" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" for i in driver/ghc-usage.txt driver/ghci-usage.txt rts/dist/build/libHSrts.a settings; do \ case $i in \ *.a) \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"; \ true /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/`basename $i` ;; \ *.dll) \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" ; \ strip "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"/$i ;; \ *.so) \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" ;; \ *.dylib) \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3";; \ *) \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 644 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"; \ esac; \ done /tmp/lang/ghc7/work/.cwrapper/bin/gcc -E -I/usr/include -I/usr/pkg/include -undef -traditional -P -DINSTALLING -DLIB_DIR='"/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"' -DINCLUDE_DIR='"/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/include"' -DPAPI_INCLUDE_DIR="" -DPAPI_LIB_DIR="" -x c -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header rts/package.conf.in -o rts/package.conf.install.raw grep -v '^#pragma GCC' rts/package.conf.install.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' >rts/package.conf.install /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" for i in utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/runghc/dist-install/build/tmp/runghc ghc/stage2/build/tmp/ghc-stage2; do \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"; \ done "mv" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-stage2" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" "rm" -rf "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/package.conf.d" /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/package.conf.d" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" --force --global-package-db "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/package.conf.d" update rts/package.conf.install Reading package info from "rts/package.conf.install" ... done. CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/ghc-prim dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-prim-0.3.0.0 Registering ghc-prim-0.3.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/integer-simple dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/integer-simple-0.1.0.1 Registering integer-simple-0.1.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/base dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/base-4.6.0.1 Registering base-4.6.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/filepath dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/filepath-1.3.0.1 Registering filepath-1.3.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/array dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/array-0.4.0.1 Registering array-0.4.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/deepseq dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/deepseq-1.3.0.1 Registering deepseq-1.3.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/bytestring dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/bytestring-0.10.0.2 Registering bytestring-0.10.0.2... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/containers dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/containers-0.5.0.0 Registering containers-0.5.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/old-locale dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/old-locale-1.0.0.5 Registering old-locale-1.0.0.5... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/old-time dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/old-time-1.1.0.1 Registering old-time-1.1.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/time dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/time-1.4.0.1 Registering time-1.4.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/unix dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/unix-2.6.0.1 Registering unix-2.6.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/directory dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/directory-1.2.0.1 Registering directory-1.2.0.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/process dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/process-1.1.0.2 Registering process-1.1.0.2... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/hpc dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/hpc-0.6.0.0 Registering hpc-0.6.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/pretty dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/pretty-1.1.1.0 Registering pretty-1.1.1.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/template-haskell dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/template-haskell-2.8.0.0 Registering template-haskell-2.8.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/Cabal/Cabal dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/Cabal-1.16.0 Registering Cabal-1.16.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/binary dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/binary-0.5.1.1 Registering binary-0.5.1.1... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/bin-package-db dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/bin-package-db-0.0.0.0 Registering bin-package-db-0.0.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/hoopl dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/hoopl-3.9.0.0 Registering hoopl-3.9.0.0... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" compiler stage2 '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-7.6.3 Registering ghc-7.6.3... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/haskell98 dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/haskell98-2.0.0.2 Registering haskell98-2.0.0.2... CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" libraries/haskell2010 dist-install '' '/tmp/lang/ghc7/work/.tools' '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3' '/tmp/lang/ghc7/work/.tools/share/doc/ghc/html/libraries' NO Installing library in /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/haskell2010-1.1.1.0 Registering haskell2010-1.1.1.0... for f in '/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/package.conf.d'/*; do create () { touch "$1" && chmod 644 "$1" ; } && create "$f"; done /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/bin" for i in utils/hp2ps/dist/build/tmp/hp2ps utils/hpc/dist-install/build/tmp/hpc; do \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/bin" ; \ done /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3" for i in utils/unlit/dist/build/tmp/unlit; do \ /tmp/lang/ghc7/work/.tools/bin/install -c -m 755 $i "/tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3"; \ done gmake[2]: Leaving directory '/tmp/lang/ghc7/work/build-extract/ghc-7.6.3-boot' => 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 gfind... no checking for find... /tmp/lang/ghc7/work/.tools/bin/find checking for sort... /tmp/lang/ghc7/work/.tools/bin/sort checking for ghc... /tmp/lang/ghc7/work/.tools/bin/ghc checking version of ghc... 7.6.3 checking build system type... x86_64-unknown-netbsd9.0 checking host system type... x86_64-unknown-netbsd9.0 checking target system type... x86_64-unknown-netbsd9.0 HOST: x86_64-unknown-netbsd9.0 Build platform inferred as: x86_64-unknown-netbsd Host platform inferred as: x86_64-unknown-netbsd Target platform inferred as: x86_64-unknown-netbsd GHC build : x86_64-unknown-netbsd GHC host : x86_64-unknown-netbsd GHC target : x86_64-unknown-netbsd configure: Building in-tree ghc-pwd ld: /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/time-1.4.0.1/libHStime-1.4.0.1.a(CTimeval.o): in function `s1Ls_info': (.text+0x2f): warning: warning: reference to compatibility gettimeofday(); include to generate correct reference checking for path to top of build tree... /tmp/lang/ghc7/work/ghc-7.6.3 checking for ld... /tmp/lang/ghc7/work/.cwrapper/bin/ld checking for nm... /usr/bin/nm checking for llc... no checking for opt... no checking whether #! works in shell scripts... yes checking for perl... /usr/pkg/bin/perl checking if your perl works in shell scripts... yes checking for python... no checking for 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 version of gcc... 7.4.0 checking whether C compiler has an LLVM back end... no checking whether ld understands --hash-size=31... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ --hash-size=31 checking whether ld understands --reduce-memory-overheads... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ --reduce-memory-overheads checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking for extra options to pass gcc when compiling via C... -fwrapv checking how to run the C preprocessor... gcc -E checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking for ar... (cached) ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ar supports @file... yes checking whether ranlib is needed... no checking whether ln -s works... yes checking for gsed... no checking for sed... /tmp/lang/ghc7/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... no checking for tar... /tmp/lang/ghc7/work/.tools/bin/tar checking for gpatch... no checking for patch... /tmp/lang/ghc7/work/.tools/bin/patch checking for dtrace... no checking for HsColour... no checking for xmllint... /usr/pkg/bin/xmllint checking for DocBook DTD... ok checking for xsltproc... /usr/pkg/bin/xsltproc checking for DocBook XSL stylesheet... yes checking for dblatex... no configure: WARNING: cannot find dblatex in your PATH, you will not be able to build the PDF and PS documentation checking for ghc-pkg matching /tmp/lang/ghc7/work/.tools/bin/ghc... /tmp/lang/ghc7/work/.tools/bin/ghc-pkg checking for happy... no checking for version of happy... checking for alex... no checking for version of alex... checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no 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 bfd.h usability... no checking bfd.h presence... no checking for bfd.h... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/cpuset.h usability... no checking sys/cpuset.h presence... no checking for sys/cpuset.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/timers.h usability... no checking sys/timers.h presence... no checking for sys/timers.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking whether time.h and sys/time.h may both be included... yes checking for long long... yes checking size of char... 1 checking size of double... 8 checking size of float... 4 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of short... 2 checking size of unsigned char... 1 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking size of unsigned short... 2 checking size of void *... 8 checking for char... yes checking alignment of char... 1 checking for double... yes checking alignment of double... 8 checking for float... yes checking alignment of float... 4 checking for int... yes checking alignment of int... 4 checking for long... yes checking alignment of long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking for short... yes checking alignment of short... 2 checking for unsigned char... yes checking alignment of unsigned char... 1 checking for unsigned int... yes checking alignment of unsigned int... 4 checking for unsigned long... yes checking alignment of unsigned long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking for unsigned short... yes checking alignment of unsigned short... 2 checking for void *... yes checking alignment of void *... 8 checking for WinExec... no checking for GetModuleFileName... no checking return type of signal handlers... void checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... no checking for setlocale... yes checking whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for xmalloc in -liberty... no checking for bfd_uncompress_section_contents in -lbfd... no checking for dlopen in -ldl... no checking for working alloca.h... no checking for alloca... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking whether float word order is big endian... no checking for nlist in -lelf... yes checking leading underscore in symbol names... no checking whether ld understands -x... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ -x checking whether ld is GNU ld... yes checking whether ld understands --build-id... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ yes checking whether ld understands -no_compact_unwind... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] foo() {} ^~~ yes checking whether __attribute__((visibility("hidden"))) is supported... yes checking for clock_gettime in -lrt... yes checking for clock_gettime... yes checking for timer_create... yes checking for timer_settime... yes checking for a working timer_create(CLOCK_REALTIME)... no checking for printf$LDBLStub... no checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking for eventfd... no checking for pkg-config... no checking for PAPI_library_init in -lpapi... no checking papi.h usability... no checking papi.h presence... no checking for papi.h... no checking for __mingw_vfprintf... no configure: creating ./config.status config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating ghc.spec config.status: creating settings config.status: creating docs/users_guide/ug-book.xml config.status: creating docs/users_guide/ug-ent.xml config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/ghc.iss config.status: creating distrib/configure.ac config.status: creating mk/config.h config.status: executing mk/stamp-h commands ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 7.6.3 Build platform : x86_64-unknown-netbsd Host platform : x86_64-unknown-netbsd Target platform : x86_64-unknown-netbsd Bootstrapping using : /tmp/lang/ghc7/work/.tools/bin/ghc which is version : 7.6.3 Using GCC : gcc which is version : 7.4.0 Building a cross compiler : NO Porting to foreign arch : NO Alien script : ld : /tmp/lang/ghc7/work/.cwrapper/bin/ld Happy : () Alex : () Python : Perl : /usr/pkg/bin/perl dblatex : xsltproc : /usr/pkg/bin/xsltproc HsColour was not found; documentation will not contain source links Building DocBook HTML documentation : YES Building DocBook PS documentation : NO Building DocBook PDF documentation : NO ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see http://hackage.haskell.org/trac/ghc/wiki/Building => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp