Alexander Bernauer | 4 Feb 22:51 2013
Picon

<package>-inplace is shadowed by package <package>-<hexstring>

Hi

I am trying to write criterion benchmarks for the pretty library.
Unfortunately, building the benchmark executable fails at some point
during the development with the following error message:

---8<---
<command line>: cannot satisfy -package-id pretty-1.1.1.1-inplace:
    pretty-1.1.1.1-inplace is shadowed by package
pretty-1.1.1.1-7bd0114e9691fca3d3447fc0133701cf
--->8---

I don't understand the cause of the error, let alone what I am
supposed to do next. Any help is much appreciated.

Here are the steps that lead to the above quoted error. Sorry, if this
is not the smallest counter example possible. As I said, I hardly
understand what is going on.

(the two patch files mentioned are attached to this email, virthualenv
is version 0.2.1)
---8<---
git clone https://github.com/haskell/pretty.git
cd pretty
git apply /tmp/0001-hello-world-setup.patch
export PATH=/opt/ghc-7.4.2/install/bin:/opt/haskell-platform-2012.4.0.0/install/bin:$PATH
~/.cabal/bin/virthualenv
source .virthualenv/bin/activate

cabal configure --user
(Continue reading)


Gmane