Skip to content

new-build dependency solver failure with GHC 7.0 #4154

Closed
@hsenag

Description

@hsenag

I'm running

The Glorious Glasgow Haskell Compilation System, version 7.0.4
cabal-install version 1.24.0.1
compiled using version 1.24.1.0 of the Cabal library 

This command-line works fine with a clean sandbox:

cabal install HTTP-4000.3.3 --constraint 'time==1.1.2.3' --constraint 'entropy<0.2.2.4' \
        -f-warp-tests --constraint 'HUnit<1.4' --enable-tests

If I unpack HTTP-4000.3.3 and run this command-line in the unpacked folder, it fails in the dependency solver after several minutes:

cabal new-build --constraint 'time==1.1.2.3' --constraint 'entropy<0.2.2.4' \
        -f-warp-tests --constraint 'HUnit<1.4' --enable-tests --max-backjumps=-1

with

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: time-setup.Cabal~>entropy-setup.Cabal-1.20.0.4 (dependency of time-1.1.2.3)
trying: time-setup.time~>entropy-setup.time-1.1.2.3 (dependency of time-1.1.2.3)
Dependency tree exhaustively searched.

I'm not sure how to interpret the error message - the first line suggests it's trying to link the Cabal versions used for time and entropy's setup programs, but I'm not sure what the second line is about at all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions