Error building hoogle and hindent
See original GitHub issueRepro:
- Open Haskell project
Expected: no errors Instead: 2 error popups with following text:
first
Executing `/home/develop7/bin/stack --stack-root /home/develop7/.intellij-haskell/lts-11 --resolver lts-11 --compiler ghc-8.2.2 --system-ghc --local-bin-path /home/develop7/.intellij-haskell/lts-11/bin install hoogle` failed: /home/develop7/bin/stack --stack-root /home/develop7/.intellij-haskell/lts-11 --resolver lts-11 --compiler ghc-8.2.2 --system-ghc --local-bin-path /home/develop7/.intellij-haskell/lts-11/bin install hoogle: Selected resolver: lts-11.13 Error: While constructing the build plan, the following exceptions were encountered: In the dependencies for hoogle-5.0.17.3: conduit-1.2.13 from stack configuration does not match >=1.3.0 (latest matching version is 1.3.0.2) needed since hoogle is a build target. Some different approaches to resolving this: * Set 'allow-newer: true' to ignore all version constraints and build anyway. * Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working build configuration. This can be convenient when dealing with many complicated constraint errors, but results may be unpredictable. * Recommended action: try adding the following to your extra-deps in /home/develop7/projects/stack/stack.yaml: - conduit-1.3.0.2 Plan construction failed.
Second
Executing `/home/develop7/bin/stack --stack-root /home/develop7/.intellij-haskell/lts-11 --resolver lts-11 --compiler ghc-8.2.2 --system-ghc --local-bin-path /home/develop7/.intellij-haskell/lts-11/bin install hindent` failed: /home/develop7/bin/stack --stack-root /home/develop7/.intellij-haskell/lts-11 --resolver lts-11 --compiler ghc-8.2.2 --system-ghc --local-bin-path /home/develop7/.intellij-haskell/lts-11/bin install hindent: Selected resolver: lts-11.13 hindent-5.2.5: configure hindent-5.2.5: build -- While building custom Setup.hs for package hindent-5.2.5 using: /home/develop7/.intellij-haskell/lts-11/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/develop7/projects/stack/.stack-work/logs/hindent-5.2.5.log Configuring hindent-5.2.5... Preprocessing library for hindent-5.2.5.. Building library for hindent-5.2.5.. [1 of 4] Compiling HIndent.CabalFile ( src/HIndent/CabalFile.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/HIndent/CabalFile.o ) /tmp/stack25945/hindent-5.2.5/src/HIndent/CabalFile.hs:11:1: error: Could not find module ‘Distribution.PackageDescription.Parse’ Perhaps you meant Distribution.PackageDescription.Parsec (from Cabal-2.2.0.1) Distribution.PackageDescription.Check (from Cabal-2.2.0.1) Distribution.PackageDescription.Quirks (from Cabal-2.2.0.1) Use -v to see a list of the files searched for. | 11 | import Distribution.PackageDescription.Parse | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: running above commands in a terminal succeeds.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Indentation Errors During BUILD · Issue #9653 · google/jax
The error disappears and the build is successful after manually fixing the BUILD file. Please: Check for duplicate issues. Provide a complete ...
Read more >error - Hoogle - Haskell.org
Throw pure errors. Use this function only to when you are sure that this branch of code execution is not possible. DO NOT...
Read more >Google Cloud Function crashing with error: Build failed
I am trying to run a deep learning model using Google Cloud functions. Just trying to load it but it gives the following...
Read more >Error Reporting | Google Cloud
Automatic and real-time. Real production problems can be hidden in mountains of data. Error Reporting helps you see the problems through the noise...
Read more >Google's home security system, Nest Secure's had a hidden ...
Google says that the microphone on Nest Secure was never meant to be hidden, product specification was missed it due to an internal...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting. Changed plugin so it will handle that case properly 😄
Ya, running
stack update
in intellij-haskell’s sandbox actually did update indexes.