-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Milestone
Description
I'm building a project that uses GHCJS improved base and Reflex-DOM. However, intermittently, the build would fail with:
-- While building package http-types-0.8.6 using:
/Users/elliot/.stack/setup-exe-cache/x86_64-osx/setup-Simple-Cabal-1.22.4.0-ghcjs-0.2.0_ghc-7.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0_ghcjs configure --with-ghcjs=/Users/elliot/.stack/programs/x86_64-osx/ghcjs-0.2.0.20160107_ghc-7.10.2/bin/ghcjs --with-ghcjs-pkg=/Users/elliot/.stack/programs/x86_64-osx/ghcjs-0.2.0.20160107_ghc-7.10.2/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/pkgdb --libdir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/lib --bindir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/bin --datadir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/share --libexecdir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/libexec --sysconfdir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/etc --docdir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/doc/http-types-0.8.6 --htmldir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/doc/http-types-0.8.6 --haddockdir=/Users/elliot/.stack/snapshots/x86_64-osx/lts-3.10/ghcjs-0.2.0_ghc-7.10.2/doc/http-types-0.8.6 --dependency=array=array-0.5.1.0-1b14ea9bda4435fa660b7cafe6707fb1 --dependency=base=base-4.8.0.0-a3a3ebe3085e9d11c37cceba58a4365f --dependency=blaze-builder=blaze-builder-0.4.0.1-aae1a4fc552cf015dda7e237bc69495d --dependency=bytestring=bytestring-0.10.6.0-5352fe91f9dde68208480250c39ad337 --dependency=case-insensitive=case-insensitive-1.2.0.4-d5842f851021a2824729738f97017002 --dependency=text=text-1.2.1.1-143e2b21f3b7f11ce926e3b74b97d235 --ghcjs
Process exited with code: ExitFailure 1
Logs have been written to: /Users/elliot/a/mine/haskapp/front/.stack-work/logs/http-types-0.8.6.log
Configuring http-types-0.8.6...
setup-Simple-Cabal-1.22.4.0-ghcjs-0.2.0_ghc-7.10.2: Pattern match failure in
do expression at Distribution/Simple/GHCJS.hs:104:3-27
When I installed http-types by itself, it worked: stack install http-types-0.8.6
This looks like it could easily be an upstream bug, but I couldn't find it so I'm filing it here so it is at least visible.