Help Building GHC on Windows to avoid LGPL

Hi all, I'm very new to GHC's source, but I'm trying to build a version of GHC for Windows that uses integer-simple instead of integer-gmp. My goal is to provide builds for MinGHC and stack to help alleviate the LGPL concerns on Windows: https://github.com/commercialhaskell/stack/issues/399 So far I have not met with much success. I'm following this rather well-written tutorial: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows Following those instructions exactly (I think) has brought me to a failing build. Some variables that the instructions don't pin down are as follows: I'm using the mingw64_shell on a Windows 8.1 64-bit machine. I'm trying to build the code at tag ghc-7.10.1-release and I'm using GHC 7.8.4 64-bit to do it. I've updated everything to the latest with pacman. I did not configure a mk/build.mk file. I have tried copying the sample configuration but got the same result. Is there anyone who'd be willing to help me troubleshoot? Or if you have a working setup, a stop-gap measure would be to build 32- and 64-bit versions of the last few most recent versions of GHC with integer-simple so we can use them for MinGHC and stack. Here's the last bit of what I'm seeing. Configuring base-4.8.0.0... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking build system type... x86_64-pc-mingw64 checking host system type... x86_64-pc-mingw64 checking target system type... x86_64-pc-mingw64 checking for gcc... C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe 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 C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe accepts -g... yes checking for C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe option to accept ISO C89... none needed checking for WINDOWS platform... YES checking how to run the C preprocessor... C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for long long... yes checking for ANSI C header files... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.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 for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/resource.h usability... no checking sys/resource.h presence... no checking for sys/resource.h... no checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking for sys/stat.h... (cached) yes checking sys/syscall.h usability... no checking sys/syscall.h presence... no checking for sys/syscall.h... no 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... no checking sys/times.h presence... no checking for sys/times.h... no checking for sys/types.h... (cached) yes checking sys/utsname.h usability... no checking sys/utsname.h presence... no checking for sys/utsname.h... no checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking termios.h usability... no checking termios.h presence... no checking for termios.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking winsock.h usability... yes checking winsock.h presence... yes checking for winsock.h... yes checking langinfo.h usability... no checking langinfo.h presence... no checking for langinfo.h... no checking poll.h usability... no checking poll.h presence... no checking for poll.h... no checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for iswspace... yes checking for lstat... no checking for clock_gettime in -lrt... no checking for clock_gettime... no checking for getclock... no checking for getrusage... no checking for times... no checking for _chsize... yes checking for ftruncate... yes checking for epoll_ctl... no checking for eventfd... no checking for kevent... no checking for kevent64... no checking for kqueue... no checking for poll... no checking for unsetenv... no checking return type of unsetenv... int checking Haskell type for char... Int8 checking Haskell type for signed char... Int8 checking Haskell type for unsigned char... Word8 checking Haskell type for short... Int16 checking Haskell type for unsigned short... Word16 checking Haskell type for int... Int32 checking Haskell type for unsigned int... Word32 checking Haskell type for long... Int32 checking Haskell type for unsigned long... Word32 checking Haskell type for long long... Int64 checking Haskell type for unsigned long long... Word64 checking Haskell type for float... Float checking Haskell type for double... Double checking Haskell type for ptrdiff_t... Int64 checking Haskell type for size_t... Word64 checking Haskell type for wchar_t... Word16 checking Haskell type for sig_atomic_t... Int32 checking Haskell type for clock_t... Int32 checking Haskell type for time_t... Int64 checking Haskell type for useconds_t... Word32 checking Haskell type for suseconds_t... Int32 checking Haskell type for dev_t... Word32 checking Haskell type for ino_t... Word16 checking Haskell type for mode_t... Word16 checking Haskell type for off_t... Int64 checking Haskell type for pid_t... Int64 checking Haskell type for gid_t... not supported checking Haskell type for uid_t... not supported checking Haskell type for cc_t... not supported checking Haskell type for speed_t... not supported checking Haskell type for tcflag_t... not supported checking Haskell type for nlink_t... not supported checking Haskell type for ssize_t... Int64 checking Haskell type for rlim_t... not supported checking Haskell type for intptr_t... Int64 checking Haskell type for uintptr_t... Word64 checking Haskell type for intmax_t... Int64 checking Haskell type for uintmax_t... Word64 checking value of E2BIG... 7 checking value of EACCES... 13 checking value of EADDRINUSE... -1 checking value of EADDRNOTAVAIL... -1 checking value of EADV... -1 checking value of EAFNOSUPPORT... -1 checking value of EAGAIN... 11 checking value of EALREADY... -1 checking value of EBADF... 9 checking value of EBADMSG... -1 checking value of EBADRPC... -1 checking value of EBUSY... 16 checking value of ECHILD... 10 checking value of ECOMM... -1 checking value of ECONNABORTED... -1 checking value of ECONNREFUSED... -1 checking value of ECONNRESET... -1 checking value of EDEADLK... 36 checking value of EDESTADDRREQ... -1 checking value of EDIRTY... -1 checking value of EDOM... 33 checking value of EDQUOT... -1 checking value of EEXIST... 17 checking value of EFAULT... 14 checking value of EFBIG... 27 checking value of EFTYPE... -1 checking value of EHOSTDOWN... -1 checking value of EHOSTUNREACH... -1 checking value of EIDRM... -1 checking value of EILSEQ... 42 checking value of EINPROGRESS... -1 checking value of EINTR... 4 checking value of EINVAL... 22 checking value of EIO... 5 checking value of EISCONN... -1 checking value of EISDIR... 21 checking value of ELOOP... -1 checking value of EMFILE... 24 checking value of EMLINK... 31 checking value of EMSGSIZE... -1 checking value of EMULTIHOP... -1 checking value of ENAMETOOLONG... 38 checking value of ENETDOWN... -1 checking value of ENETRESET... -1 checking value of ENETUNREACH... -1 checking value of ENFILE... 23 checking value of ENOBUFS... -1 checking value of ENODATA... -1 checking value of ENODEV... 19 checking value of ENOENT... 2 checking value of ENOEXEC... 8 checking value of ENOLCK... 39 checking value of ENOLINK... -1 checking value of ENOMEM... 12 checking value of ENOMSG... -1 checking value of ENONET... -1 checking value of ENOPROTOOPT... -1 checking value of ENOSPC... 28 checking value of ENOSR... -1 checking value of ENOSTR... -1 checking value of ENOSYS... 40 checking value of ENOTBLK... -1 checking value of ENOTCONN... -1 checking value of ENOTDIR... 20 checking value of ENOTEMPTY... 41 checking value of ENOTSOCK... -1 checking value of ENOTTY... 25 checking value of ENXIO... 6 checking value of EOPNOTSUPP... -1 checking value of EPERM... 1 checking value of EPFNOSUPPORT... -1 checking value of EPIPE... 32 checking value of EPROCLIM... -1 checking value of EPROCUNAVAIL... -1 checking value of EPROGMISMATCH... -1 checking value of EPROGUNAVAIL... -1 checking value of EPROTO... -1 checking value of EPROTONOSUPPORT... -1 checking value of EPROTOTYPE... -1 checking value of ERANGE... 34 checking value of EREMCHG... -1 checking value of EREMOTE... -1 checking value of EROFS... 30 checking value of ERPCMISMATCH... -1 checking value of ERREMOTE... -1 checking value of ESHUTDOWN... -1 checking value of ESOCKTNOSUPPORT... -1 checking value of ESPIPE... 29 checking value of ESRCH... 3 checking value of ESRMNT... -1 checking value of ESTALE... -1 checking value of ETIME... -1 checking value of ETIMEDOUT... -1 checking value of ETOOMANYREFS... -1 checking value of ETXTBSY... -1 checking value of EUSERS... -1 checking value of EWOULDBLOCK... -1 checking value of EXDEV... 18 checking value of ENOCIGAR... -1 checking value of ENOTSUP... -1 checking value of SIGINT... 2 checking value of O_BINARY... 32768 checking size of struct MD5Context... 88 configure: creating ./config.status config.status: creating base.buildinfo config.status: creating include/HsBaseConfig.h config.status: creating include/EventConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc "C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" update --force libraries/base/dist-install/inplace-pkg-config Reading package info from "libraries/base/dist-install/inplace-pkg-config" ... done. base-4.8.0.0: Warning: haddock-interfaces: C:\msys64\tmp\ghc\libraries\base\dist-install\doc\html\base\base.haddock doesn't exist or isn't a file base-4.8.0.0: cannot find any of ["Control\\Applicative.hi","Control\\Applicative.p_hi","Control\\Applicative.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Arrow.hi","Control\\Arrow.p_hi","Control\\Arrow.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Category.hi","Control\\Category.p_hi","Control\\Category.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Concurrent.hi","Control\\Concurrent.p_hi","Control\\Concurrent.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Concurrent\\Chan.hi","Control\\Concurrent\\Chan.p_hi","Control\\Concurrent\\Chan.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Concurrent\\MVar.hi","Control\\Concurrent\\MVar.p_hi","Control\\Concurrent\\MVar.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Concurrent\\QSem.hi","Control\\Concurrent\\QSem.p_hi","Control\\Concurrent\\QSem.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Concurrent\\QSemN.hi","Control\\Concurrent\\QSemN.p_hi","Control\\Concurrent\\QSemN.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Exception.hi","Control\\Exception.p_hi","Control\\Exception.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Exception\\Base.hi","Control\\Exception\\Base.p_hi","Control\\Exception\\Base.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad.hi","Control\\Monad.p_hi","Control\\Monad.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\Fix.hi","Control\\Monad\\Fix.p_hi","Control\\Monad\\Fix.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\Instances.hi","Control\\Monad\\Instances.p_hi","Control\\Monad\\Instances.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST.hi","Control\\Monad\\ST.p_hi","Control\\Monad\\ST.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Lazy.hi","Control\\Monad\\ST\\Lazy.p_hi","Control\\Monad\\ST\\Lazy.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Lazy\\Safe.hi","Control\\Monad\\ST\\Lazy\\Safe.p_hi","Control\\Monad\\ST\\Lazy\\Safe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Lazy\\Unsafe.hi","Control\\Monad\\ST\\Lazy\\Unsafe.p_hi","Control\\Monad\\ST\\Lazy\\Unsafe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Safe.hi","Control\\Monad\\ST\\Safe.p_hi","Control\\Monad\\ST\\Safe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Strict.hi","Control\\Monad\\ST\\Strict.p_hi","Control\\Monad\\ST\\Strict.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Unsafe.hi","Control\\Monad\\ST\\Unsafe.p_hi","Control\\Monad\\ST\\Unsafe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\Zip.hi","Control\\Monad\\Zip.p_hi","Control\\Monad\\Zip.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Bifunctor.hi","Data\\Bifunctor.p_hi","Data\\Bifunctor.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Bits.hi","Data\\Bits.p_hi","Data\\Bits.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Bool.hi","Data\\Bool.p_hi","Data\\Bool.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Char.hi","Data\\Char.p_hi","Data\\Char.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Coerce.hi","Data\\Coerce.p_hi","Data\\Coerce.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Complex.hi","Data\\Complex.p_hi","Data\\Complex.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Data.hi","Data\\Data.p_hi","Data\\Data.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Dynamic.hi","Data\\Dynamic.p_hi","Data\\Dynamic.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Either.hi","Data\\Either.p_hi","Data\\Either.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Eq.hi","Data\\Eq.p_hi","Data\\Eq.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Fixed.hi","Data\\Fixed.p_hi","Data\\Fixed.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Foldable.hi","Data\\Foldable.p_hi","Data\\Foldable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Function.hi","Data\\Function.p_hi","Data\\Function.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Functor.hi","Data\\Functor.p_hi","Data\\Functor.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Functor\\Identity.hi","Data\\Functor\\Identity.p_hi","Data\\Functor\\Identity.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\IORef.hi","Data\\IORef.p_hi","Data\\IORef.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Int.hi","Data\\Int.p_hi","Data\\Int.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Ix.hi","Data\\Ix.p_hi","Data\\Ix.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\List.hi","Data\\List.p_hi","Data\\List.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Maybe.hi","Data\\Maybe.p_hi","Data\\Maybe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Monoid.hi","Data\\Monoid.p_hi","Data\\Monoid.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Ord.hi","Data\\Ord.p_hi","Data\\Ord.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Proxy.hi","Data\\Proxy.p_hi","Data\\Proxy.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Ratio.hi","Data\\Ratio.p_hi","Data\\Ratio.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\STRef.hi","Data\\STRef.p_hi","Data\\STRef.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\STRef\\Lazy.hi","Data\\STRef\\Lazy.p_hi","Data\\STRef\\Lazy.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\STRef\\Strict.hi","Data\\STRef\\Strict.p_hi","Data\\STRef\\Strict.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\String.hi","Data\\String.p_hi","Data\\String.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Traversable.hi","Data\\Traversable.p_hi","Data\\Traversable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Tuple.hi","Data\\Tuple.p_hi","Data\\Tuple.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Type\\Bool.hi","Data\\Type\\Bool.p_hi","Data\\Type\\Bool.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Type\\Coercion.hi","Data\\Type\\Coercion.p_hi","Data\\Type\\Coercion.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Type\\Equality.hi","Data\\Type\\Equality.p_hi","Data\\Type\\Equality.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Typeable.hi","Data\\Typeable.p_hi","Data\\Typeable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Typeable\\Internal.hi","Data\\Typeable\\Internal.p_hi","Data\\Typeable\\Internal.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Unique.hi","Data\\Unique.p_hi","Data\\Unique.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Version.hi","Data\\Version.p_hi","Data\\Version.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Void.hi","Data\\Void.p_hi","Data\\Void.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\Word.hi","Data\\Word.p_hi","Data\\Word.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Debug\\Trace.hi","Debug\\Trace.p_hi","Debug\\Trace.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign.hi","Foreign.p_hi","Foreign.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\C.hi","Foreign\\C.p_hi","Foreign\\C.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\C\\Error.hi","Foreign\\C\\Error.p_hi","Foreign\\C\\Error.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\C\\String.hi","Foreign\\C\\String.p_hi","Foreign\\C\\String.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\C\\Types.hi","Foreign\\C\\Types.p_hi","Foreign\\C\\Types.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Concurrent.hi","Foreign\\Concurrent.p_hi","Foreign\\Concurrent.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\ForeignPtr.hi","Foreign\\ForeignPtr.p_hi","Foreign\\ForeignPtr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\ForeignPtr\\Safe.hi","Foreign\\ForeignPtr\\Safe.p_hi","Foreign\\ForeignPtr\\Safe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\ForeignPtr\\Unsafe.hi","Foreign\\ForeignPtr\\Unsafe.p_hi","Foreign\\ForeignPtr\\Unsafe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal.hi","Foreign\\Marshal.p_hi","Foreign\\Marshal.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Alloc.hi","Foreign\\Marshal\\Alloc.p_hi","Foreign\\Marshal\\Alloc.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Array.hi","Foreign\\Marshal\\Array.p_hi","Foreign\\Marshal\\Array.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Error.hi","Foreign\\Marshal\\Error.p_hi","Foreign\\Marshal\\Error.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Pool.hi","Foreign\\Marshal\\Pool.p_hi","Foreign\\Marshal\\Pool.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Safe.hi","Foreign\\Marshal\\Safe.p_hi","Foreign\\Marshal\\Safe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Unsafe.hi","Foreign\\Marshal\\Unsafe.p_hi","Foreign\\Marshal\\Unsafe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Marshal\\Utils.hi","Foreign\\Marshal\\Utils.p_hi","Foreign\\Marshal\\Utils.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Ptr.hi","Foreign\\Ptr.p_hi","Foreign\\Ptr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Safe.hi","Foreign\\Safe.p_hi","Foreign\\Safe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\StablePtr.hi","Foreign\\StablePtr.p_hi","Foreign\\StablePtr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\Storable.hi","Foreign\\Storable.p_hi","Foreign\\Storable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Arr.hi","GHC\\Arr.p_hi","GHC\\Arr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Base.hi","GHC\\Base.p_hi","GHC\\Base.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Char.hi","GHC\\Char.p_hi","GHC\\Char.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Conc.hi","GHC\\Conc.p_hi","GHC\\Conc.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Conc\\IO.hi","GHC\\Conc\\IO.p_hi","GHC\\Conc\\IO.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Conc\\Signal.hi","GHC\\Conc\\Signal.p_hi","GHC\\Conc\\Signal.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Conc\\Sync.hi","GHC\\Conc\\Sync.p_hi","GHC\\Conc\\Sync.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\ConsoleHandler.hi","GHC\\ConsoleHandler.p_hi","GHC\\ConsoleHandler.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Constants.hi","GHC\\Constants.p_hi","GHC\\Constants.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Desugar.hi","GHC\\Desugar.p_hi","GHC\\Desugar.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Enum.hi","GHC\\Enum.p_hi","GHC\\Enum.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Environment.hi","GHC\\Environment.p_hi","GHC\\Environment.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Err.hi","GHC\\Err.p_hi","GHC\\Err.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Exception.hi","GHC\\Exception.p_hi","GHC\\Exception.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Exts.hi","GHC\\Exts.p_hi","GHC\\Exts.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Fingerprint.hi","GHC\\Fingerprint.p_hi","GHC\\Fingerprint.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Fingerprint\\Type.hi","GHC\\Fingerprint\\Type.p_hi","GHC\\Fingerprint\\Type.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Float.hi","GHC\\Float.p_hi","GHC\\Float.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Float\\ConversionUtils.hi","GHC\\Float\\ConversionUtils.p_hi","GHC\\Float\\ConversionUtils.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Float\\RealFracMethods.hi","GHC\\Float\\RealFracMethods.p_hi","GHC\\Float\\RealFracMethods.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Foreign.hi","GHC\\Foreign.p_hi","GHC\\Foreign.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\ForeignPtr.hi","GHC\\ForeignPtr.p_hi","GHC\\ForeignPtr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\GHCi.hi","GHC\\GHCi.p_hi","GHC\\GHCi.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Generics.hi","GHC\\Generics.p_hi","GHC\\Generics.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO.hi","GHC\\IO.p_hi","GHC\\IO.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Buffer.hi","GHC\\IO\\Buffer.p_hi","GHC\\IO\\Buffer.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\BufferedIO.hi","GHC\\IO\\BufferedIO.p_hi","GHC\\IO\\BufferedIO.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Device.hi","GHC\\IO\\Device.p_hi","GHC\\IO\\Device.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding.hi","GHC\\IO\\Encoding.p_hi","GHC\\IO\\Encoding.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\CodePage.hi","GHC\\IO\\Encoding\\CodePage.p_hi","GHC\\IO\\Encoding\\CodePage.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\Failure.hi","GHC\\IO\\Encoding\\Failure.p_hi","GHC\\IO\\Encoding\\Failure.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\Iconv.hi","GHC\\IO\\Encoding\\Iconv.p_hi","GHC\\IO\\Encoding\\Iconv.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\Latin1.hi","GHC\\IO\\Encoding\\Latin1.p_hi","GHC\\IO\\Encoding\\Latin1.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\Types.hi","GHC\\IO\\Encoding\\Types.p_hi","GHC\\IO\\Encoding\\Types.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\UTF16.hi","GHC\\IO\\Encoding\\UTF16.p_hi","GHC\\IO\\Encoding\\UTF16.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\UTF32.hi","GHC\\IO\\Encoding\\UTF32.p_hi","GHC\\IO\\Encoding\\UTF32.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\UTF8.hi","GHC\\IO\\Encoding\\UTF8.p_hi","GHC\\IO\\Encoding\\UTF8.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Exception.hi","GHC\\IO\\Exception.p_hi","GHC\\IO\\Exception.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\FD.hi","GHC\\IO\\FD.p_hi","GHC\\IO\\FD.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Handle.hi","GHC\\IO\\Handle.p_hi","GHC\\IO\\Handle.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Handle\\FD.hi","GHC\\IO\\Handle\\FD.p_hi","GHC\\IO\\Handle\\FD.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Handle\\Internals.hi","GHC\\IO\\Handle\\Internals.p_hi","GHC\\IO\\Handle\\Internals.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Handle\\Text.hi","GHC\\IO\\Handle\\Text.p_hi","GHC\\IO\\Handle\\Text.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Handle\\Types.hi","GHC\\IO\\Handle\\Types.p_hi","GHC\\IO\\Handle\\Types.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\IOMode.hi","GHC\\IO\\IOMode.p_hi","GHC\\IO\\IOMode.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IOArray.hi","GHC\\IOArray.p_hi","GHC\\IOArray.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IORef.hi","GHC\\IORef.p_hi","GHC\\IORef.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IP.hi","GHC\\IP.p_hi","GHC\\IP.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Int.hi","GHC\\Int.p_hi","GHC\\Int.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\List.hi","GHC\\List.p_hi","GHC\\List.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\MVar.hi","GHC\\MVar.p_hi","GHC\\MVar.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Natural.hi","GHC\\Natural.p_hi","GHC\\Natural.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Num.hi","GHC\\Num.p_hi","GHC\\Num.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\OldList.hi","GHC\\OldList.p_hi","GHC\\OldList.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\PArr.hi","GHC\\PArr.p_hi","GHC\\PArr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Pack.hi","GHC\\Pack.p_hi","GHC\\Pack.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Profiling.hi","GHC\\Profiling.p_hi","GHC\\Profiling.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Ptr.hi","GHC\\Ptr.p_hi","GHC\\Ptr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Read.hi","GHC\\Read.p_hi","GHC\\Read.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Real.hi","GHC\\Real.p_hi","GHC\\Real.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\RTS\\Flags.hi","GHC\\RTS\\Flags.p_hi","GHC\\RTS\\Flags.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\ST.hi","GHC\\ST.p_hi","GHC\\ST.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\StaticPtr.hi","GHC\\StaticPtr.p_hi","GHC\\StaticPtr.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\STRef.hi","GHC\\STRef.p_hi","GHC\\STRef.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Show.hi","GHC\\Show.p_hi","GHC\\Show.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Stable.hi","GHC\\Stable.p_hi","GHC\\Stable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Stack.hi","GHC\\Stack.p_hi","GHC\\Stack.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Stats.hi","GHC\\Stats.p_hi","GHC\\Stats.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Storable.hi","GHC\\Storable.p_hi","GHC\\Storable.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\TopHandler.hi","GHC\\TopHandler.p_hi","GHC\\TopHandler.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\TypeLits.hi","GHC\\TypeLits.p_hi","GHC\\TypeLits.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Unicode.hi","GHC\\Unicode.p_hi","GHC\\Unicode.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Weak.hi","GHC\\Weak.p_hi","GHC\\Weak.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Word.hi","GHC\\Word.p_hi","GHC\\Word.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Numeric.hi","Numeric.p_hi","Numeric.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Numeric\\Natural.hi","Numeric\\Natural.p_hi","Numeric\\Natural.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Prelude.hi","Prelude.p_hi","Prelude.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\CPUTime.hi","System\\CPUTime.p_hi","System\\CPUTime.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Console\\GetOpt.hi","System\\Console\\GetOpt.p_hi","System\\Console\\GetOpt.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Environment.hi","System\\Environment.p_hi","System\\Environment.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Exit.hi","System\\Exit.p_hi","System\\Exit.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\IO.hi","System\\IO.p_hi","System\\IO.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\IO\\Error.hi","System\\IO\\Error.p_hi","System\\IO\\Error.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\IO\\Unsafe.hi","System\\IO\\Unsafe.p_hi","System\\IO\\Unsafe.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Info.hi","System\\Info.p_hi","System\\Info.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Mem.hi","System\\Mem.p_hi","System\\Mem.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Mem\\StableName.hi","System\\Mem\\StableName.p_hi","System\\Mem\\StableName.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Mem\\Weak.hi","System\\Mem\\Weak.p_hi","System\\Mem\\Weak.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Posix\\Internals.hi","System\\Posix\\Internals.p_hi","System\\Posix\\Internals.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Posix\\Types.hi","System\\Posix\\Types.p_hi","System\\Posix\\Types.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Timeout.hi","System\\Timeout.p_hi","System\\Timeout.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\ParserCombinators\\ReadP.hi","Text\\ParserCombinators\\ReadP.p_hi","Text\\ParserCombinators\\ReadP.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\ParserCombinators\\ReadPrec.hi","Text\\ParserCombinators\\ReadPrec.p_hi","Text\\ParserCombinators\\ReadPrec.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\Printf.hi","Text\\Printf.p_hi","Text\\Printf.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\Read.hi","Text\\Read.p_hi","Text\\Read.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\Read\\Lex.hi","Text\\Read\\Lex.p_hi","Text\\Read\\Lex.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\Show.hi","Text\\Show.p_hi","Text\\Show.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Text\\Show\\Functions.hi","Text\\Show\\Functions.p_hi","Text\\Show\\Functions.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Unsafe\\Coerce.hi","Unsafe\\Coerce.p_hi","Unsafe\\Coerce.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\CodePage\\API.hi","GHC\\IO\\Encoding\\CodePage\\API.p_hi","GHC\\IO\\Encoding\\CodePage\\API.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\IO\\Encoding\\CodePage\\Table.hi","GHC\\IO\\Encoding\\CodePage\\Table.p_hi","GHC\\IO\\Encoding\\CodePage\\Table.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Conc\\Windows.hi","GHC\\Conc\\Windows.p_hi","GHC\\Conc\\Windows.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["GHC\\Windows.hi","GHC\\Windows.p_hi","GHC\\Windows.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Imp.hi","Control\\Monad\\ST\\Imp.p_hi","Control\\Monad\\ST\\Imp.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Control\\Monad\\ST\\Lazy\\Imp.hi","Control\\Monad\\ST\\Lazy\\Imp.p_hi","Control\\Monad\\ST\\Lazy\\Imp.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Data\\OldList.hi","Data\\OldList.p_hi","Data\\OldList.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["Foreign\\ForeignPtr\\Imp.hi","Foreign\\ForeignPtr\\Imp.p_hi","Foreign\\ForeignPtr\\Imp.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["System\\Environment\\ExecutablePath.hi","System\\Environment\\ExecutablePath.p_hi","System\\Environment\\ExecutablePath.dyn_hi"] (ignoring) base-4.8.0.0: cannot find any of ["libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a","libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.p_a","libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv-ghc7.10.1.so","libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv-ghc7.10.1.dylib","HSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv-ghc7.10.1.dll"] on library path (ignoring) "inplace/bin/ghc-cabal.exe" check libraries/filepath "inplace/bin/ghc-cabal.exe" configure libraries/filepath dist-install "" --with-ghc="C:/msys64/tmp/ghc/inplace/bin/ghc-stage1.exe" --with-ghc-pkg="C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --enable-library-profiling --disable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --with-gcc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ld="C:/msys64/tmp/ghc/inplace/mingw/bin/ld.exe" --configure-option=--with-cc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ar="/usr/bin/ar" --with-alex="/usr/local/bin/alex" --with-happy="/usr/local/bin/happy" Configuring filepath-1.4.0.0... "C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" update --force libraries/filepath/dist-install/inplace-pkg-config Reading package info from "libraries/filepath/dist-install/inplace-pkg-config" ... done. filepath-1.4.0.0: Warning: haddock-interfaces: C:\msys64\tmp\ghc\libraries\filepath\dist-install\doc\html\filepath\filepath.haddock doesn't exist or isn't a file filepath-1.4.0.0: cannot find any of ["System\\FilePath.hi","System\\FilePath.p_hi","System\\FilePath.dyn_hi"] (ignoring) filepath-1.4.0.0: cannot find any of ["System\\FilePath\\Posix.hi","System\\FilePath\\Posix.p_hi","System\\FilePath\\Posix.dyn_hi"] (ignoring) filepath-1.4.0.0: cannot find any of ["System\\FilePath\\Windows.hi","System\\FilePath\\Windows.p_hi","System\\FilePath\\Windows.dyn_hi"] (ignoring) filepath-1.4.0.0: cannot find any of ["libHSfilepath-1.4.0.0-5HhyRonfEZoDO205Wm9E4h.a","libHSfilepath-1.4.0.0-5HhyRonfEZoDO205Wm9E4h.p_a","libHSfilepath-1.4.0.0-5HhyRonfEZoDO205Wm9E4h-ghc7.10.1.so","libHSfilepath-1.4.0.0-5HhyRonfEZoDO205Wm9E4h-ghc7.10.1.dylib","HSfilepath-1.4.0.0-5HhyRonfEZoDO205Wm9E4h-ghc7.10.1.dll"] on library path (ignoring) "inplace/bin/ghc-cabal.exe" check libraries/array "inplace/bin/ghc-cabal.exe" configure libraries/array dist-install "" --with-ghc="C:/msys64/tmp/ghc/inplace/bin/ghc-stage1.exe" --with-ghc-pkg="C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --enable-library-profiling --disable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --with-gcc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ld="C:/msys64/tmp/ghc/inplace/mingw/bin/ld.exe" --configure-option=--with-cc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ar="/usr/bin/ar" --with-alex="/usr/local/bin/alex" --with-happy="/usr/local/bin/happy" Configuring array-0.5.1.0... "C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" update --force libraries/array/dist-install/inplace-pkg-config Reading package info from "libraries/array/dist-install/inplace-pkg-config" ... done. array-0.5.1.0: Warning: haddock-interfaces: C:\msys64\tmp\ghc\libraries\array\dist-install\doc\html\array\array.haddock doesn't exist or isn't a file array-0.5.1.0: cannot find any of ["Data\\Array.hi","Data\\Array.p_hi","Data\\Array.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Base.hi","Data\\Array\\Base.p_hi","Data\\Array\\Base.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\IArray.hi","Data\\Array\\IArray.p_hi","Data\\Array\\IArray.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\IO.hi","Data\\Array\\IO.p_hi","Data\\Array\\IO.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\IO\\Safe.hi","Data\\Array\\IO\\Safe.p_hi","Data\\Array\\IO\\Safe.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\IO\\Internals.hi","Data\\Array\\IO\\Internals.p_hi","Data\\Array\\IO\\Internals.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\MArray.hi","Data\\Array\\MArray.p_hi","Data\\Array\\MArray.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\MArray\\Safe.hi","Data\\Array\\MArray\\Safe.p_hi","Data\\Array\\MArray\\Safe.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\ST.hi","Data\\Array\\ST.p_hi","Data\\Array\\ST.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\ST\\Safe.hi","Data\\Array\\ST\\Safe.p_hi","Data\\Array\\ST\\Safe.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Storable.hi","Data\\Array\\Storable.p_hi","Data\\Array\\Storable.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Storable\\Safe.hi","Data\\Array\\Storable\\Safe.p_hi","Data\\Array\\Storable\\Safe.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Storable\\Internals.hi","Data\\Array\\Storable\\Internals.p_hi","Data\\Array\\Storable\\Internals.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Unboxed.hi","Data\\Array\\Unboxed.p_hi","Data\\Array\\Unboxed.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["Data\\Array\\Unsafe.hi","Data\\Array\\Unsafe.p_hi","Data\\Array\\Unsafe.dyn_hi"] (ignoring) array-0.5.1.0: cannot find any of ["libHSarray-0.5.1.0-FaHmcBFfuRM8kmZLEY8D5S.a","libHSarray-0.5.1.0-FaHmcBFfuRM8kmZLEY8D5S.p_a","libHSarray-0.5.1.0-FaHmcBFfuRM8kmZLEY8D5S-ghc7.10.1.so","libHSarray-0.5.1.0-FaHmcBFfuRM8kmZLEY8D5S-ghc7.10.1.dylib","HSarray-0.5.1.0-FaHmcBFfuRM8kmZLEY8D5S-ghc7.10.1.dll"] on library path (ignoring) "inplace/bin/ghc-cabal.exe" check libraries/deepseq "inplace/bin/ghc-cabal.exe" configure libraries/deepseq dist-install "" --with-ghc="C:/msys64/tmp/ghc/inplace/bin/ghc-stage1.exe" --with-ghc-pkg="C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --enable-library-profiling --disable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --with-gcc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ld="C:/msys64/tmp/ghc/inplace/mingw/bin/ld.exe" --configure-option=--with-cc="C:/msys64/tmp/ghc/inplace/mingw/bin/gcc.exe" --with-ar="/usr/bin/ar" --with-alex="/usr/local/bin/alex" --with-happy="/usr/local/bin/happy" Configuring deepseq-1.4.1.1... "C:/msys64/tmp/ghc/inplace/bin/ghc-pkg.exe" update --force libraries/deepseq/dist-install/inplace-pkg-config Reading package info from "libraries/deepseq/dist-install/inplace-pkg-config" ... done. deepseq-1.4.1.1: Warning: haddock-interfaces: C:\msys64\tmp\ghc\libraries\deepseq\dist-install\doc\html\deepseq\deepseq.haddock doesn't exist or isn't a file deepseq-1.4.1.1: cannot find any of ["Control\\DeepSeq.hi","Control\\DeepSeq.p_hi","Control\\DeepSeq.dyn_hi"] (ignoring) deepseq-1.4.1.1: cannot find any of ["libHSdeepseq-1.4.1.1-FpR4obOZALU1lutWnrBldi.a","libHSdeepseq-1.4.1.1-FpR4obOZALU1lutWnrBldi.p_a","libHSdeepseq-1.4.1.1-FpR4obOZALU1lutWnrBldi-ghc7.10.1.so","libHSdeepseq-1.4.1.1-FpR4obOZALU1lutWnrBldi-ghc7.10.1.dylib","HSdeepseq-1.4.1.1-FpR4obOZALU1lutWnrBldi-ghc7.10.1.dll"] on library path (ignoring) "inplace/bin/ghc-cabal.exe" check libraries/bytestring 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. libraries/bytestring/ghc.mk:4: recipe for target 'libraries/bytestring/dist-install/package-data.mk' failed make[1]: *** [libraries/bytestring/dist-install/package-data.mk] Error 1 Makefile:71: recipe for target 'all' failed make: *** [all] Error 2

Excerpts from Elliot Cameron's message of 2015-06-30 20:19:40 -0700:
"inplace/bin/ghc-cabal.exe" check libraries/bytestring 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. libraries/bytestring/ghc.mk:4: recipe for target 'libraries/bytestring/dist-install/package-data.mk' failed make[1]: *** [libraries/bytestring/dist-install/package-data.mk] Error 1 Makefile:71: recipe for target 'all' failed make: *** [all] Error 2
We fixed this error (it was ghc-cabal not being sufficiently updated to handle some new Cabal behavior) but I'm surprised your build is failing because of it, because 7.10.1's shipped Cabal should not be tickling this bug. You have a few options: 1. Try again with a source distribution, since I suspect your submodules are not in order, or 2. Cherry pick 14652b519eca12411e92c28cd06de32612b0973a onto your branch, which fixes the bug. Edward

Thank you very much for the help. So far I have been able to get a 32-bit build to finish, but it is unable to compile anything (I get incorrect register errors). I'll try option #2 that you suggested. In the meantime, would anyone be willing to build 32-bit versions of 7.8.4 and 7.10.1 using integer-simple (for Windows, of course)? Someone has already provided 64-bit builds for both of those releases. It will take me some time to get the hang of this. Once I do, I can start building older and newer versions, although it seems (hopefully!) that the next release might not need this special treatment to get away from integer-gmp. Elliot Cameron -----Original Message----- From: Edward Z. Yang [mailto:ezyang@mit.edu] Sent: Wednesday, July 1, 2015 12:52 AM To: Elliot Cameron Cc: ghc-devs@haskell.org Subject: Re: Help Building GHC on Windows to avoid LGPL Excerpts from Elliot Cameron's message of 2015-06-30 20:19:40 -0700:
"inplace/bin/ghc-cabal.exe" check libraries/bytestring 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. libraries/bytestring/ghc.mk:4: recipe for target 'libraries/bytestring/dist-install/package-data.mk' failed make[1]: *** [libraries/bytestring/dist-install/package-data.mk] Error 1 Makefile:71: recipe for target 'all' failed make: *** [all] Error 2
We fixed this error (it was ghc-cabal not being sufficiently updated to handle some new Cabal behavior) but I'm surprised your build is failing because of it, because 7.10.1's shipped Cabal should not be tickling this bug. You have a few options: 1. Try again with a source distribution, since I suspect your submodules are not in order, or 2. Cherry pick 14652b519eca12411e92c28cd06de32612b0973a onto your branch, which fixes the bug. Edward
participants (2)
-
Edward Z. Yang
-
Elliot Cameron