Ticket #807 (new defect)

Opened 2 years ago

Last modified 15 months ago

inplace is shadowed by package

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Cabal library Version: HEAD
Severity: normal Keywords: test
Cc: greg@…, daniel@… Difficulty: unknown
GHC Version: Platform:

Description

I have a library, persistent, that builds. When I try to build the test suite, I get:

Preprocessing library persistent-0.4.0.1...
Preprocessing test suites for persistent-0.4.0.1...
Building persistent-0.4.0.1...
Registering persistent-0.4.0.1...
<command line>: cannot satisfy -package-id persistent-0.4.0.1-inplace: 
    persistent-0.4.0.1-inplace is shadowed by package persistent-0.4.0.1-f5ffa1e952f5d8b58608c8d1f9f69825
    (use -v for more information)

The test-suite build-depends has:

                   persistent >= 0.4.0.1,
                   persistent-mongoDB,
                   persistent-postgresql,
                   persistent-sqlite,

persistent-mongoDB (and postgresql and sqlite) depends on persistent to build. I have tried this twice now from a fairly clean install- immediately after upgrading to a new version of ghc.

Change History

Changed 2 years ago by duncan

Can you tell us what ghc version you're using? Is it 6.12.1?

Can you point us to a concrete example so we can reproduce it?

Changed 2 years ago by guest

I received the same result on 6 (6.12 I presume), 7.01 and 7.02

github.com:gregwebs/persistent.git branch mongoDB5

To attempt to run the tests you will need to install persistent, then cd to the backends directory and cabal install for sqlite,postgresql, and MongoDB, then come back to root persistent directory and try to run the tests.

Changed 2 years ago by guest

  • version changed from 1.8.0.6 to HEAD

I created an account in the hopes that commenting here will give me email updates for this issue. Here is the proper cloning url:  http://github.com/gregwebs/persistent.git

I am using cabal compiled from HEAD less than a month ago.

Changed 2 years ago by GregWeber

  • cc greg@… added

Changed 2 years ago by guest

Have you had a chance to reproduce? Is there any more information I can provide you with?

Changed 15 months ago by dmwit

  • cc daniel@… added
Note: See TracTickets for help on using tickets.