Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

stack trouble with servant's "greet" #304

Closed
robx opened this issue Sep 18, 2015 · 1 comment
Closed

stack trouble with servant's "greet" #304

robx opened this issue Sep 18, 2015 · 1 comment

Comments

@robx
Copy link
Contributor

robx commented Sep 18, 2015

When installing servant as a dependency (this was on #301):

--  While building package servant-docs-0.5 using:
      /Users/robert/.stack/setup-exe-cache/setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/ install
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/robert/src/thentos/.stack-work/logs/servant-docs-0.5.log

    Configuring servant-docs-0.5...
    Preprocessing library servant-docs-0.5...
    [1 of 2] Compiling Servant.Docs.Internal ( src/Servant/Docs/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Servant/Docs/Internal.o )
    [2 of 2] Compiling Servant.Docs     ( src/Servant/Docs.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Servant/Docs.o )
    In-place registering servant-docs-0.5...
    Installing library in
    /Users/robert/src/thentos/.stack-work/install/x86_64-osx/lts-3.5/7.10.2/lib/x86_64-osx-ghc-7.10.2/servant-docs-0.5-BXd3NR8bLAKF2anDBYqEOL
    Installing executable(s) in
    /Users/robert/src/thentos/.stack-work/install/x86_64-osx/lts-3.5/7.10.2/bin
    setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2:
    .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/greet-docs/greet-docs: does
    not exist


--  While building package servant-server-0.5 using:
      /Users/robert/.stack/setup-exe-cache/setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/ install
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/robert/src/thentos/.stack-work/logs/servant-server-0.5.log

    Configuring servant-server-0.5...
    Preprocessing library servant-server-0.5...
    In-place registering servant-server-0.5...
    Installing library in
    /Users/robert/src/thentos/.stack-work/install/x86_64-osx/lts-3.5/7.10.2/lib/x86_64-osx-ghc-7.10.2/servant-server-0.5-2OOBFrgRHWd0EPUjPLKXWm
    Installing executable(s) in
    /Users/robert/src/thentos/.stack-work/install/x86_64-osx/lts-3.5/7.10.2/bin
    setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2:
    .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/greet/greet: does not exist

Workaround: First install servant-server and servent-docs manually:

$ stack install servant-server
$ stack install servant-docs
@jkarni
Copy link
Contributor

jkarni commented Sep 21, 2015

This is an issue with stack/cabal: 1 2. Closing.

@jkarni jkarni closed this as completed Sep 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants