Skip to content

Error: directory-1.2.1.0-[...] is shadowed by package directory-1.2.1.0-[...] #1025

@bitemyapp

Description

@bitemyapp
Installing library in
/home/callen/work/bloodhound/.stack-work/install/x86_64-linux/lts-2.18/7.8.4/lib/x86_64-linux-ghc-7.8.4/bloodhound-0.8.0.0
Registering bloodhound-0.8.0.0...
Progress: 24/25
--  While building package doctest-0.10.1 using:
      /home/callen/.stack/setup-exe-cache/setup-Simple-Cabal-1.18.1.5-x86_64-linux-ghc-7.8.4 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/ build --ghc-options -hpcdir .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/hpc/.hpc/ -ddump-hi -ddump-to-file
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/callen/work/bloodhound/.stack-work/logs/doctest-0.10.1.log

    Configuring doctest-0.10.1...
    Warning: This package indirectly depends on multiple versions of the same
    package. This is highly likely to cause a compile failure.
    package process-1.2.0.0 requires directory-1.2.1.0
    package doctest-0.10.1 requires directory-1.2.1.0
    package process-1.2.0.0 requires directory-1.2.1.0
    package hpc-0.6.0.1 requires directory-1.2.1.0
    package ghc-7.8.4 requires directory-1.2.1.0
    package Cabal-1.18.1.5 requires directory-1.2.1.0
    package ghc-7.8.4 requires process-1.2.0.0
    package Cabal-1.18.1.5 requires process-1.2.0.0
    package doctest-0.10.1 requires process-1.2.0.0
    package unix-2.7.0.1 requires time-1.4.2
    package hpc-0.6.0.1 requires time-1.4.2
    package ghc-7.8.4 requires time-1.4.2
    package directory-1.2.1.0 requires time-1.4.2
    package Cabal-1.18.1.5 requires time-1.4.2
    package unix-2.7.0.1 requires time-1.5.0.1
    package directory-1.2.1.0 requires time-1.5.0.1
    package process-1.2.0.0 requires unix-2.7.0.1
    package directory-1.2.1.0 requires unix-2.7.0.1
    package process-1.2.0.0 requires unix-2.7.0.1
    package ghc-7.8.4 requires unix-2.7.0.1
    package directory-1.2.1.0 requires unix-2.7.0.1
    package Cabal-1.18.1.5 requires unix-2.7.0.1
    Building doctest-0.10.1...
    Preprocessing library doctest-0.10.1...
    <command line>: cannot satisfy -package-id directory-1.2.1.0-012c0239af73dff37e458d712036a12e: 
        directory-1.2.1.0-012c0239af73dff37e458d712036a12e is shadowed by package directory-1.2.1.0-07cd1f59e3c6cac5e3e180019c59a115
        (use -v for more information)

https://github.com/bitemyapp/bloodhound/tree/aeson-0.10

Repro: stack test

stack clean and rm -rf .stack-work don't rectify it.

Incidentally, this mirrors a problem I was having at work as well on a very different sort of project but for the same upgrade (aeson-0.10).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions