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

Cannot install with haskell-platform 8.2.1 #2

Closed
rdavidso opened this issue Sep 10, 2017 · 3 comments
Closed

Cannot install with haskell-platform 8.2.1 #2

rdavidso opened this issue Sep 10, 2017 · 3 comments

Comments

@rdavidso
Copy link

When trying to install, I get this error:

# In file data-clist-0.1.2.0-GRWlwOEuIsQA9GA7i2yMwp.log
cabal: Entering directory '/tmp/cabal-tmp-30586/data-clist-0.1.2.0'
Configuring data-clist-0.1.2.0...
Preprocessing library for data-clist-0.1.2.0..
Building library for data-clist-0.1.2.0..
<command line>: cannot satisfy -package-id QuickCheck-2.10.0.1-DTIBC3CyU6p3h4xSnOjkg1: 
    QuickCheck-2.10.0.1-DTIBC3CyU6p3h4xSnOjkg1 is unusable due to shadowed dependencies:
      random-1.1-DtLcP2Z2iOOC0RwcSmXjBK tf-random-0.5-ABDhxe3mXYlHUEE5hzgewx
    (use -v for more information)
cabal: Leaving directory '/tmp/cabal-tmp-30586/data-clist-0.1.2.0'
@jtdaugherty
Copy link
Owner

Interesting; I don't know why that occurs, but tart builds successfully on non-HP installations of, say, GHC 8.2 and Cabal-install 2.0. I don't intend to support HP specifically, but I suspect this is spurious. Thanks for the report!

@rdavidso
Copy link
Author

I just tried doing GHC 8.2 and cabal-install 2.0 on their own, and things still seem to be broken surrounding microlens-0.4.8.1:

cabal: Entering directory '/tmp/cabal-tmp-27671/microlens-mtl-0.1.11.0'
Configuring microlens-mtl-0.1.11.0...
Preprocessing library for microlens-mtl-0.1.11.0..
Building library for microlens-mtl-0.1.11.0..
[1 of 2] Compiling Lens.Micro.Mtl.Internal ( src/Lens/Micro/Mtl/Internal.hs, dist/build/Lens/Micro/Mtl/Internal.o )

src/Lens/Micro/Mtl/Internal.hs:70:1: error:
    Could not find module ‘Lens.Micro’
    There are files missing in the ‘microlens-0.4.8.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
70 | import Lens.Micro
   | ^^^^^^^^^^^^^^^^^

src/Lens/Micro/Mtl/Internal.hs:71:1: error:
    Could not find module ‘Lens.Micro.Internal’
    There are files missing in the ‘microlens-0.4.8.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
71 | import Lens.Micro.Internal
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-27671/microlens-mtl-0.1.11.0'

@jtdaugherty
Copy link
Owner

Interesting - I am able to build both microlens-0.4.8.1 and microlens-mtl-0.1.11.0 without that error. Do you get different results if you rm -r ~/.cabal/store/ghc-8.2.1?

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