=> 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.33nb1 => Build dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.1nb4 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.0: found perl-5.30.0 => 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 /tmp/lang/ghc7/work/.tools/lib/ghc-7.6.3/ghc-pkg: Shared object "libcurses.so.7" not found gmake[3]: *** [ghc.mk:917: install_packages] Error 1 gmake[2]: *** [Makefile:24: install] Error 2 gmake[2]: Leaving directory '/tmp/lang/ghc7/work/build-extract/ghc-7.6.3-boot' *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc7