-
Notifications
You must be signed in to change notification settings - Fork 718
Closed
Labels
Description
(Imported from Trac #807, reported by guest on 2011-03-05)
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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
bos commentedon May 24, 2012
(Imported comment by @dcoutts on 2011-03-05)
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?
bos commentedon May 24, 2012
(Imported comment by guest on 2011-03-05)
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.
bos commentedon May 24, 2012
(Imported comment by guest on 2011-03-06)
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.
bos commentedon May 24, 2012
(Imported comment by guest on 2011-03-06)
Have you had a chance to reproduce? Is there any more information I can provide you with?
nh2 commentedon Apr 14, 2013
I've just had this issue with the attoparsec benchmark:
Any idea what is going on?
onsails commentedon Jun 19, 2014
I caught this issue after compiling some packages with ghc-7.6.* and another with ghc-7.8.*. Silly me.
But the issue was even with
--force-reinstalls
option so aren't this packages supposed to be recompiled?gbaz commentedon Feb 7, 2018
Here's a newer description of what seems to be the problem (regarding test-suites and cyclic dependencies) that helps clear up the key issues involved: http://stackissue.com/tibbe/hashable/higher-kinded-classes-124.html
So this seems to be an instance of #1575
which has an unmerged (stalled?) pr that gives a solution at #3422
23Skidoo commentedon Feb 8, 2018
Closing in favour of #1575.