[GHC] #14168: Installing math-functions with GHC-8.2.1 on windows crashed

GHC ghc-devs at haskell.org
Wed Aug 30 03:19:45 UTC 2017


#14168: Installing math-functions with GHC-8.2.1 on windows crashed
---------------------------------+----------------------------------------
        Reporter:  Qinka         |                Owner:  (none)
            Type:  bug           |               Status:  infoneeded
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.2.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Qinka):

 (More informations)

 The output for `stack install --ghc-options=-v3 math-functions`

 {{{
 λ  stack install --ghc-options=-v3 math-functions
 math-functions-0.2.1.0: configure
 math-functions-0.2.1.0: build

 --  While building package math-functions-0.2.1.0 using:
       C:\sr\setup-exe-cache\x86_64-windows\Cabal-
 simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9
 build --ghc-options " -ddump-hi -ddump-to-file"
     Process exited with code: ExitFailure 255
     Logs have been written to: A:\Glob\.stack-work\logs\math-
 functions-0.2.1.0.log

     Configuring math-functions-0.2.1.0...
     Preprocessing library for math-functions-0.2.1.0..
     Building library for math-functions-0.2.1.0..
     [ 1 of 10] Compiling Numeric.MathFunctions.Comparison (
 Numeric\MathFunctions\Comparison.hs, .stack-
 work\dist\e53504d9\build\Numeric\MathFunctions\Comparison.o )
     [ 2 of 10] Compiling Numeric.MathFunctions.Constants (
 Numeric\MathFunctions\Constants.hs, .stack-
 work\dist\e53504d9\build\Numeric\MathFunctions\Constants.o )
     [ 3 of 10] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs,
 .stack-work\dist\e53504d9\build\Numeric\Polynomial.o )
     [ 4 of 10] Compiling Numeric.Polynomial.Chebyshev (
 Numeric\Polynomial\Chebyshev.hs, .stack-
 work\dist\e53504d9\build\Numeric\Polynomial\Chebyshev.o )
     [ 5 of 10] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs,
 .stack-work\dist\e53504d9\build\Numeric\RootFinding.o )
     [ 6 of 10] Compiling Numeric.Series   ( Numeric\Series.hs, .stack-
 work\dist\e53504d9\build\Numeric\Series.o )
     [ 7 of 10] Compiling Numeric.SpecFunctions.Internal (
 Numeric\SpecFunctions\Internal.hs, .stack-
 work\dist\e53504d9\build\Numeric\SpecFunctions\Internal.o )

     C:\Users\qinka\AppData\Local\Temp\stack15552\math-
 functions-0.2.1.0\Numeric\SpecFunctions\Internal.hs:24:1: warning:
 [-Wunused-imports]
         The import of 鈥榚xpm1鈥?from module 鈥楪HC.Float鈥?is redundant
        |
     24 | import GHC.Float (log1p,expm1)
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [ 8 of 10] Compiling Numeric.SpecFunctions.Extra (
 Numeric\SpecFunctions\Extra.hs, .stack-
 work\dist\e53504d9\build\Numeric\SpecFunctions\Extra.o )
     [ 9 of 10] Compiling Numeric.SpecFunctions ( Numeric\SpecFunctions.hs,
 .stack-work\dist\e53504d9\build\Numeric\SpecFunctions.o )
     [10 of 10] Compiling Numeric.Sum      ( Numeric\Sum.hs, .stack-
 work\dist\e53504d9\build\Numeric\Sum.o )
     ghc.EXE: internal error: mkPath failed converting char* to wchar_t*
         (GHC version 8.2.1 for x86_64_unknown_mingw32)
         Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

     This application has requested the Runtime to terminate it in an
 unusual way.
     Please contact the application's support team for more information.
 }}}

 The output for `stack install --verbose  math-functions`

 {{{
 λ  stack install --verbose  math-functions
 Version 1.4.0, Git revision e714f1dd3fade19496d91bd6a017e435a96a6bcd
 x86_64 hpack-0.17.0
 2017-08-30 11:16:38.241189: [debug] Checking for project config at:
 A:\Glob\stack.yaml
 @(Stack\Config.hs:935:9)
 2017-08-30 11:16:38.242667: [debug] Loading project config file stack.yaml
 @(Stack\Config.hs:960:13)
 2017-08-30 11:16:38.251672: [debug] Trying to decode C:\sr\build-plan-
 cache\x86_64-windows\nightly-2017-08-29.cache
 @(Data\Store\VersionTagged.hs:68:5)
 2017-08-30 11:16:38.272167: [debug] Success decoding C:\sr\build-plan-
 cache\x86_64-windows\nightly-2017-08-29.cache
 @(Data\Store\VersionTagged.hs:72:13)
 2017-08-30 11:16:38.281672: [debug] Using standard GHC build
 @(Stack\Setup.hs:600:9)
 2017-08-30 11:16:38.285672: [debug] Getting Cabal package version
 @(Stack\GhcPkg.hs:189:5)
 2017-08-30 11:16:38.288172: [debug] Getting global package database
 location
 @(Stack\GhcPkg.hs:55:5)
 2017-08-30 11:16:38.288670: [debug] Asking GHC for its version
 @(Stack\Setup\Installed.hs:103:13)
 2017-08-30 11:16:38.290170: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.290674: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db list --global
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.296670: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE
 --numeric-version
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.364167: [debug] Process finished in 61ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE
 --numeric-version
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.384387: [debug] Process finished in 91ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db list --global
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.384888: [debug] Process finished in 92ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.385889: [debug] Resolving package entries
 @(Stack\Setup.hs:254:5)
 2017-08-30 11:16:38.387888: [debug] Starting to execute command inside
 EnvConfig
 @(Stack\Runners.hs:166:18)
 2017-08-30 11:16:38.388386: [debug] Parsing the cabal files of the local
 packages
 @(Stack\Build\Source.hs:310:5)
 2017-08-30 11:16:38.399389: [debug] Parsing the targets
 @(Stack\Build\Source.hs:247:5)
 2017-08-30 11:16:38.400391: [debug] Exception ignored when attempting to
 load A:\Glob\glob-auth\.stack-work\dist\e53504d9\stack-build-cache:
 A:\Glob\glob-auth\.stack-work\dist\e53504d9\stack-build-cache:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:38.401389: [debug] Start: getPackageFiles A:\Glob\glob-
 auth\glob-auth.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.415390: [debug] Finished in 13ms: getPackageFiles
 A:\Glob\glob-auth\glob-auth.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.419889: [debug] Exception ignored when attempting to
 load A:\Glob\glob-core\.stack-work\dist\e53504d9\stack-build-cache:
 A:\Glob\glob-core\.stack-work\dist\e53504d9\stack-build-cache:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:38.420890: [debug] Start: getPackageFiles A:\Glob\glob-
 core\glob-core.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.443886: [debug] Finished in 22ms: getPackageFiles
 A:\Glob\glob-core\glob-core.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.446886: [debug] Exception ignored when attempting to
 load A:\Glob\glob-launch\.stack-work\dist\e53504d9\stack-build-cache:
 A:\Glob\glob-launch\.stack-work\dist\e53504d9\stack-build-cache:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:38.447386: [debug] Start: getPackageFiles A:\Glob\glob-
 launch\glob-launch.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.455888: [debug] Finished in 8ms: getPackageFiles
 A:\Glob\glob-launch\glob-launch.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.458389: [debug] Exception ignored when attempting to
 load A:\Glob\glob-tool\.stack-work\dist\e53504d9\stack-build-cache:
 A:\Glob\glob-tool\.stack-work\dist\e53504d9\stack-build-cache:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:38.459393: [debug] Start: getPackageFiles A:\Glob\glob-
 tool\glob-tool.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.479886: [debug] Finished in 19ms: getPackageFiles
 A:\Glob\glob-tool\glob-tool.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.483889: [debug] Exception ignored when attempting to
 load A:\Glob\glob-utils\.stack-work\dist\e53504d9\stack-build-cache:
 A:\Glob\glob-utils\.stack-work\dist\e53504d9\stack-build-cache:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:38.484387: [debug] Start: getPackageFiles A:\Glob\glob-
 utils\glob-utils.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.499394: [debug] Finished in 14ms: getPackageFiles
 A:\Glob\glob-utils\glob-utils.cabal
 @(Stack\Package.hs:251:21)
 2017-08-30 11:16:38.504387: [debug] Finding out which packages are already
 installed
 @(Stack\Build\Installed.hs:69:5)
 2017-08-30 11:16:38.507888: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --global --no-user-package-db dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.585888: [debug] Process finished in 77ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --global --no-user-package-db dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.613903: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --no-user-package-db --package-db
 C:\sr\snapshots\4c52f22a\pkgdb dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.764389: [debug] Process finished in 148ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --no-user-package-db --package-db
 C:\sr\snapshots\4c52f22a\pkgdb dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.769388: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --no-user-package-db --package-db A:\Glob\.stack-
 work\install\068939cd\pkgdb dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.814388: [debug] Process finished in 43ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --no-user-package-db --package-db A:\Glob\.stack-
 work\install\068939cd\pkgdb dump --expand-pkgroot
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:38.816887: [debug] Constructing the build plan
 @(Stack\Build\ConstructPlan.hs:158:5)
 2017-08-30 11:16:38.819887: [debug] Trying to decode
 C:\sr\indices\Tsinghua\01-index.cache
 @(Data\Store\VersionTagged.hs:68:5)
 2017-08-30 11:16:38.937963: [debug] Success decoding
 C:\sr\indices\Tsinghua\01-index.cache
 @(Data\Store\VersionTagged.hs:72:13)
 2017-08-30 11:16:39.140290: [debug] Checking if we are going to build
 multiple executables with the same name
 @(Stack\Build.hs:210:5)
 2017-08-30 11:16:39.141290: [debug] Executing the build plan
 @(Stack\Build\Execute.hs:458:5)
 2017-08-30 11:16:39.142789: [debug] Getting global package database
 location
 @(Stack\GhcPkg.hs:55:5)
 2017-08-30 11:16:39.143288: [debug] Run process:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db list --global
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:39.196673: [debug] Process finished in 52ms:
 C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --no-user-package-db list --global
 @(System\Process\Read.hs:306:3)
 2017-08-30 11:16:39.198175: [debug] Precompiled cache input = (["--
 dependency=base=base-4.10.0.0","--dependency=deepseq=deepseq-1.4.3.0","--
 dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg","--
 dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi","--dependency
 =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S","--extra-
 include-
 dirs=C:\\Users\\qinka\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20161025\\mingw64\\include
 ","--extra-lib-
 dirs=C:\\Users\\qinka\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20161025\\mingw64\\lib"],fromList
 ["base-4.10.0.0","deepseq-1.4.3.0","primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg","vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi
 ","vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S"])
 @(Stack\Build\Cache.hs:283:5)
 2017-08-30 11:16:39.200677: [debug] Exception ignored when attempting to
 load C:\sr\precompiled\x86_64-windows\ghc-8.2.1\2.0.0.2\math-
 functions-0.2.1.0\noe5BbegP8iihQXKEZ82ZfRDWhSyn6fbIWQ1qhDvkAE=:
 C:\sr\precompiled\x86_64-windows\ghc-8.2.1\2.0.0.2\math-
 functions-0.2.1.0\noe5BbegP8iihQXKEZ82ZfRDWhSyn6fbIWQ1qhDvkAE=:
 openBinaryFile: does not exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:39.352671: [debug] Exception ignored when attempting to
 load C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-config-cache:
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-config-cache: openBinaryFile: does not
 exist (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:39.354171: [debug] Exception ignored when attempting to
 load C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-cabal-mod:
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-cabal-mod: openBinaryFile: does not exist
 (No such file or directory)
 @(Data\Store\VersionTagged.hs:86:9)
 2017-08-30 11:16:39.355171: [info] math-functions-0.2.1.0: configure
 @(Stack\Build\Execute.hs:830:23)
 2017-08-30 11:16:39.428672: [debug] Run process: C:\sr\setup-exe-
 cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe
 --builddir=.stack-work\dist\e53504d9 configure --with-
 ghc=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE
 --with-ghc-
 pkg=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --package-db=clear --package-db=global --package-
 db=C:\sr\snapshots\4c52f22a\pkgdb --libdir=C:\sr\snapshots\4c52f22a\lib
 --bindir=C:\sr\snapshots\4c52f22a\bin
 --datadir=C:\sr\snapshots\4c52f22a\share
 --libexecdir=C:\sr\snapshots\4c52f22a\libexec
 --sysconfdir=C:\sr\snapshots\4c52f22a\etc
 --docdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --htmldir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --haddockdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --dependency=base=base-4.10.0.0 --dependency=deepseq=deepseq-1.4.3.0
 --dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg
 --dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi --dependency
 =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S --extra-
 include-
 dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include
 --extra-lib-
 dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\lib
 @(System\Process\Read.hs:340:3)
 2017-08-30 11:16:41.061549: [debug] Process finished in 1630ms: C:\sr
 \setup-exe-cache\x86_64-windows\Cabal-
 simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9
 configure --with-
 ghc=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE
 --with-ghc-
 pkg=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin
 \ghc-pkg.EXE --user --package-db=clear --package-db=global --package-
 db=C:\sr\snapshots\4c52f22a\pkgdb --libdir=C:\sr\snapshots\4c52f22a\lib
 --bindir=C:\sr\snapshots\4c52f22a\bin
 --datadir=C:\sr\snapshots\4c52f22a\share
 --libexecdir=C:\sr\snapshots\4c52f22a\libexec
 --sysconfdir=C:\sr\snapshots\4c52f22a\etc
 --docdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --htmldir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --haddockdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0
 --dependency=base=base-4.10.0.0 --dependency=deepseq=deepseq-1.4.3.0
 --dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg
 --dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi --dependency
 =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S --extra-
 include-
 dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include
 --extra-lib-
 dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\lib
 @(System\Process\Read.hs:340:3)
 2017-08-30 11:16:41.063547: [debug] Encoding
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-config-cache
 @(Data\Store\VersionTagged.hs:51:5)
 2017-08-30 11:16:41.066049: [debug] Finished writing
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-config-cache
 @(Data\Store\VersionTagged.hs:55:5)
 2017-08-30 11:16:41.066551: [debug] Encoding
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-cabal-mod
 @(Data\Store\VersionTagged.hs:51:5)
 2017-08-30 11:16:41.072547: [debug] Finished writing
 C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0
 \.stack-work\dist\e53504d9\stack-cabal-mod
 @(Data\Store\VersionTagged.hs:55:5)
 2017-08-30 11:16:41.073556: [info] math-functions-0.2.1.0: build
 @(Stack\Build\Execute.hs:830:23)
 2017-08-30 11:16:41.074560: [debug] Run process: C:\sr\setup-exe-
 cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe
 --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi
 -ddump-to-file"
 @(System\Process\Read.hs:340:3)

 --  While building package math-functions-0.2.1.0 using:
       C:\sr\setup-exe-cache\x86_64-windows\Cabal-
 simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9
 build --ghc-options " -ddump-hi -ddump-to-file"
     Process exited with code: ExitFailure 255
     Logs have been written to: A:\Glob\.stack-work\logs\math-
 functions-0.2.1.0.log

     Configuring math-functions-0.2.1.0...
     Preprocessing library for math-functions-0.2.1.0..
     Building library for math-functions-0.2.1.0..
     [ 1 of 10] Compiling Numeric.MathFunctions.Comparison (
 Numeric\MathFunctions\Comparison.hs, .stack-
 work\dist\e53504d9\build\Numeric\MathFunctions\Comparison.o )
     [ 2 of 10] Compiling Numeric.MathFunctions.Constants (
 Numeric\MathFunctions\Constants.hs, .stack-
 work\dist\e53504d9\build\Numeric\MathFunctions\Constants.o )
     [ 3 of 10] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs,
 .stack-work\dist\e53504d9\build\Numeric\Polynomial.o )
     [ 4 of 10] Compiling Numeric.Polynomial.Chebyshev (
 Numeric\Polynomial\Chebyshev.hs, .stack-
 work\dist\e53504d9\build\Numeric\Polynomial\Chebyshev.o )
     [ 5 of 10] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs,
 .stack-work\dist\e53504d9\build\Numeric\RootFinding.o )
     [ 6 of 10] Compiling Numeric.Series   ( Numeric\Series.hs, .stack-
 work\dist\e53504d9\build\Numeric\Series.o )
     [ 7 of 10] Compiling Numeric.SpecFunctions.Internal (
 Numeric\SpecFunctions\Internal.hs, .stack-
 work\dist\e53504d9\build\Numeric\SpecFunctions\Internal.o )

     C:\Users\qinka\AppData\Local\Temp\stack13180\math-
 functions-0.2.1.0\Numeric\SpecFunctions\Internal.hs:24:1: warning:
 [-Wunused-imports]
         The import of 鈥榚xpm1鈥?from module 鈥楪HC.Float鈥?is redundant
        |
     24 | import GHC.Float (log1p,expm1)
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [ 8 of 10] Compiling Numeric.SpecFunctions.Extra (
 Numeric\SpecFunctions\Extra.hs, .stack-
 work\dist\e53504d9\build\Numeric\SpecFunctions\Extra.o )
     [ 9 of 10] Compiling Numeric.SpecFunctions ( Numeric\SpecFunctions.hs,
 .stack-work\dist\e53504d9\build\Numeric\SpecFunctions.o )
     [10 of 10] Compiling Numeric.Sum      ( Numeric\Sum.hs, .stack-
 work\dist\e53504d9\build\Numeric\Sum.o )
     ghc.EXE: internal error: mkPath failed converting char* to wchar_t*
         (GHC version 8.2.1 for x86_64_unknown_mingw32)
         Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

     This application has requested the Runtime to terminate it in an
 unusual way.
     Please contact the application's support team for more information.
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14168#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list