commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

stack ide fails with `Process exited with ExitFailure 1` #94

Closed rvion closed 8 years ago

rvion commented 8 years ago
➜   stack-ide --version
Version 0.1.0.0, Git revision f78ff35abfbbc52e171ee109682c85baa9deb5f1 (172 commits) X86_64
➜   stack --version
Version 0.1.7.0, Git revision f71a515ef02aac4ea864bc4a5979c56b884b4ae2 x86_64
➜   stack ide start
Usage: stack-ide [--ghc-option OPT] [--include PATH] [--rts-option OPT]
                 [--dist-dir DIR] [--dir DIR] [--local-work-dir DIR]
                 [--ide-backend-tools-path PATH] [--extra-path PATH]
                 [--package-db DIR] [--keep-tmp-files] [-v|--verbose]
                 [--version]
  Start a new session
Process exited with ExitFailure 1: /Users/rvion/.local/bin/stack-ide
--verbose
--include=/Users/rvion/dev/fastannonce/:/Users/rvion/dev/fastannonce/src/:/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/:/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/:/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/:/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/:/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/
--local-work-dir=/Users/rvion/dev/fastannonce/
--ide-backend-tools-path=/Users/rvion/dev/fastannonce/.stack-work/install/x86_64-osx/lts-3.4/7.10.2/bin/:/Users/rvion/.stack/snapshots/x86_64-osx/lts-3.4/7.10.2/bin/:/Users/rvion/.local/bin/:/Users/rvion/dev/go/bin:/Users/rvion/dev/Nim/bin/:/Users/rvion/.babel/pkgs/babel-0.4.0:/Users/rvion/.babel/bin/:/Users/rvion/Library/Haskell/bin:/usr/local/heroku/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Applications/Postgres.app/Contents/Versions/9.4/bin
--dist-dir=/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/
--ghc-option=-hide-all-packages
--ghc-option=-i/Users/rvion/dev/fastannonce/
--ghc-option=-i/Users/rvion/dev/fastannonce/src/
--ghc-option=-i/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/
--ghc-option=-i/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/
--ghc-option=-stubdir=/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/
--ghc-option=-optP-include
--ghc-option=-optP/Users/rvion/dev/fastannonce/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/cabal_macros.h
--ghc-option=-package-id=base-4.8.1.0-075aa0db10075facc5aaa59a7991ca2f
--ghc-option=-package-id=Spock-0.8.1.0-619d68465ee86012296f0d48f6990288
--ghc-option=-package-id=websockets-0.9.5.0-dd58891f36b427aa8e66787ce738fff5
--ghc-option=-package-id=text-1.2.1.3-2395ef415c1b20175aae83b50060e389
--ghc-option=-package-id=transformers-0.4.2.0-21dcbf13c43f5d8cf6a1f54dee6c5bff
--ghc-option=-package-id=iproute-1.5.0-74b1936fb145855df328cb204f0d34e5
--ghc-option=-package-id=file-embed-0.0.9-5b59e7383fbd0c74037fa2e55fcf9911
--ghc-option=-package-id=wai-app-static-3.1.1-fa6ed1a8304545c33cef3e67cf6655c9
--ghc-option=-package-id=warp-3.1.3-a038ee37e4f8c026ce95776b7124022a
--ghc-option=-package-id=wai-3.0.3.0-ab744e70aa8c4ace70911a8e321d182a
--ghc-option=-package-id=wai-session-0.3.2-3cdbe436a9e4a8390a528b4a072366cd
--ghc-option=-package-id=wai-middleware-static-0.7.0.1-6d8b9de07bd372a457ef36abb9715e47
--ghc-option=-package-id=wai-extra-3.0.10-bfa645e84726a574e908d0a4cb213a50
--ghc-option=-package-id=wai-websockets-3.0.0.6-deef024f55d7a4f575af20fa523264b2
--ghc-option=-package-id=data-default-0.5.3-a2ece8050e447d921b001e26e14476f2
--ghc-option=-package-id=vault-0.3.0.4-ff1f54f47d15da61e5893a7b61b434f2
--ghc-option=-package-id=http-types-0.8.6-1fb66e15e99ea80abe2a1cb1e1c89037
--dist-dir=/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/
--ghc-option=-hide-all-packages
--ghc-option=-Wall
--ghc-option=-i/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/
--ghc-option=-i/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/
--ghc-option=-i/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/
--ghc-option=-stubdir=/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/
--ghc-option=-optP-include
--ghc-option=-optP/Users/rvion/dev/fastannonce/.stack-work/downloaded/ac26149816c1abebfe3489bf78963a7dfe873ba26a53361380411e61178b1747.git/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/cabal_macros.h
--ghc-option=-package-id=base-4.8.1.0-075aa0db10075facc5aaa59a7991ca2f
--ghc-option=-package-id=bytestring-mmap-0.2.2-e74c183b3cc040c37590e7280de70831
--ghc-option=-package-id=bytestring-0.10.6.0-6e8453cb70b477776f26900f41a5e17a
--ghc-option=-package-id=binary-0.7.5.0-b4f872f1068495283845a7992e4f6618
--ghc-option=-package-id=text-1.2.1.3-2395ef415c1b20175aae83b50060e389
--ghc-option=-package-id=containers-0.5.6.2-2b49cce16f8a2908df8454387e550b93
--ghc-option=-package-id=iproute-1.5.0-74b1936fb145855df328cb204f0d34e5
--ghc-option=-package-id=reinterpret-cast-0.1.0-16c6b3cd3f3d0fd36f2f07c7b8944f9f
--package-db=/Users/rvion/.stack/snapshots/x86_64-osx/lts-3.4/7.10.2/pkgdb/:/Users/rvion/dev/fastannonce/.stack-work/install/x86_64-osx/lts-3.4/7.10.2/pkgdb/
➜  stack build
➜
➜  stack build -v
Version 0.1.7.0, Git revision f71a515ef02aac4ea864bc4a5979c56b884b4ae2 x86_64
2015-10-20 21:25:24.73584: [debug] Checking for project config at: /Users/rvion/dev/fastannonce/stack.yaml @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Stack.Config src/Stack/Config.hs:547:9)
2015-10-20 21:25:24.736119: [debug] Loading project config file stack.yaml @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Stack.Config src/Stack/Config.hs:570:13)
2015-10-20 21:25:24.737128: [debug] Trying to decode /Users/rvion/.stack/build-plan-cache/x86_64-osx/lts-3.4.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-20 21:25:24.747651: [debug] Success decoding /Users/rvion/.stack/build-plan-cache/x86_64-osx/lts-3.4.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-20 21:25:24.766273: [debug] Run process: ghc --info @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:24.867456: [debug] Run process: ghc --numeric-version @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:24.935506: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:24.967884: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:25.017127: [debug] Run process: locale -a @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:25.02997: [debug] Checking resolver: lts-3.4 @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Stack.Build.Source src/Stack/Build/Source.hs:162:17)
2015-10-20 21:25:25.030393: [debug] Trying to decode /Users/rvion/.stack/build-plan-cache/x86_64-osx/lts-3.4.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-20 21:25:25.037016: [debug] Success decoding /Users/rvion/.stack/build-plan-cache/x86_64-osx/lts-3.4.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-20 21:25:25.045948: [debug] Trying to decode /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-20 21:25:25.318972: [debug] Success decoding /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-20 21:25:25.32565: [debug] Run process: ghc-pkg --global --no-user-package-db dump --expand-pkgroot @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:25.374356: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db /Users/rvion/.stack/snapshots/x86_64-osx/lts-3.4/7.10.2/pkgdb/ dump --expand-pkgroot @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:25.517465: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db /Users/rvion/dev/fastannonce/.stack-work/install/x86_64-osx/lts-3.4/7.10.2/pkgdb/ dump --expand-pkgroot @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-20 21:25:25.54388: [debug] Trying to decode /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-20 21:25:25.765711: [debug] Success decoding /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-20 21:25:25.767646: [debug] Trying to decode /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-20 21:25:25.972966: [debug] Success decoding /Users/rvion/.stack/indices/Hackage/00-index.cache @(stack_BPSzp21UEyrGCDWT4Q5zbZ:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-20 21:25:26.183233: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_BPSzp21UEyrGCDWT4Q5zbZ:System.Process.Read src/System/Process/Read.hs:272:3)
➜  cat stack.yaml
flags: {}
packages:
- '.'
- location:
    git: git@github.com:rvion/geoip2
    commit: baeb1e490c6435fa9db5c61716cd3aafcd74e44d
extra-deps:
- 'reinterpret-cast-0.1.0'
- 'Wheb-0.3.1.0'
resolver: lts-3.4