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

ghcide needs prettyprinter-1.7 to build #2875

Merged
merged 1 commit into from
Apr 30, 2022
Merged

Conversation

juhp
Copy link
Contributor

@juhp juhp commented Apr 30, 2022

fails with prettyprinter 1.6

[37 of 77] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
src/Development/IDE/Types/Logger.hs:57:1: error:
    Could not find module `Prettyprinter'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
57 | import           Prettyprinter                 as PrettyPrinterModule
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Development/IDE/Types/Logger.hs:58:1: error:
    Could not find module `Prettyprinter.Render.Text'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
58 | import           Prettyprinter.Render.Text     (renderStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghcide-1.7.0.0 (which is required by
exe:haskell-language-server from haskell-language-server-1.7.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.7.0.0). See
the build log above for details.

from https://download.copr.fedorainfracloud.org/results/petersen/haskell-language-server/fedora-34-x86_64/04345531-haskell-language-server/

fails with prettyprinter 1.6
```
[37 of 77] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
src/Development/IDE/Types/Logger.hs:57:1: error:
    Could not find module `Prettyprinter'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
57 | import           Prettyprinter                 as PrettyPrinterModule
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Development/IDE/Types/Logger.hs:58:1: error:
    Could not find module `Prettyprinter.Render.Text'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
58 | import           Prettyprinter.Render.Text     (renderStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghcide-1.7.0.0 (which is required by
exe:haskell-language-server from haskell-language-server-1.7.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.7.0.0). See
the build log above for details.
```
from https://download.copr.fedorainfracloud.org/results/petersen/haskell-language-server/fedora-34-x86_64/04345531-haskell-language-server/
@juhp juhp requested a review from pepeiborra as a code owner April 30, 2022 17:22
@juhp
Copy link
Contributor Author

juhp commented Apr 30, 2022

Probably would be good to do a Hackage revision too.

Copy link
Collaborator

@pepeiborra pepeiborra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hackage revision done, thanks for reporting!

@pepeiborra pepeiborra enabled auto-merge (squash) April 30, 2022 19:46
@pepeiborra pepeiborra merged commit 95e9e3a into haskell:master Apr 30, 2022
@juhp juhp deleted the patch-2 branch May 1, 2022 03:53
sloorush pushed a commit to sloorush/haskell-language-server that referenced this pull request May 21, 2022
fails with prettyprinter 1.6
```
[37 of 77] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
src/Development/IDE/Types/Logger.hs:57:1: error:
    Could not find module `Prettyprinter'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
57 | import           Prettyprinter                 as PrettyPrinterModule
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Development/IDE/Types/Logger.hs:58:1: error:
    Could not find module `Prettyprinter.Render.Text'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
58 | import           Prettyprinter.Render.Text     (renderStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghcide-1.7.0.0 (which is required by
exe:haskell-language-server from haskell-language-server-1.7.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.7.0.0). See
the build log above for details.
```
from https://download.copr.fedorainfracloud.org/results/petersen/haskell-language-server/fedora-34-x86_64/04345531-haskell-language-server/
hololeap pushed a commit to hololeap/haskell-language-server that referenced this pull request Aug 26, 2022
fails with prettyprinter 1.6
```
[37 of 77] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
src/Development/IDE/Types/Logger.hs:57:1: error:
    Could not find module `Prettyprinter'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
57 | import           Prettyprinter                 as PrettyPrinterModule
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Development/IDE/Types/Logger.hs:58:1: error:
    Could not find module `Prettyprinter.Render.Text'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
58 | import           Prettyprinter.Render.Text     (renderStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghcide-1.7.0.0 (which is required by
exe:haskell-language-server from haskell-language-server-1.7.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.7.0.0). See
the build log above for details.
```
from https://download.copr.fedorainfracloud.org/results/petersen/haskell-language-server/fedora-34-x86_64/04345531-haskell-language-server/
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

Successfully merging this pull request may close these issues.

2 participants