Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hpc-0.6.0.3 fails with lts-8.3 #2351

Closed
nponeccop opened this issue Mar 4, 2017 · 2 comments
Closed

hpc-0.6.0.3 fails with lts-8.3 #2351

nponeccop opened this issue Mar 4, 2017 · 2 comments

Comments

@nponeccop
Copy link

nponeccop commented Mar 4, 2017

It is included in the snapshot, but

stack install hpc --resolver lts-8.3

fails with

    Configuring hpc-0.6.0.3...
    Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1: Encountered missing dependencies:
    directory >=1.1 && <1.3 && ==1.3.0.0

Same happens with normal stack build for packages depending on hpc, and with nightly-2017-03-04.

Btw I'm on i686 linux if that matters.

The constraint is already addressed in HEAD:

http://git.haskell.org/packages/hpc.git/blobdiff/2ddcb82fa532b0c1db5222f2e13c8232de27db52..8625c1c0550719437acad89d49401cf048990084:/hpc.cabal

But I wonder how happened that the build succeeds on your side and fails on my side.

@snoyberg
Copy link
Contributor

snoyberg commented Mar 5, 2017

This looks more relevant to the Stack issue tracker than Stackage. From the error message, it seems that you're building with LTS 8.3—which requires GHC 8.0.2—but for some reason Stack is using GHC 8.0.1, which includes a different version of directory. The hpc package is a core library (shipped with GHC itself), so rebuilding it is an indication that something's gone wrong. At a guess, I'd say you have some settings leaking in from your stack.yaml file.

@nponeccop
Copy link
Author

It looks like system ghc 8.0.1 was used somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants