Skip to content

Cabal Stuck On Installing Package Failure #7005

Closed
@dtheras

Description

@dtheras

Issue

I attempted to install 'hakyll' library package but cabal failed (banal - the package is out of date - submitted a pr).

cabal install --lib hakyll

HOWEVER, now attempting to install any other library produces the failed-to-install-hakyll message (see below).

cabal install --lib process
cabal install --lib yesod-core
cabal install --lib lifted-base

All three commands produce identical "failed to install hakyll" message, which is erroneous since obviously none of these depend on hakyll. I have never seen this behavior before.

Notes

  • Using new-install produces the same message about failing to install hakyll.
  • Attempting 'cabal install (package)' succeeds, but the follow up 'cabal install --lib (package)' still fails with the same hakyll warning.
  • Working directory is not in any folder with a cabal file. I've attempted the three lines in 4 different locations with identical results.

System

I am on recent macOS Catalina with the current ghc-8.10.1 / cabal-3.2.0.0

Banal failed to install hakyll message:

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: base-4.14.0.0/installed-4.14.0.0 (user goal)
[__1] trying: ghc-8.10.1/installed-8.10.1 (user goal)
[__2] next goal: hakyll (user goal)
[__2] rejecting: hakyll-4.13.4.0 (conflict: ghc =>
template-haskell==2.16.0.0/installed-2.16.0.0, hakyll =>
template-haskell>=2.14 && <2.16)
[__2] rejecting: hakyll-4.13.3.0, 
....
[__2] fail (backjumping, conflict set: ghc, hakyll)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: hakyll, ghc, base

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions