Skip to content

Instantly share code, notes, and snippets.

@elieux
Created October 16, 2014 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elieux/2b2a074e03005f7754d6 to your computer and use it in GitHub Desktop.
Save elieux/2b2a074e03005f7754d6 to your computer and use it in GitHub Desktop.
ghc build
Creating libraries/array/ghc.mk
Creating libraries/array/GNUmakefile
Creating libraries/base/ghc.mk
Creating libraries/base/GNUmakefile
Creating libraries/bin-package-db/ghc.mk
Creating libraries/bin-package-db/GNUmakefile
Creating libraries/binary/ghc.mk
Creating libraries/binary/GNUmakefile
Creating libraries/bytestring/ghc.mk
Creating libraries/bytestring/GNUmakefile
Creating libraries/Cabal/Cabal/ghc.mk
Creating libraries/Cabal/Cabal/GNUmakefile
Creating libraries/containers/ghc.mk
Creating libraries/containers/GNUmakefile
Creating libraries/deepseq/ghc.mk
Creating libraries/deepseq/GNUmakefile
Creating libraries/directory/ghc.mk
Creating libraries/directory/GNUmakefile
Creating libraries/filepath/ghc.mk
Creating libraries/filepath/GNUmakefile
Creating libraries/ghc-prim/ghc.mk
Creating libraries/ghc-prim/GNUmakefile
Creating libraries/haskeline/ghc.mk
Creating libraries/haskeline/GNUmakefile
Creating libraries/haskell2010/ghc.mk
Creating libraries/haskell2010/GNUmakefile
Creating libraries/haskell98/ghc.mk
Creating libraries/haskell98/GNUmakefile
Creating libraries/hoopl/ghc.mk
Creating libraries/hoopl/GNUmakefile
Creating libraries/hpc/ghc.mk
Creating libraries/hpc/GNUmakefile
Creating libraries/integer-gmp/ghc.mk
Creating libraries/integer-gmp/GNUmakefile
Creating libraries/integer-simple/ghc.mk
Creating libraries/integer-simple/GNUmakefile
Creating libraries/old-locale/ghc.mk
Creating libraries/old-locale/GNUmakefile
Creating libraries/old-time/ghc.mk
Creating libraries/old-time/GNUmakefile
Creating libraries/pretty/ghc.mk
Creating libraries/pretty/GNUmakefile
Creating libraries/process/ghc.mk
Creating libraries/process/GNUmakefile
Creating libraries/template-haskell/ghc.mk
Creating libraries/template-haskell/GNUmakefile
Creating libraries/terminfo/ghc.mk
Creating libraries/terminfo/GNUmakefile
Creating libraries/time/ghc.mk
Creating libraries/time/GNUmakefile
Creating libraries/transformers/ghc.mk
Creating libraries/transformers/GNUmakefile
Creating libraries/unix/ghc.mk
Creating libraries/unix/GNUmakefile
Creating libraries/Win32/ghc.mk
Creating libraries/Win32/GNUmakefile
Creating libraries/xhtml/ghc.mk
Creating libraries/xhtml/GNUmakefile
Booting .
Booting libraries/base/
Booting libraries/directory/
Booting libraries/integer-gmp/
Booting libraries/old-time/
Booting libraries/process/
Booting libraries/terminfo/
Booting libraries/time/
Booting libraries/unix/
patching file configure
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for ghc... /d/applications/ghc.x64/bin/ghc
checking version of ghc... 7.6.3
GHC path canonicalised to: d:/applications/ghc.x64/bin/ghc
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
GHC build : x86_64-unknown-mingw32
GHC host : x86_64-unknown-mingw32
GHC target : x86_64-unknown-mingw32
configure: Building in-tree ghc-pwd
checking for path to top of build tree... W:/temporary/development/mingw-packages/mingw-w64-ghc/src/ghc-7.8.3
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
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 x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -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 ffi_call in -lffi... yes
checking ffi.h usability... yes
checking ffi.h presence... no
configure: WARNING: ffi.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ffi.h: proceeding with the compiler's result
checking for ffi.h... yes
checking for gcc... /mingw64/bin/gcc
checking for ld... /mingw64/bin/ld
checking for nm... /mingw64/bin/nm
checking for ar... /mingw64/bin/ar
checking for ranlib... /mingw64/bin/ranlib
checking for objdump... /mingw64/bin/objdump
checking for llc... /mingw64/bin/llc
checking for opt... /mingw64/bin/opt
checking whether #! works in shell scripts... yes
checking for perl... /mingw64/bin/perl
checking version of gcc... 4.9.1
checking whether C compiler is clang... no
checking whether C compiler has an LLVM back end... no
checking whether ld is GNU ld... yes
checking whether ld understands --build-id... no
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
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... no
checking for a working context diff... diff -U 1
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... /mingw64/bin/ar
checking whether /mingw64/bin/ar is GNU ar... yes
checking for ar arguments... q
checking whether /mingw64/bin/ar supports @file... yes
checking for x86_64-w64-mingw32-ranlib... /mingw64/bin/ranlib
checking whether ln -s works... no, using cp -pR
checking for gsed... no
checking for sed... /usr/bin/sed
checking for time... no
checking for gnutar... no
checking for gtar... no
checking for tar... /usr/bin/tar
checking for gpatch... no
checking for patch... /usr/bin/patch
checking for dtrace... no
checking for HsColour... no
checking for xmllint... /mingw64/bin/xmllint
checking for DocBook DTD... I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
conftest.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
]>
^
conftest.xml:6: element book: validity error : No declaration for attribute id of element book
<book id="test">
^
conftest-book.xml:2: parser error : Entity 'ldquo' not defined
<title>A DocBook &ldquo;Test Document&rdquo;</title>
^
conftest-book.xml:2: parser error : Entity 'rdquo' not defined
<title>A DocBook &ldquo;Test Document&rdquo;</title>
^
conftest-book.xml:11: parser error : chunk is not well balanced
^
conftest.xml:7: parser error : Failure to process entity conftest-book
&conftest-book;
^
conftest.xml:7: parser error : Entity 'conftest-book' not defined
&conftest-book;
^
failed
configure: WARNING: cannot find a DTD for DocBook XML V4.5, you will not be able to validate your documentation
configure: WARNING: check your XML_CATALOG_FILES environment variable and/or /etc/xml/catalog
checking for xsltproc... /mingw64/bin/xsltproc
checking for DocBook XSL stylesheet... no
configure: WARNING: cannot find DocBook XSL stylesheets, you will not be able to build the documentation
checking for dblatex... no
configure: WARNING: cannot find dblatex in your PATH, you will not be able to build the PDF and PS documentation
checking for ghc-pkg matching d:/applications/ghc.x64/bin/ghc... d:/applications/ghc.x64/bin/ghc-pkg
checking for happy... /c/Users/mac0089/AppData/Roaming/cabal/bin/happy
checking for version of happy... 1.19.4
checking for alex... /c/Users/mac0089/AppData/Roaming/cabal/bin/alex
checking for version of alex... 3.1.3
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... 64
checking bfd.h usability... no
checking bfd.h presence... no
checking for bfd.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
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... no
checking grp.h presence... no
checking for grp.h... no
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... no
checking nlist.h presence... no
checking for nlist.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... no
checking pwd.h presence... no
checking for pwd.h... no
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... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
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 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 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 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 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... 4
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... 4
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... 4
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... 4
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... yes
checking for GetModuleFileName... yes
checking return type of signal handlers... void
checking for getclock... no
checking for getrusage... no
checking for gettimeofday... yes
checking for setitimer... no
checking for siginterrupt... no
checking for sysconf... no
checking for times... no
checking for ctime_r... no
checking for sched_setaffinity... no
checking for setlocale... yes
checking whether ctime_r is declared... no
checking for closedir in -lmingwex... yes
checking for atan in -lm... yes
checking for xmalloc in -liberty... no
checking for bfd_uncompress_section_contents in -lbfd... no
checking for dlopen in -ldl... no
checking for 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... no
checking for vfork... no
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... no
checking leading underscore in symbol names... no
checking whether __attribute__((visibility("hidden"))) is supported... no
checking for clock_gettime in -lrt... no
checking for clock_gettime... yes
checking for timer_settime... no
checking for timer_create... no
checking for printf$LDBLStub... no
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking for eventfd... no
checking for __thread support... yes
checking for PAPI_library_init in -lpapi... no
checking papi.h usability... no
checking papi.h presence... no
checking for papi.h... no
checking for __mingw_vfprintf... 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 settings
config.status: creating docs/users_guide/ug-book.xml
config.status: creating docs/users_guide/ug-ent.xml
config.status: creating docs/index.html
config.status: creating libraries/prologue.txt
config.status: creating distrib/configure.ac
config.status: creating mk/config.h
----------------------------------------------------------------------
Configure completed successfully.
Building GHC version : 7.8.3
Build platform : x86_64-unknown-mingw32
Host platform : x86_64-unknown-mingw32
Target platform : x86_64-unknown-mingw32
Bootstrapping using : d:/applications/ghc.x64/bin/ghc
which is version : 7.6.3
Using gcc : /mingw64/bin/gcc
which is version : 4.9.1
Building a cross compiler : NO
cpp : /mingw64/bin/gcc
cpp-flags : -E -undef -traditional
ld : /mingw64/bin/ld
Happy : /c/Users/mac0089/AppData/Roaming/cabal/bin/happy (1.19.4)
Alex : /c/Users/mac0089/AppData/Roaming/cabal/bin/alex (3.1.3)
Perl : /mingw64/bin/perl
dblatex :
xsltproc : /mingw64/bin/xsltproc
Using LLVM tools
llc : /mingw64/bin/llc
opt : /mingw64/bin/opt
HsColour was not found; documentation will not contain source links
Building DocBook HTML documentation : NO
Building DocBook PS documentation : NO
Building DocBook PDF documentation : NO
----------------------------------------------------------------------
For a standard build of GHC (fully optimised with profiling), type (g)make.
To make changes to the default build configuration, copy the file
mk/build.mk.sample to mk/build.mk, and edit the settings in there.
For more information on how to configure your GHC build, see
http://ghc.haskell.org/trac/ghc/wiki/Building
+ test -f mk/config.mk.old
+ cp -p mk/config.mk mk/config.mk.old
touch -r mk/config.mk.old mk/config.mk
+ test -f mk/project.mk.old
+ cp -p mk/project.mk mk/project.mk.old
touch -r mk/project.mk.old mk/project.mk
+ test -f compiler/ghc.cabal.old
+ cp -p compiler/ghc.cabal compiler/ghc.cabal.old
touch -r compiler/ghc.cabal.old compiler/ghc.cabal
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such file or directory
libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/package-data.mk: No such file or directory
libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-boot/package-data.mk: No such file or directory
libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/package-data.mk: No such file or directory
libraries/transformers/ghc.mk:3: libraries/transformers/dist-boot/package-data.mk: No such file or directory
compiler/ghc.mk:639: compiler/stage1/package-data.mk: No such file or directory
utils/hsc2hs/ghc.mk:15: utils/hsc2hs/dist/package-data.mk: No such file or directory
utils/ghc-pkg/ghc.mk:46: utils/ghc-pkg/dist/package-data.mk: No such file or directory
ghc/ghc.mk:114: ghc/stage1/package-data.mk: No such file or directory
mkdir inplace
mkdir inplace/bin
mkdir inplace/lib
"rm" -f inplace/bin/mkdirhier
echo '#!/bin/sh' >> inplace/bin/mkdirhier
cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier
chmod +x inplace/bin/mkdirhier
"inplace/bin/mkdirhier" utils/touchy/dist/build//.
"inplace/bin/mkdirhier" utils/touchy/dist/build/tmp//.
"inplace/bin/mkdirhier" inplace/lib//.
"inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//.
"inplace/bin/mkdirhier" bootstrapping/.
"inplace/bin/mkdirhier" inplace/bin//.
"inplace/bin/mkdirhier" compiler/stage1/build//.
"inplace/bin/mkdirhier" utils/ghc-pkg/dist/build//.
"d:/applications/ghc.x64/bin/ghc.exe" -optc-fno-stack-protector -static -O -H64m -package-db libraries/bootstrapping.conf -i -iutils/touchy/. -iutils/touchy/dist/build -iutils/touchy/dist/build/autogen -Iutils/touchy/dist/build -Iutils/touchy/dist/build/autogen -no-user-package-db -rtsopts -c utils/touchy/touchy.c -o utils/touchy/dist/build/touchy.o
"rm" -f compiler/stage1/build/Config.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
Creating compiler/stage1/build/Config.hs ...
echo "version = \"7.8.3\"" >> utils/ghc-pkg/dist/build/Version.hs
echo "targetOS = \"mingw32\"" >> utils/ghc-pkg/dist/build/Version.hs
echo "targetARCH = \"x86_64\"" >> utils/ghc-pkg/dist/build/Version.hs
"d:/applications/ghc.x64/bin/ghc.exe" -o utils/touchy/dist/build/tmp/touchy -hisuf hi -osuf o -hcsuf hc -static -O -H64m -package-db libraries/bootstrapping.conf -i -iutils/touchy/. -iutils/touchy/dist/build -iutils/touchy/dist/build/autogen -Iutils/touchy/dist/build -Iutils/touchy/dist/build/autogen -no-user-package-db -rtsopts -odir utils/touchy/dist/build -hidir utils/touchy/dist/build -stubdir utils/touchy/dist/build -static -O -H64m -package-db libraries/bootstrapping.conf -i -iutils/touchy/. -iutils/touchy/dist/build -iutils/touchy/dist/build/autogen -Iutils/touchy/dist/build -Iutils/touchy/dist/build/autogen -no-user-package-db -rtsopts -no-auto-link-packages -no-hs-main utils/touchy/dist/build/touchy.o
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
Call hs_init_ghc() from your main() function to set these options.
"cp" -p utils/touchy/dist/build/tmp/touchy inplace/lib/touchy
"d:/applications/ghc.x64/bin/ghc.exe" -O -H64m \
-optc-fno-stack-protector \
\
--make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \
-no-user-package-db \
-Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \
-DCABAL_VERSION=1,18,1,3 \
-DBOOTSTRAPPING \
-odir bootstrapping \
-hidir bootstrapping \
-ilibraries/Cabal/Cabal \
-ilibraries/filepath \
-ilibraries/hpc \
done.
[ 1 of 73] Compiling Distribution.PackageDescription.Utils ( libraries\Cabal\Cabal\Distribution\PackageDescription\Utils.hs, bootstrapping\Distribution\PackageDescription\Utils.o )
[ 2 of 73] Compiling Distribution.Compat.Environment ( libraries\Cabal\Cabal\Distribution\Compat\Environment.hs, bootstrapping\Distribution\Compat\Environment.o )
[ 3 of 73] Compiling System.FilePath.Windows ( libraries\filepath\System\FilePath\Windows.hs, bootstrapping\System\FilePath\Windows.o )
[ 4 of 73] Compiling System.FilePath.Posix ( libraries\filepath\System\FilePath\Posix.hs, bootstrapping\System\FilePath\Posix.o )
[ 5 of 73] Compiling Distribution.Compat.Exception ( libraries\Cabal\Cabal\Distribution\Compat\Exception.hs, bootstrapping\Distribution\Compat\Exception.o )
[ 6 of 73] Compiling Distribution.GetOpt ( libraries\Cabal\Cabal\Distribution\GetOpt.hs, bootstrapping\Distribution\GetOpt.o )
[ 7 of 73] Compiling Distribution.Compat.ReadP ( libraries\Cabal\Cabal\Distribution\Compat\ReadP.hs, bootstrapping\Distribution\Compat\ReadP.o )
[ 8 of 73] Compiling Distribution.TestSuite ( libraries\Cabal\Cabal\Distribution\TestSuite.hs, bootstrapping\Distribution\TestSuite.o )
[ 9 of 73] Compiling Distribution.Simple.PreProcess.Unlit ( libraries\Cabal\Cabal\Distribution\Simple\PreProcess\Unlit.hs, bootstrapping\Distribution\Simple\PreProcess\Unlit.o )
[10 of 73] Compiling Distribution.ReadE ( libraries\Cabal\Cabal\Distribution\ReadE.hs, bootstrapping\Distribution\ReadE.o )
[11 of 73] Compiling System.FilePath ( libraries\filepath\System\FilePath.hs, bootstrapping\System\FilePath.o )
[12 of 73] Compiling Distribution.Compat.TempFile ( libraries\Cabal\Cabal\Distribution\Compat\TempFile.hs, bootstrapping\Distribution\Compat\TempFile.o )
[13 of 73] Compiling Distribution.Compat.CopyFile ( libraries\Cabal\Cabal\Distribution\Compat\CopyFile.hs, bootstrapping\Distribution\Compat\CopyFile.o )
[14 of 73] Compiling Distribution.Simple.CCompiler ( libraries\Cabal\Cabal\Distribution\Simple\CCompiler.hs, bootstrapping\Distribution\Simple\CCompiler.o )
[15 of 73] Compiling Distribution.Verbosity ( libraries\Cabal\Cabal\Distribution\Verbosity.hs, bootstrapping\Distribution\Verbosity.o )
[16 of 73] Compiling Distribution.Text ( libraries\Cabal\Cabal\Distribution\Text.hs, bootstrapping\Distribution\Text.o )
[17 of 73] Compiling Distribution.Version ( libraries\Cabal\Cabal\Distribution\Version.hs, bootstrapping\Distribution\Version.o )
libraries\Cabal\Cabal\Distribution\Version.hs:126:1: Warning:
Orphan instance: instance Data Version
[18 of 73] Compiling Distribution.Compiler ( libraries\Cabal\Cabal\Distribution\Compiler.hs, bootstrapping\Distribution\Compiler.o )
[19 of 73] Compiling Distribution.License ( libraries\Cabal\Cabal\Distribution\License.hs, bootstrapping\Distribution\License.o )
[20 of 73] Compiling Distribution.Package ( libraries\Cabal\Cabal\Distribution\Package.hs, bootstrapping\Distribution\Package.o )
[21 of 73] Compiling Language.Haskell.Extension ( libraries\Cabal\Cabal\Language\Haskell\Extension.hs, bootstrapping\Language\Haskell\Extension.o )
[22 of 73] Compiling Distribution.Simple.Compiler ( libraries\Cabal\Cabal\Distribution\Simple\Compiler.hs, bootstrapping\Distribution\Simple\Compiler.o )
[23 of 73] Compiling Distribution.System ( libraries\Cabal\Cabal\Distribution\System.hs, bootstrapping\Distribution\System.o )
[24 of 73] Compiling Distribution.Simple.InstallDirs ( libraries\Cabal\Cabal\Distribution\Simple\InstallDirs.hs, bootstrapping\Distribution\Simple\InstallDirs.o )
libraries\Cabal\Cabal\Distribution\Simple\InstallDirs.hs:580:1: Warning:
the 'stdcall' calling convention is unsupported on this platform,
treating as ccall
When checking declaration:
foreign import stdcall unsafe "static shlobj.h SHGetFolderPathW" c_SHGetFolderPath
:: Ptr () -> CInt -> Ptr () -> CInt -> CWString -> IO CInt
[25 of 73] Compiling Distribution.ModuleName ( libraries\Cabal\Cabal\Distribution\ModuleName.hs, bootstrapping\Distribution\ModuleName.o )
[26 of 73] Compiling Distribution.PackageDescription ( libraries\Cabal\Cabal\Distribution\PackageDescription.hs, bootstrapping\Distribution\PackageDescription.o )
[27 of 73] Compiling Distribution.Simple.Utils ( libraries\Cabal\Cabal\Distribution\Simple\Utils.hs, bootstrapping\Distribution\Simple\Utils.o )
[28 of 73] Compiling Distribution.PackageDescription.Configuration ( libraries\Cabal\Cabal\Distribution\PackageDescription\Configuration.hs, bootstrapping\Distribution\PackageDescription\Configuration.o )
[29 of 73] Compiling Distribution.PackageDescription.Check ( libraries\Cabal\Cabal\Distribution\PackageDescription\Check.hs, bootstrapping\Distribution\PackageDescription\Check.o )
[30 of 73] Compiling Distribution.Simple.Program.Find ( libraries\Cabal\Cabal\Distribution\Simple\Program\Find.hs, bootstrapping\Distribution\Simple\Program\Find.o )
[31 of 73] Compiling Distribution.Simple.Program.Types ( libraries\Cabal\Cabal\Distribution\Simple\Program\Types.hs, bootstrapping\Distribution\Simple\Program\Types.o )
[32 of 73] Compiling Distribution.Simple.Program.Builtin ( libraries\Cabal\Cabal\Distribution\Simple\Program\Builtin.hs, bootstrapping\Distribution\Simple\Program\Builtin.o )
[33 of 73] Compiling Distribution.Simple.Program.Db ( libraries\Cabal\Cabal\Distribution\Simple\Program\Db.hs, bootstrapping\Distribution\Simple\Program\Db.o )
[34 of 73] Compiling Distribution.Simple.Program.Run ( libraries\Cabal\Cabal\Distribution\Simple\Program\Run.hs, bootstrapping\Distribution\Simple\Program\Run.o )
[35 of 73] Compiling Distribution.Simple.Program ( libraries\Cabal\Cabal\Distribution\Simple\Program.hs, bootstrapping\Distribution\Simple\Program.o )
[36 of 73] Compiling Distribution.Simple.Program.Ar ( libraries\Cabal\Cabal\Distribution\Simple\Program\Ar.hs, bootstrapping\Distribution\Simple\Program\Ar.o )
[37 of 73] Compiling Distribution.Simple.Program.Ld ( libraries\Cabal\Cabal\Distribution\Simple\Program\Ld.hs, bootstrapping\Distribution\Simple\Program\Ld.o )
[38 of 73] Compiling Distribution.Simple.Program.Script ( libraries\Cabal\Cabal\Distribution\Simple\Program\Script.hs, bootstrapping\Distribution\Simple\Program\Script.o )
[39 of 73] Compiling Distribution.ParseUtils ( libraries\Cabal\Cabal\Distribution\ParseUtils.hs, bootstrapping\Distribution\ParseUtils.o )
[40 of 73] Compiling Distribution.PackageDescription.Parse ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parse.hs, bootstrapping\Distribution\PackageDescription\Parse.o )
[41 of 73] Compiling Distribution.InstalledPackageInfo ( libraries\Cabal\Cabal\Distribution\InstalledPackageInfo.hs, bootstrapping\Distribution\InstalledPackageInfo.o )
[42 of 73] Compiling Distribution.Simple.Program.HcPkg ( libraries\Cabal\Cabal\Distribution\Simple\Program\HcPkg.hs, bootstrapping\Distribution\Simple\Program\HcPkg.o )
[43 of 73] Compiling Distribution.Simple.PackageIndex ( libraries\Cabal\Cabal\Distribution\Simple\PackageIndex.hs, bootstrapping\Distribution\Simple\PackageIndex.o )
[44 of 73] Compiling Distribution.Simple.Command ( libraries\Cabal\Cabal\Distribution\Simple\Command.hs, bootstrapping\Distribution\Simple\Command.o )
[45 of 73] Compiling Distribution.Simple.Setup ( libraries\Cabal\Cabal\Distribution\Simple\Setup.hs, bootstrapping\Distribution\Simple\Setup.o )
[46 of 73] Compiling Distribution.Simple.LocalBuildInfo ( libraries\Cabal\Cabal\Distribution\Simple\LocalBuildInfo.hs, bootstrapping\Distribution\Simple\LocalBuildInfo.o )
[47 of 73] Compiling Distribution.Simple.Build.Macros ( libraries\Cabal\Cabal\Distribution\Simple\Build\Macros.hs, bootstrapping\Distribution\Simple\Build\Macros.o )
[48 of 73] Compiling Distribution.Simple.BuildPaths ( libraries\Cabal\Cabal\Distribution\Simple\BuildPaths.hs, bootstrapping\Distribution\Simple\BuildPaths.o )
[49 of 73] Compiling Distribution.Simple.Build.PathsModule ( libraries\Cabal\Cabal\Distribution\Simple\Build\PathsModule.hs, bootstrapping\Distribution\Simple\Build\PathsModule.o )
[50 of 73] Compiling Distribution.Simple.JHC ( libraries\Cabal\Cabal\Distribution\Simple\JHC.hs, bootstrapping\Distribution\Simple\JHC.o )
[51 of 73] Compiling Distribution.Simple.UHC ( libraries\Cabal\Cabal\Distribution\Simple\UHC.hs, bootstrapping\Distribution\Simple\UHC.o )
[52 of 73] Compiling Distribution.Simple.LHC ( libraries\Cabal\Cabal\Distribution\Simple\LHC.hs, bootstrapping\Distribution\Simple\LHC.o )
[53 of 73] Compiling Distribution.Simple.NHC ( libraries\Cabal\Cabal\Distribution\Simple\NHC.hs, bootstrapping\Distribution\Simple\NHC.o )
[54 of 73] Compiling Distribution.Simple.Program.GHC ( libraries\Cabal\Cabal\Distribution\Simple\Program\GHC.hs, bootstrapping\Distribution\Simple\Program\GHC.o )
[55 of 73] Compiling Distribution.Simple.Program.Hpc ( libraries\Cabal\Cabal\Distribution\Simple\Program\Hpc.hs, bootstrapping\Distribution\Simple\Program\Hpc.o )
[56 of 73] Compiling Distribution.Simple.Hpc ( libraries\Cabal\Cabal\Distribution\Simple\Hpc.hs, bootstrapping\Distribution\Simple\Hpc.o )
[57 of 73] Compiling Distribution.Simple.Test ( libraries\Cabal\Cabal\Distribution\Simple\Test.hs, bootstrapping\Distribution\Simple\Test.o )
[58 of 73] Compiling Distribution.Simple.PreProcess ( libraries\Cabal\Cabal\Distribution\Simple\PreProcess.hs, bootstrapping\Distribution\Simple\PreProcess.o )
[59 of 73] Compiling Distribution.Simple.Hugs ( libraries\Cabal\Cabal\Distribution\Simple\Hugs.hs, bootstrapping\Distribution\Simple\Hugs.o )
[60 of 73] Compiling Distribution.Simple.SrcDist ( libraries\Cabal\Cabal\Distribution\Simple\SrcDist.hs, bootstrapping\Distribution\Simple\SrcDist.o )
[61 of 73] Compiling Distribution.Simple.UserHooks ( libraries\Cabal\Cabal\Distribution\Simple\UserHooks.hs, bootstrapping\Distribution\Simple\UserHooks.o )
[62 of 73] Compiling Distribution.Simple.Bench ( libraries\Cabal\Cabal\Distribution\Simple\Bench.hs, bootstrapping\Distribution\Simple\Bench.o )
[63 of 73] Compiling Distribution.Simple.GHC.IPI642 ( libraries\Cabal\Cabal\Distribution\Simple\GHC\IPI642.hs, bootstrapping\Distribution\Simple\GHC\IPI642.o )
[64 of 73] Compiling Distribution.Simple.GHC.IPI641 ( libraries\Cabal\Cabal\Distribution\Simple\GHC\IPI641.hs, bootstrapping\Distribution\Simple\GHC\IPI641.o )
[65 of 73] Compiling Distribution.Simple.GHC ( libraries\Cabal\Cabal\Distribution\Simple\GHC.hs, bootstrapping\Distribution\Simple\GHC.o )
[66 of 73] Compiling Distribution.Simple.Configure ( libraries\Cabal\Cabal\Distribution\Simple\Configure.hs, bootstrapping\Distribution\Simple\Configure.o )
[67 of 73] Compiling Distribution.Simple.Register ( libraries\Cabal\Cabal\Distribution\Simple\Register.hs, bootstrapping\Distribution\Simple\Register.o )
[68 of 73] Compiling Distribution.Simple.Install ( libraries\Cabal\Cabal\Distribution\Simple\Install.hs, bootstrapping\Distribution\Simple\Install.o )
[69 of 73] Compiling Distribution.Simple.BuildTarget ( libraries\Cabal\Cabal\Distribution\Simple\BuildTarget.hs, bootstrapping\Distribution\Simple\BuildTarget.o )
[70 of 73] Compiling Distribution.Simple.Build ( libraries\Cabal\Cabal\Distribution\Simple\Build.hs, bootstrapping\Distribution\Simple\Build.o )
[71 of 73] Compiling Distribution.Simple.Haddock ( libraries\Cabal\Cabal\Distribution\Simple\Haddock.hs, bootstrapping\Distribution\Simple\Haddock.o )
[72 of 73] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )
[73 of 73] Compiling Main ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )
Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...
"inplace/lib/touchy" utils/ghc-cabal/dist/build/tmp/ghc-cabal
"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal
"inplace/bin/ghc-cabal" configure libraries/Cabal/Cabal dist-boot "" --with-ghc="d:/applications/ghc.x64/bin/ghc.exe" --with-ghc-pkg="d:/applications/ghc.x64/bin/ghc-pkg" --package-db=W:/temporary/development/mingw-packages/mingw-w64-ghc/src/ghc-7.8.3/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --constraint "Cabal == 1.18.1.3" --constraint "hpc == 0.6.0.1" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.1" --constraint "transformers == 0.3.0.0" --with-gcc="gcc.exe" --configure-option=--with-cc="gcc.exe" --with-ar="ar.exe" --with-ranlib="/mingw64/bin/ranlib" --with-alex="/c/Users/mac0089/AppData/Roaming/cabal/bin/alex" --with-happy="/c/Users/mac0089/AppData/Roaming/cabal/bin/happy"
"inplace/bin/ghc-cabal" configure utils/hsc2hs dist "" --with-ghc="d:/applications/ghc.x64/bin/ghc.exe" --with-ghc-pkg="d:/applications/ghc.x64/bin/ghc-pkg" --package-db=W:/temporary/development/mingw-packages/mingw-w64-ghc/src/ghc-7.8.3/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --constraint "Cabal == 1.18.1.3" --constraint "hpc == 0.6.0.1" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.1" --constraint "transformers == 0.3.0.0" --with-gcc="gcc.exe" --configure-option=--with-cc="gcc.exe" --with-ar="ar.exe" --with-ranlib="/mingw64/bin/ranlib" --with-alex="/c/Users/mac0089/AppData/Roaming/cabal/bin/alex" --with-happy="/c/Users/mac0089/AppData/Roaming/cabal/bin/happy"
"d:/applications/ghc.x64/bin/ghc-pkg" update --force --package-db=libraries/bootstrapping.conf libraries/Cabal/Cabal/dist-boot/inplace-pkg-config
Reading package info from "libraries/Cabal/Cabal/dist-boot/inplace-pkg-config" ... ghc-pkg.exe: libraries/Cabal/Cabal/dist-boot/inplace-pkg-config: openFile: does not exist (No such file or directory)
libraries/Cabal/Cabal/ghc.mk:3: recipe for target 'libraries/Cabal/Cabal/dist-boot/package-data.mk' failed
make[1]: *** [libraries/Cabal/Cabal/dist-boot/package-data.mk] Error 1
Makefile:64: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR:(B A failure occurred in build().(B
 Aborting...(B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment