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

Build failure with GHC 8.0 #107

Open
andreasabel opened this issue Oct 6, 2021 · 0 comments
Open

Build failure with GHC 8.0 #107

andreasabel opened this issue Oct 6, 2021 · 0 comments

Comments

@andreasabel
Copy link

The latest release (0.3.4.0) does not build with GHC 8.0.
Maybe some bounds have to be tightened.
See also

$ cabal install hsdev -w ghc-8.0.2
Resolving dependencies...
Build profile: -w ghc-8.0.2 -O1
In order, the following will be built (use -v for more details):
 - Only-0.1 (lib) (requires build)
 - SafeSemaphore-0.10.1 (lib) (requires download & build)
 - blaze-textual-0.2.2.1 (lib) (requires download & build)
 - base-unicode-symbols-0.2.4.2 (lib:base-unicode-symbols) (requires download & build)
 - cabal-doctest-1.0.8 (lib) (requires build)
 - call-stack-0.4.0 (lib) (requires build)
 - comonad-5.0.8 (lib) (requires build)
 - data-lens-light-0.1.2.3 (lib) (requires build)
 - ghc-paths-0.1.0.12 (lib:ghc-paths) (requires build)
 - groups-0.5.3 (lib) (requires download & build)
 - haddock-library-1.4.4 (lib:attoparsec) (requires download & build)
 - hfsevents-0.1.6 (lib) (requires build)
 - happy-1.20.0 (exe:happy) (requires build)
 - http-types-0.12.3 (lib) (requires build)
 - microlens-0.4.12.0 (lib) (requires build)
 - mmorph-1.1.5 (lib) (requires build)
 - polyparse-1.13 (lib) (requires build)
 - parallel-3.2.2.0 (lib) (requires build)
 - optparse-applicative-0.15.1.0 (lib) (requires build)
 - reflection-2.1.6 (lib) (requires build)
 - regex-base-0.94.0.1 (lib) (requires build)
 - semigroups-0.19.2 (lib) (requires build)
 - streaming-commons-0.2.2.1 (lib) (requires build)
 - syb-0.7.2.1 (lib) (requires build)
 - transformers-base-0.4.6 (lib) (requires build)
 - traverse-with-class-1.0.1.1 (lib) (requires download & build)
 - attoparsec-0.13.2.5 (lib) (requires build)
 - void-0.7.3 (lib) (requires build)
 - hformat-0.3.3.1 (lib) (requires download & build)
 - bifunctors-5.5.11 (lib) (requires build)
 - haddock-library-1.4.4 (lib) (requires download & build)
 - fsnotify-0.3.0.1 (lib) (requires build)
 - haskell-src-exts-1.23.1 (lib) (requires build)
 - microlens-th-0.4.3.10 (lib) (requires build)
 - microlens-mtl-0.2.0.1 (lib) (requires build)
 - microlens-ghc-0.4.13 (lib) (requires build)
 - cpphs-1.20.9.1 (lib) (requires build)
 - regex-pcre-builtin-0.95.2.3.8.44 (lib) (requires download & build)
 - direct-sqlite-2.3.26 (lib) (requires build)
 - http-client-0.6.4 (lib) (requires build)
 - uniplate-1.6.12 (lib:uniplate) (requires build)
 - monad-control-1.0.3.1 (lib) (requires build)
 - assoc-1.0.2 (lib) (requires build)
 - semigroupoids-5.3.5 (lib) (requires build)
 - profunctors-5.6.2 (lib) (requires build)
 - base-compat-batteries-0.12.0 (lib) (requires build)
 - haddock-api-2.17.4 (lib) (requires download & build)
 - microlens-platform-0.4.2 (lib) (requires build)
 - sqlite-simple-0.4.18.0 (lib) (requires build)
 - lifted-base-0.2.3.12 (lib) (requires build)
 - these-1.1.1.1 (lib) (requires build)
 - invariant-0.5.4 (lib) (requires build)
 - free-5.1.7 (lib) (requires build)
 - simple-log-0.9.12 (lib) (requires download & build)
 - strict-0.4.0.1 (lib) (requires build)
 - adjunctions-4.4 (lib) (requires build)
 - aeson-1.5.6.0 (lib) (requires build)
 - kan-extensions-5.2.3 (lib) (requires build)
 - aeson-pretty-0.8.8 (lib) (requires build)
 - haskell-names-0.9.9 (lib) (requires download & build)
 - hdocs-0.5.5.0 (lib) (requires download & build)
 - lens-4.19.2 (lib:lens) (requires build)
 - text-region-0.3.1.0 (lib) (requires download & build)
 - hsdev-0.3.4.0 (lib) (requires download & build)
 - hsdev-0.3.4.0 (exe:hsdev) (requires download & build)
...
Building library for hsdev-0.3.4.0..
...
[ 6 of 76] Compiling HsDev.Tools.Ghc.Compat ( src/HsDev/Tools/Ghc/Compat.hs, dist/build/HsDev/Tools/Ghc/Compat.o )

src/HsDev/Tools/Ghc/Compat.hs:59:1: error:
    Failed to load interface for ‘GHC.PackageDb’
    Perhaps you meant GHC.PackageDb (from ghc-boot-8.0.2)
Error: cabal: Failed to build hsdev-0.3.4.0 (which is required by exe:hsdev
from hsdev-0.3.4.0).
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

1 participant