Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox support: dependencies not found #34

Open
UnkindPartition opened this issue Oct 8, 2014 · 6 comments
Open

Sandbox support: dependencies not found #34

UnkindPartition opened this issue Oct 8, 2014 · 6 comments

Comments

@UnkindPartition
Copy link

When trying to run hdevtools in a cabal sandbox, I get this:

cannot satisfy -package-id aeson-0.7.0.6-0eee69c20a6ac37a1ed3f0a5b9fd0229:
    aeson-0.7.0.6-0eee69c20a6ac37a1ed3f0a5b9fd0229 is unusable due to missing or recursive dependencies:
      attoparsec-0.11.3.4-f914e42919eac942ba5e6ee1ac04790f hashable-1.2.2.0-0c662c50ab8227a1eba932300663cbb4 scientific-0.3.2.1-c6ed5dbaa429fdd1469cd78
c439876c9 unordered-containers-0.2.5.0-5e0d64c28dcd6c2a28787a3811ece1ea
    (use -v for more information)

Yet all of them are actually installed:

% cabal sandbox hc-pkg list  -- -v | grep -e aeson -e hashable -e attoparsec -e scientific -e unordered-containers
Timestamp 2014-10-03 08:20:16.482925464 UTC for /home/feuerbach/work/.cabal-sandbox/i386-linux-ghc-7.8.3-packages.conf.d/package.cache
Timestamp 2014-10-03 08:20:16 UTC for /home/feuerbach/work/.cabal-sandbox/i386-linux-ghc-7.8.3-packages.conf.d (older than cache)
Timestamp 2014-09-12 20:31:35.03885547 UTC for /opt/ghc783/lib/ghc-7.8.3/package.conf.d/package.cache
Timestamp 2014-09-12 20:31:34 UTC for /opt/ghc783/lib/ghc-7.8.3/package.conf.d (older than cache)
    aeson-0.7.0.6 (aeson-0.7.0.6-0eee69c20a6ac37a1ed3f0a5b9fd0229)
    attoparsec-0.11.3.4 (attoparsec-0.11.3.4-f914e42919eac942ba5e6ee1ac04790f)
    hashable-1.2.2.0 (hashable-1.2.2.0-0c662c50ab8227a1eba932300663cbb4)
    scientific-0.3.2.1 (scientific-0.3.2.1-c6ed5dbaa429fdd1469cd78c439876c9)
    unordered-containers-0.2.5.0 (unordered-containers-0.2.5.0-5e0d64c28dcd6c2a28787a3811ece1ea)
@UnkindPartition
Copy link
Author

cc @maximkulkin @schell

@schell
Copy link

schell commented Oct 8, 2014

That's funky - I'll try to recreate this. In the meantime please let me know if you figure it out. Just to be sure - is this from the newest version on hackage (0.1.0.6)?

@UnkindPartition
Copy link
Author

Correct.

@mitchty
Copy link

mitchty commented Nov 22, 2014

Not seeing the exact same error but close...ish, on OS X if that changes anything.

Resolving dependencies...
Configuring hdevtools-0.1.0.6...
Building hdevtools-0.1.0.6...
Failed to install hdevtools-0.1.0.6
Build log ( /Users/mitch/.cabal/logs/hdevtools-0.1.0.6.log ):
Configuring hdevtools-0.1.0.6...
Building hdevtools-0.1.0.6...
Preprocessing executable 'hdevtools' for hdevtools-0.1.0.6...
: cannot satisfy -package-id network-2.4.2.3-57541a17504b3dfc275f08128becdafc
(use -v for more information)
cabal: Error: some packages failed to install:
hdevtools-0.1.0.6 failed during the building phase. The exception was:
ExitFailure 1

@UnkindPartition
Copy link
Author

@mitchty no, that's completely different. My error is about using hdevtools, yours is about compiling hdevtools. Moreover, this is a problem not with hdevtools but with your package database or cabal setup. Try asking for help on IRC.

@schell
Copy link

schell commented Nov 24, 2014

@feuerbach, can you tell me briefly how you're using hdevtools? Is your bug reproducible with a simple

hdevtools check Main.hs

I can't seem to reproduce this yet, but to be honest I usually use hdevtools along with its vim plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants