=> 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-8.0.2-boot-x86_64-unknown-netbsd.tar.xz => Checksum RMD160 OK for ghc-8.0.2-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for ghc-8.0.2-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA1 OK for ghc-8.0.2-src.tar.xz => Checksum RMD160 OK for ghc-8.0.2-src.tar.xz => Checksum SHA512 OK for ghc-8.0.2-src.tar.xz ===> Installing dependencies for ghc-8.0.2nb1 ========================================================================== The following variables will affect the build process of this package, ghc-8.0.2nb1. Their current value is shown below: * CURSES_DEFAULT = curses * PYTHON_VERSION_DEFAULT = 37 Based on these variables, the following variables have been set: * CURSES_TYPE = curses * PYPACKAGE = python37 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 gtar-base>=1.13.25: found gtar-base-1.32nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency py37-sphinx-[0-9]*: found py37-sphinx-2.4.4 => Build dependency compat80-[0-9]*: found compat80-8.0 => Build dependency python37>=3.7.0: found python37-3.7.7 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.0: found perl-5.30.3 => Full dependency libffi>=3.3nb1: found libffi-3.3nb2 => Full dependency gmp>=5.0.1: found gmp-6.2.0 ===> 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'. ===> Overriding tools for ghc-8.0.2nb1 ===> Extracting for ghc-8.0.2nb1 ===> Patching for ghc-8.0.2nb1 => Applying pkgsrc patches for ghc-8.0.2nb1 => Verifying /data/pkgsrc/lang/ghc80/patches/patch-compiler_main_DynFlags.hs => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-compiler_main_DynFlags.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_main_DynFlags.hs,v 1.1 2020/01/14 08:46:17 pho Exp $ | |Fix build on FreeBSD: |https://phabricator.haskell.org/D3773 | |--- compiler/main/DynFlags.hs.orig 2017-01-03 15:59:18.000000000 +0000 |+++ compiler/main/DynFlags.hs -------------------------- Patching file compiler/main/DynFlags.hs using Plan A... Hunk #1 succeeded at 1339. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-configure.ac => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.2 2020/02/17 17:22:43 jperkin Exp $ | |Fix build on FreeBSD/amd64. | |--- configure.ac.orig 2017-01-04 14:17:17.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 732. Hunk #2 succeeded at 1060. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-iserv_ghc.mk => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-iserv_ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-iserv_ghc.mk,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Do not build threaded iserv if threaded RTS isn't being built. That is |impossible to do. | |--- iserv/ghc.mk.orig 2020-01-03 10:45:07.879183648 +0000 |+++ iserv/ghc.mk -------------------------- Patching file iserv/ghc.mk using Plan A... Hunk #1 succeeded at 19. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_base_GHC_Event_KQueue.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_base_GHC_Event_KQueue.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_GHC_Event_KQueue.hsc,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/base/GHC/Event/KQueue.hsc.orig 2019-12-26 18:05:56.276488590 +0000 |+++ libraries/base/GHC/Event/KQueue.hsc -------------------------- Patching file libraries/base/GHC/Event/KQueue.hsc using Plan A... Hunk #1 succeeded at 284. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_base_System_Environment.hs => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_base_System_Environment.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_System_Environment.hs,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/base/System/Environment.hs.orig 2017-01-03 15:59:18.000000000 +0000 |+++ libraries/base/System/Environment.hs -------------------------- Patching file libraries/base/System/Environment.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 305. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_time_lib_Data_Time_Clock_CTimespec.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_time_lib_Data_Time_Clock_CTimespec.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_time_lib_Data_Time_Clock_CTimespec.hsc,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility symbols. | |--- libraries/time/lib/Data/Time/Clock/CTimespec.hsc.orig 2020-01-03 10:48:43.269574197 +0000 |+++ libraries/time/lib/Data/Time/Clock/CTimespec.hsc -------------------------- Patching file libraries/time/lib/Data/Time/Clock/CTimespec.hsc using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 28. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_time_lib_Data_Time_Clock_CTimeval.hs => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_time_lib_Data_Time_Clock_CTimeval.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_time_lib_Data_Time_Clock_CTimeval.hs,v 1.1 2020/01/03 15:24:08 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/lib/Data/Time/Clock/CTimeval.hs.orig 2015-12-28 14:43:48.000000000 +0000 |+++ libraries/time/lib/Data/Time/Clock/CTimeval.hs -------------------------- Patching file libraries/time/lib/Data/Time/Clock/CTimeval.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 25. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Env.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Env.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Env.hsc,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env.hsc.orig 2016-11-17 22:08:50.000000000 +0000 |+++ libraries/unix/System/Posix/Env.hsc -------------------------- Patching file libraries/unix/System/Posix/Env.hsc using Plan A... Hunk #1 succeeded at 156. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Env_ByteString.hsc,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env/ByteString.hsc.orig 2016-11-17 22:08:50.000000000 +0000 |+++ libraries/unix/System/Posix/Env/ByteString.hsc -------------------------- Patching file libraries/unix/System/Posix/Env/ByteString.hsc using Plan A... Hunk #1 succeeded at 130. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Files_Common.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Files_Common.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Files_Common.hsc,v 1.1 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/unix/System/Posix/Files/Common.hsc.orig 2016-04-20 10:08:26.000000000 +0000 |+++ libraries/unix/System/Posix/Files/Common.hsc -------------------------- Patching file libraries/unix/System/Posix/Files/Common.hsc using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 449. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_System_Posix_Signals.hsc => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/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 2020/01/03 15:24:08 pho Exp $ | |Suppress linker warnings about compatibility symbols. | |--- libraries/unix/System/Posix/Signals.hsc.orig 2016-04-20 10:08:26.000000000 +0000 |+++ libraries/unix/System/Posix/Signals.hsc -------------------------- Patching file libraries/unix/System/Posix/Signals.hsc using Plan A... Hunk #1 succeeded at 590. Hunk #2 succeeded at 615. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-libraries_unix_include_execvpe.h => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/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 2020/01/03 15:24:08 pho Exp $ | |Don't conflict with builtin execvpe(3). | |--- libraries/unix/include/execvpe.h.orig 2016-02-04 16:16:38.000000000 +0000 |+++ libraries/unix/include/execvpe.h -------------------------- Patching file libraries/unix/include/execvpe.h using Plan A... Hunk #1 succeeded at 15. done => Verifying /data/pkgsrc/lang/ghc80/patches/patch-rts_PosixSource.h => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/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 2020/01/03 15:24:08 pho Exp $ | |Set _XOPEN_SOURCE correctly on SunOS. Fixed in later versions. | |--- 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 /data/pkgsrc/lang/ghc80/patches/patch-rules_distdir-way-opts.mk => Applying pkgsrc patch /data/pkgsrc/lang/ghc80/patches/patch-rules_distdir-way-opts.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rules_distdir-way-opts.mk,v 1.1 2020/02/17 17:22:43 jperkin Exp $ | |https://gitlab.haskell.org/ghc/ghc/issues/17385 | |--- rules/distdir-way-opts.mk.orig 2017-01-04 04:04:11.000000000 +0000 |+++ rules/distdir-way-opts.mk -------------------------- Patching file rules/distdir-way-opts.mk using Plan A... Hunk #1 succeeded at 196. done ===> Regenerating configuration scripts for ghc-8.0.2nb1 ===> Creating toolchain wrappers for ghc-8.0.2nb1 ===> Configuring for ghc-8.0.2nb1 ===> Extracting bootstrapping compiler for ghc-8.0.2nb1 ===> Preparing bootstrapping compiler for ghc-8.0.2nb1 checking for path to top of build tree... /data/scratch/lang/ghc80/work/build-extract/ghc-8.0.2-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 for a BSD-compatible install... /data/scratch/lang/ghc80/work/.tools/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for gcc... /data/scratch/lang/ghc80/work/.cwrapper/bin/gcc checking for llc-3.7... no checking for llc... no checking for opt-3.7... no checking for opt... no checking for ld... /data/scratch/lang/ghc80/work/.cwrapper/bin/ld checking for gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking version of gcc... 10.0.0 checking whether GCC supports -no-pie... yes checking how to run the C preprocessor... clang -E checking whether ld is GNU ld... yes checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... yes checking whether ld understands -filelist... no checking for extra options to pass gcc when compiling via C... -fwrapv -fno-builtin 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 ar supports @file... yes checking for ranlib... ranlib 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.) **************************************************** /usr/pkg/bin/gmake --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES "rm" -f utils/ghc-pkg/dist-install/build/Version.hs echo "module Version where" >> utils/ghc-pkg/dist-install/build/Version.hs echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/dist-install/build/Version.hs echo "version = \"8.0.2\"" >> utils/ghc-pkg/dist-install/build/Version.hs echo "targetOS = \"netbsd\"" >> utils/ghc-pkg/dist-install/build/Version.hs echo "targetARCH = \"x86_64\"" >> utils/ghc-pkg/dist-install/build/Version.hs "rm" -f utils/ghc-pkg/dist/build/Version.hs echo "module Version where" >> utils/ghc-pkg/dist/build/Version.hs echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/dist/build/Version.hs echo "version = \"8.0.2\"" >> utils/ghc-pkg/dist/build/Version.hs echo "targetOS = \"netbsd\"" >> utils/ghc-pkg/dist/build/Version.hs echo "targetARCH = \"x86_64\"" >> utils/ghc-pkg/dist/build/Version.hs /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/." && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/./*.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/./" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/rts/*.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/prof" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/rts/prof/*.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/prof/" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/rts/storage/*.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/stg" && /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/stg/*.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/stg/" && true /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/ghcversion.h includes/dist-derivedconstants/header/DerivedConstants.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" create () { touch "$1" && chmod 755 "$1" ; } && create "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo '#!/bin/sh' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'exedir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'exeprog="hsc2hs"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'executablename="$exedir/$exeprog"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'datadir="/data/scratch/lang/ghc80/work/.tools/share"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'bindir="/data/scratch/lang/ghc80/work/.tools/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'topdir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" echo 'HSC2HS_EXTRA="--cflag=-fno-stack-protector --lflag=-L/usr/lib --lflag=-Wl,-R/usr/lib --lflag=-L/usr/pkg/lib --lflag=-Wl,-R/usr/pkg/lib"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" cat utils/hsc2hs/hsc2hs.wrapper >> "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" chmod +x "/data/scratch/lang/ghc80/work/.tools/bin/hsc2hs" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" create () { touch "$1" && chmod 755 "$1" ; } && create "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo '#!/bin/sh' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'exedir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'exeprog="ghc-pkg"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'executablename="$exedir/$exeprog"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'datadir="/data/scratch/lang/ghc80/work/.tools/share"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'bindir="/data/scratch/lang/ghc80/work/.tools/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" echo 'topdir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" cat utils/ghc-pkg/ghc-pkg.wrapper >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" chmod +x "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg-8.0.2" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg" ln -s ghc-pkg-8.0.2 "/data/scratch/lang/ghc80/work/.tools/bin/ghc-pkg" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/hpc" create () { touch "$1" && chmod 755 "$1" ; } && create "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo '#!/bin/sh' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'exedir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'exeprog="hpc"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'executablename="$exedir/$exeprog"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'datadir="/data/scratch/lang/ghc80/work/.tools/share"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'bindir="/data/scratch/lang/ghc80/work/.tools/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" echo 'topdir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"' >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" cat utils/hpc/hpc.wrapper >> "/data/scratch/lang/ghc80/work/.tools/bin/hpc" chmod +x "/data/scratch/lang/ghc80/work/.tools/bin/hpc" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" create () { touch "$1" && chmod 755 "$1" ; } && create "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo '#!/bin/sh' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'exedir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'exeprog="ghc-stage2"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'executablename="$exedir/$exeprog"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'datadir="/data/scratch/lang/ghc80/work/.tools/share"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'bindir="/data/scratch/lang/ghc80/work/.tools/bin"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'topdir="/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" echo 'executablename="$exedir/ghc"' >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" cat ghc/ghc.wrapper >> "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" chmod +x "/data/scratch/lang/ghc80/work/.tools/bin/ghc-8.0.2" "rm" -f "/data/scratch/lang/ghc80/work/.tools/bin/ghc" ln -s ghc-8.0.2 "/data/scratch/lang/ghc80/work/.tools/bin/ghc" # driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants settings = libraries to install # "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" = directory to install to # # The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries. # For some reason, this means the DLLs end up non-executable, which means # executables that use them just segfault. /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" for i in driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants settings; do case $i in *.a) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"; true "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"/`basename $i` ;; *.dll) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" ; strip "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"/`basename $i` ;; *.so) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" ;; *.dylib) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2";; *) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"; esac; done clang -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs -P -DINSTALLING -DLIB_DIR='"/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2"' -DINCLUDE_DIR='"/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include"' -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -x c -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header rts/package.conf.in -o rts/dist/package.conf.install.raw grep -v '^#pragma GCC' rts/dist/package.conf.install.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' >rts/dist/package.conf.install /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin" for i in utils/unlit/dist/build/tmp/unlit utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/hpc/dist-install/build/tmp/hpc utils/hpc/dist-install/build/tmp/hpc ghc/stage2/build/tmp/ghc-stage2 ghc/stage2/build/tmp/ghc-stage2 iserv/stage2/build/tmp/ghc-iserv; do \ /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"; \ done "mv" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-stage2" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" "rm" -rf "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/package.conf.d" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/package.conf.d" /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts" # rts/dist/build/libHSrts.a rts/dist/build/libCffi.a = libraries to install # "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts" = directory to install to # # The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries. # For some reason, this means the DLLs end up non-executable, which means # executables that use them just segfault. /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts" for i in rts/dist/build/libHSrts.a rts/dist/build/libCffi.a; do case $i in *.a) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts"; true "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts"/`basename $i` ;; *.dll) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts" ; strip "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts"/`basename $i` ;; *.so) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts" ;; *.dylib) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts";; *) /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 644 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/rts"; esac; done "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/ghc-prim-0.5.0.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/integer-simple dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/integer-simple-0.1.1.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/base dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/base-4.9.1.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/filepath dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/filepath-1.4.1.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/array dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/array-0.5.1.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/deepseq dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/deepseq-1.4.2.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/bytestring dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bytestring-0.10.8.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/containers dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/containers-0.5.7.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/time dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/time-1.6.0.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/unix dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/unix-2.7.2.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/directory dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/directory-1.3.0.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/process dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/process-1.4.3.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/hpc dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/hpc-0.6.0.3 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/pretty dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/pretty-1.1.3.3 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/binary dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/binary-0.8.3.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/Cabal/Cabal dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/Cabal-1.24.2.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot-th dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/ghc-boot-th-8.0.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/ghc-boot-8.0.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/template-haskell dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/template-haskell-2.11.1.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/hoopl dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/hoopl-3.10.2.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/transformers dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/transformers-0.5.2.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/terminfo dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/terminfo-0.4.0.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/haskeline dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/haskeline-0.7.3.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghci dist-install "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/ghci-8.0.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy compiler stage2 "strip" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' 'v' Installing library in /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/ghc-8.0.2 "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" --force --global-package-db "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/package.conf.d" update rts/dist/package.conf.install Reading package info from "rts/dist/package.conf.install" ... done. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-prim dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering ghc-prim-0.5.0.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/integer-simple dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering integer-simple-0.1.1.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/base dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering base-4.9.1.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/filepath dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering filepath-1.4.1.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/array dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering array-0.5.1.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/deepseq dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering deepseq-1.4.2.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/bytestring dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering bytestring-0.10.8.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/containers dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering containers-0.5.7.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/time dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering time-1.6.0.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/unix dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering unix-2.7.2.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/directory dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering directory-1.3.0.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/process dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering process-1.4.3.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/hpc dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering hpc-0.6.0.3... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/pretty dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering pretty-1.1.3.3... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/binary dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering binary-0.8.3.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/Cabal/Cabal dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering Cabal-1.24.2.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot-th dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering ghc-boot-th-8.0.2... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering ghc-boot-8.0.2... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/template-haskell dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering template-haskell-2.11.1.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/hoopl dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering hoopl-3.10.2.1... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/transformers dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering transformers-0.5.2.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/terminfo dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering terminfo-0.4.0.2... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/haskeline dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering haskeline-0.7.3.0... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghci dist-install "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering ghci-8.0.2... "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register compiler stage2 "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin/ghc-pkg" "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2" '' '/data/scratch/lang/ghc80/work/.tools' '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2' '/data/scratch/lang/ghc80/work/.tools/share/doc/ghc-8.0.2/html/libraries' NO Registering ghc-8.0.2... for f in '/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/package.conf.d'/*; do create () { touch "$1" && chmod 644 "$1" ; } && create "$f"; done /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/bin" for i in utils/hp2ps/dist/build/tmp/hp2ps; do \ /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/bin" ; \ done /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 -d "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin" for i in inplace/lib/bin/ghc-split; do \ /data/scratch/lang/ghc80/work/.tools/bin/install -c -m 755 $i "/data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/bin"; \ done => 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... /data/scratch/lang/ghc80/work/.tools/bin/find checking for sort... /data/scratch/lang/ghc80/work/.tools/bin/sort checking for GHC Git commit id... given 8c7250379d0d2bad1d07dfd556812ff7aa2c42e8 checking for ghc... /data/scratch/lang/ghc80/work/.tools/bin/ghc checking version of ghc... 8.0.2 checking build system type... x86_64-unknown-netbsd9.99 checking host system type... x86_64-unknown-netbsd9.99 checking target system type... x86_64-unknown-netbsd9.99 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 In file included from /tmp/ghc11930_0/ghc_4.c:1:0: error: In file included from /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/Rts.h:217:0: error: /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:505:5: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:502:37: error: note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:505:31: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:37: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:505:31: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:56: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:523:5: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:502:37: error: note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:523:32: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:37: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:523:32: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:56: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:552:5: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:502:37: error: note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:552:32: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:37: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:552:32: error: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] /data/scratch/lang/ghc80/work/.tools/lib/ghc-8.0.2/include/rts/storage/ClosureMacros.h:503:56: error: note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) ^ 9 warnings generated. checking for path to top of build tree... /data/scratch/lang/ghc80/work/ghc-8.0.2 configure: Not cross-compiling, so --with-gcc also sets CC_STAGE0 checking for gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... clang -E checking for nm... /usr/bin/nm checking for objdump... /usr/bin/objdump checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for llc-3.7... no checking for llc... no checking for opt-3.7... no checking for opt... no checking for llc... no checking for opt... no checking whether #! works in shell scripts... yes checking for perl... /usr/pkg/bin/perl checking version of gcc... 10.0.0 checking whether GCC supports -no-pie... yes checking whether C compiler is clang... yes checking whether ld is GNU ld... yes checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... yes checking whether ld understands -filelist... no 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 -fno-builtin 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 pbulkXXX -g users checking for ar... (cached) ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ar supports @file... yes checking for ranlib... /usr/bin/ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /data/scratch/lang/ghc80/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... /data/scratch/lang/ghc80/work/.tools/bin/gtar checking for gpatch... no checking for patch... /data/scratch/lang/ghc80/work/.tools/bin/patch checking for dtrace... no checking for HsColour... no checking for sphinx-build... no checking for version of sphinx-build... configure: WARNING: Sphinx version 1.0.0 or later is required to build documentation checking for xelatex... no checking for ghc-pkg matching /data/scratch/lang/ghc80/work/.tools/bin/ghc... /data/scratch/lang/ghc80/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 ANSI C header files... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 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/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes 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 for sys/cpuset.h... no 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 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 ffi_call in -lffi... yes checking ffi.h usability... yes checking ffi.h presence... yes checking for ffi.h... yes checking for dlopen in -ldl... no checking for size_t... yes 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 __attribute__((visibility("hidden"))) is supported... yes checking for clock_gettime in -lrt... yes checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for a working timer_create(CLOCK_REALTIME)... yes checking for printf$LDBLStub... no checking for pthread_setname_np in -lpthread... yes checking for pthread_setname_np... 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 __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... yes checking whether MADV_DONTNEED is declared... yes 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 libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating settings config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 8.0.2 Git commit id : 8c7250379d0d2bad1d07dfd556812ff7aa2c42e8 Build platform : x86_64-unknown-netbsd Host platform : x86_64-unknown-netbsd Target platform : x86_64-unknown-netbsd Bootstrapping using : /data/scratch/lang/ghc80/work/.tools/bin/ghc which is version : 8.0.2 Using clang : clang which is version : 10.0.0 Building a cross compiler : NO hs-cpp : clang hs-cpp-flags : -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs ld : ld nm : /usr/bin/nm objdump : /usr/bin/objdump Happy : () Alex : () Perl : /usr/pkg/bin/perl sphinx-build : xelatex : Using LLVM tools llc : opt : HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: NO Tools to build Sphinx PDF documentation available: 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://ghc.haskell.org/trac/ghc/wiki/Building => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp