Skip to content

Compile failure with GHC 7.4 #301

@hvr

Description

@hvr

I guess some variant of Murphy's law applies: Travis script didn't test with GHC 7.4 and so the lower bound on containers wasn't validated (GHC 7.4.2 bundles containers-0.4.2.1):

Configuring component lib from distributed-process-0.6.6
Preprocessing library distributed-process-0.6.6...

src/Control/Distributed/Process/Internal/BiMultiMap.hs:20:18:
    Could not find module `Data.Map.Strict'
    It is a member of the hidden package `containers-0.5.1.0'.
    Perhaps you need to add `containers' to the build-depends in your .cabal file.
    It is a member of the hidden package `containers-0.5.2.1'.
    Perhaps you need to add `containers' to the build-depends in your .cabal file.
    It is a member of the hidden package `containers-0.5.8.1'.
    Perhaps you need to add `containers' to the build-depends in your .cabal file.
    It is a member of the hidden package `containers-0.5.0.0'.
    Perhaps you need to add `containers' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

In any case, the lower bound should be containers >= 0.5. However, there is not going to be any install-plan for GHC 7.4.2 w/ that constraint (so I'd suggest also setting base >= 4.6 to declare support for GHC 7.6/base-4.6 or later only)

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: distributed-process-0.6.6 (user goal)
next goal: containers (dependency of distributed-process-0.6.6)
rejecting: containers-0.4.2.1/installed-75f... (constraint from command line
flag requires >=0.5)
rejecting: containers-0.5.8.1, containers-0.5.7.1, containers-0.5.7.0,
containers-0.5.6.3, containers-0.5.6.2, containers-0.5.6.1,
containers-0.5.6.0, containers-0.5.5.1, containers-0.5.5.0,
containers-0.5.4.0, containers-0.5.3.1, containers-0.5.3.0,
containers-0.5.2.1, containers-0.5.2.0, containers-0.5.1.0, containers-0.5.0.0
(conflict: distributed-process => containers>=0.4 && <0.5)
rejecting: containers-0.4.2.1, containers-0.4.2.0, containers-0.4.1.0,
containers-0.4.0.0, containers-0.3.0.0, containers-0.2.0.1,
containers-0.2.0.0, containers-0.1.0.1, containers-0.1.0.0 (constraint from
command line flag requires >=0.5)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: distributed-process (50), containers
(27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions