hothasktags icon indicating copy to clipboard operation
hothasktags copied to clipboard

Build failure (missing upper bounds?)

Open andreasabel opened this issue 4 years ago • 0 comments

Build fails, likely there is a missing upper bound on haskell-src-exts.

$ cabal install hothasktags
Resolving dependencies...
Build profile: -w ghc-9.0.1 -O1
In order, the following will be built (use -v for more details):
 - haskell-src-exts-1.23.1 (lib) (requires build)
 - old-locale-1.0.0.7 (lib) (requires build)
 - unix-compat-0.5.3 (lib) (requires build)
 - old-time-1.1.0.3 (lib:old-time) (requires build)
 - filemanip-0.3.6.3 (lib:filemanip) (requires build)
 - cpphs-1.19.3 (lib:cpphs) (requires download & build)
 - hothasktags-0.3.5 (exe:hothasktags) (requires download & build)
... 
Building executable 'hothasktags' for hothasktags-0.3.5..
[1 of 1] Compiling Main             ( Main.hs, dist/build/hothasktags/hothasktags-tmp/Main.o )

Main.hs:7:1: error:
    Could not find module ‘Language.Haskell.Exts.Annotated’
    Perhaps you meant
      Language.Haskell.Exts.Syntax (needs flag -package-id haskell-src-exts-1.21.1)
      Language.Haskell.Exts.Syntax (needs flag -package-id haskell-src-exts-1.23.1)
      Language.Haskell.Exts.Syntax (from haskell-src-exts-1.23.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
7 | import qualified Language.Haskell.Exts.Annotated as L
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build hothasktags-0.3.5.

andreasabel avatar Mar 15 '21 11:03 andreasabel