Skip to content

Stack fails to install certain packages via stack ghci #1066

@ndmitchell

Description

@ndmitchell

I can't install unbounded-delays via stack ghci, but I can via stack install. @snoyberg, I guess you need another UTF8 fix?

C:\Neil\ghcid>stack ghci
unbounded-delays-0.1.0.9: configure
Progress: 0/3[["--with-ghc=C:\\ghc\\minghc-7.10.2-i386\\ghc-7.10.2\\bin\\ghc.exe"],[]]
unbounded-delays-0.1.0.9: build
Progre
--  While building package unbounded-delays-0.1.0.9 using:
      C:\ghc\minghc-7.10.2-i386\ghc-7.10.2\bin\runhaskell.exe -clear-package-db -global-package-db -package-db=C:\Users\ndmit_000\AppData\Roaming\stack\snapshots\i386-windows\lts-3.7\7.10.2\pkgdb\ -package-db=C:\Neil\ghcid\.stack-work\install\i386-windows\lts-3.7\7.10.2\pkgdb\ -hide-all-packages -package=Cabal-1.22.4.0 -package-id=Win32-2.3.1.0-0717dc053eabe89fdd28817a5eef792d -package-id=array-0.5.1.0-eb3ca0b82c3d51a49f55877242086b28 -package-id=base-4.8.1.0-4411f755eeebe72a83715ecebc424dd9 -package-id=bin-package-db-0.0.0.0-c87c9ebefa3add493f40b88366b91be9 -package-id=binary-0.7.5.0-21bfb535c2e89240dc3af41aa36d9b4d -package-id=bytestring-0.10.6.0-3a6a732ee0b8cb400ce04a0f0a3f15e6 -package-id=containers-0.5.6.2-d3868a26f70c1467cc87b86b1c21ae31 -package-id=deepseq-1.4.1.1-10f84b191b92d4df5a1b62ef8443e7d6 -package-id=directory-1.2.2.0-67861052f6528c2b3ae07ef68f3c2799 -package-id=filepath-1.4.0.0-ae307811bafd730695e1b4e0d36c99da -package-id=ghc-prim-0.4.0.0-85e834af445e5f9a2d8493a30508f0a2 -package-id=haskeline-0.7.2.1-d4343feaf006805df35fcf31a8826e52 -package-id=hoopl-3.10.0.2-6990d8bb63e5e7ba3c2beecba4cb86c3 -package-id=hpc-0.6.0.2-64f1e55905756b8ad7a33e8dbad2da5c -package-id=integer-gmp-1.0.0.0-bf42c470d1a99383609c2d63038c6d96 -package-id=pretty-1.1.2.0-72a7570af8c65135ebd7ac958a4a1812 -package-id=process-1.2.3.0-e80848e270871e1a525ad6051db8884a -package-id=template-haskell-2.10.0.0-20c59f6e05cad16c3065e9a0b2e7a84d -package-id=time-1.5.0.1-802c20236039b7ed50da988195abc16b -package-id=transformers-0.4.2.0-92071d0128abe0876342c7281d6628ae -package-id=xhtml-3000.2.1-da217cc339a4f9f70cb1d1cd0f71ab4c C:\Users\NDMIT_~1\AppData\Local\Temp\stack7068\unbounded-delays-0.1.0.9\Setup.hs --builddir=.stack-work\dist\49224016\ build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: C:\Neil\ghcid\.stack-work\logs\unbounded-delays-0.1.0.9.log

    Configuring unbounded-delays-0.1.0.9...
    Building unbounded-delays-0.1.0.9...
    Preprocessing library unbounded-delays-0.1.0.9...
    [1 of 2] Compiling Control.Concurrent.Thread.Delay ( Control\Concurrent\Thread\Delay.hs, .stack-work\dist\49224016\build\Control\Concurrent\Thread\Delay.o )
    [2 of 2] Compiling Control.Concurrent.Timeout ( Control\Concurrent\Timeout.hs, .stack-work\dist\49224016\build\Control\Concurrent\Timeout.o )
    .stack-work\dist\49224016\build\.\Control\Concurrent\Timeout.dump-hi: commitBuffer: invalid argument (invalid character)
ss
C:\Neil\ghcid>stack ghci
ghcid-0.5: unregistering (components added: test:ghcid_test)
unbounded-delays-0.1.0.9: configure
Progress: 0/3[["--with-ghc=C:\\ghc\\minghc-7.10.2-i386\\ghc-7.10.2\\bin\\ghc.exe"],[]]
unbounded-delays-0.1.0.9: build
Pr
--  While building package unbounded-delays-0.1.0.9 using:
      C:\ghc\minghc-7.10.2-i386\ghc-7.10.2\bin\runhaskell.exe -clear-package-db -global-package-db -package-db=C:\Users\ndmit_000\AppData\Roaming\stack\snapshots\i386-windows\lts-3.7\7.10.2\pkgdb\ -package-db=C:\Neil\ghcid\.stack-work\install\i386-windows\lts-3.7\7.10.2\pkgdb\ -hide-all-packages -package=Cabal-1.22.4.0 -package-id=Win32-2.3.1.0-0717dc053eabe89fdd28817a5eef792d -package-id=array-0.5.1.0-eb3ca0b82c3d51a49f55877242086b28 -package-id=base-4.8.1.0-4411f755eeebe72a83715ecebc424dd9 -package-id=bin-package-db-0.0.0.0-c87c9ebefa3add493f40b88366b91be9 -package-id=binary-0.7.5.0-21bfb535c2e89240dc3af41aa36d9b4d -package-id=bytestring-0.10.6.0-3a6a732ee0b8cb400ce04a0f0a3f15e6 -package-id=containers-0.5.6.2-d3868a26f70c1467cc87b86b1c21ae31 -package-id=deepseq-1.4.1.1-10f84b191b92d4df5a1b62ef8443e7d6 -package-id=directory-1.2.2.0-67861052f6528c2b3ae07ef68f3c2799 -package-id=filepath-1.4.0.0-ae307811bafd730695e1b4e0d36c99da -package-id=ghc-prim-0.4.0.0-85e834af445e5f9a2d8493a30508f0a2 -package-id=haskeline-0.7.2.1-d4343feaf006805df35fcf31a8826e52 -package-id=hoopl-3.10.0.2-6990d8bb63e5e7ba3c2beecba4cb86c3 -package-id=hpc-0.6.0.2-64f1e55905756b8ad7a33e8dbad2da5c -package-id=integer-gmp-1.0.0.0-bf42c470d1a99383609c2d63038c6d96 -package-id=pretty-1.1.2.0-72a7570af8c65135ebd7ac958a4a1812 -package-id=process-1.2.3.0-e80848e270871e1a525ad6051db8884a -package-id=template-haskell-2.10.0.0-20c59f6e05cad16c3065e9a0b2e7a84d -package-id=time-1.5.0.1-802c20236039b7ed50da988195abc16b -package-id=transformers-0.4.2.0-92071d0128abe0876342c7281d6628ae -package-id=xhtml-3000.2.1-da217cc339a4f9f70cb1d1cd0f71ab4c C:\Users\NDMIT_~1\AppData\Local\Temp\stack6116\unbounded-delays-0.1.0.9\Setup.hs --builddir=.stack-work\dist\49224016\ build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: C:\Neil\ghcid\.stack-work\logs\unbounded-delays-0.1.0.9.log

    Configuring unbounded-delays-0.1.0.9...
    Building unbounded-delays-0.1.0.9...
    Preprocessing library unbounded-delays-0.1.0.9...
    [1 of 2] Compiling Control.Concurrent.Thread.Delay ( Control\Concurrent\Thread\Delay.hs, .stack-work\dist\49224016\build\Control\Concurrent\Thread\Delay.o )
    [2 of 2] Compiling Control.Concurrent.Timeout ( Control\Concurrent\Timeout.hs, .stack-work\dist\49224016\build\Control\Concurrent\Timeout.o )
    .stack-work\dist\49224016\build\.\Control\Concurrent\Timeout.dump-hi: commitBuffer: invalid argument (invalid character)
og
C:\Neil\ghcid>stack ghci
unbounded-delays-0.1.0.9: configure
Progress: 0/3[["--with-ghc=C:\\ghc\\minghc-7.10.2-i386\\ghc-7.10.2\\bin\\ghc.exe"],[]]
unbounded-delays-0.1.0.9: build
Pr
--  While building package unbounded-delays-0.1.0.9 using:
      C:\ghc\minghc-7.10.2-i386\ghc-7.10.2\bin\runhaskell.exe -clear-package-db -global-package-db -package-db=C:\Users\ndmit_000\AppData\Roaming\stack\snapshots\i386-windows\lts-3.7\7.10.2\pkgdb\ -package-db=C:\Neil\ghcid\.stack-work\install\i386-windows\lts-3.7\7.10.2\pkgdb\ -hide-all-packages -package=Cabal-1.22.4.0 -package-id=Win32-2.3.1.0-0717dc053eabe89fdd28817a5eef792d -package-id=array-0.5.1.0-eb3ca0b82c3d51a49f55877242086b28 -package-id=base-4.8.1.0-4411f755eeebe72a83715ecebc424dd9 -package-id=bin-package-db-0.0.0.0-c87c9ebefa3add493f40b88366b91be9 -package-id=binary-0.7.5.0-21bfb535c2e89240dc3af41aa36d9b4d -package-id=bytestring-0.10.6.0-3a6a732ee0b8cb400ce04a0f0a3f15e6 -package-id=containers-0.5.6.2-d3868a26f70c1467cc87b86b1c21ae31 -package-id=deepseq-1.4.1.1-10f84b191b92d4df5a1b62ef8443e7d6 -package-id=directory-1.2.2.0-67861052f6528c2b3ae07ef68f3c2799 -package-id=filepath-1.4.0.0-ae307811bafd730695e1b4e0d36c99da -package-id=ghc-prim-0.4.0.0-85e834af445e5f9a2d8493a30508f0a2 -package-id=haskeline-0.7.2.1-d4343feaf006805df35fcf31a8826e52 -package-id=hoopl-3.10.0.2-6990d8bb63e5e7ba3c2beecba4cb86c3 -package-id=hpc-0.6.0.2-64f1e55905756b8ad7a33e8dbad2da5c -package-id=integer-gmp-1.0.0.0-bf42c470d1a99383609c2d63038c6d96 -package-id=pretty-1.1.2.0-72a7570af8c65135ebd7ac958a4a1812 -package-id=process-1.2.3.0-e80848e270871e1a525ad6051db8884a -package-id=template-haskell-2.10.0.0-20c59f6e05cad16c3065e9a0b2e7a84d -package-id=time-1.5.0.1-802c20236039b7ed50da988195abc16b -package-id=transformers-0.4.2.0-92071d0128abe0876342c7281d6628ae -package-id=xhtml-3000.2.1-da217cc339a4f9f70cb1d1cd0f71ab4c C:\Users\NDMIT_~1\AppData\Local\Temp\stack3476\unbounded-delays-0.1.0.9\Setup.hs --builddir=.stack-work\dist\49224016\ build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: C:\Neil\ghcid\.stack-work\logs\unbounded-delays-0.1.0.9.log

    Configuring unbounded-delays-0.1.0.9...
    Building unbounded-delays-0.1.0.9...
    Preprocessing library unbounded-delays-0.1.0.9...
    [1 of 2] Compiling Control.Concurrent.Thread.Delay ( Control\Concurrent\Thread\Delay.hs, .stack-work\dist\49224016\build\Control\Concurrent\Thread\Delay.o )
    [2 of 2] Compiling Control.Concurrent.Timeout ( Control\Concurrent\Timeout.hs, .stack-work\dist\49224016\build\Control\Concurrent\Timeout.o )
    .stack-work\dist\49224016\build\.\Control\Concurrent\Timeout.dump-hi: commitBuffer: invalid argument (invalid character)
og
C:\Neil\ghcid>stack install unbounded-delays
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
unbounded-delays-0.1.0.9: configure
[["--with-ghc=C:\\ghc\\minghc-7.10.2-i386\\ghc-7.10.2\\bin\\ghc.exe"],[]]
unbounded-delays-0.1.0.9: build
unbounded-delays-0.1.0.9: install

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions