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

Lithium impossible to build: sized-memory Data.ByteArray.Sized collides with same in memory #2

Open
mouse07410 opened this issue Apr 11, 2018 · 0 comments

Comments

@mouse07410
Copy link

mouse07410 commented Apr 11, 2018

$ $ runhaskell Setup.hs build
Preprocessing library for lithium-0.0.0..
Building library for lithium-0.0.0..
[ 1 of 45] Compiling Crypto.Lithium.Internal.Init ( Crypto/Lithium/Internal/Init.hs, dist/build/Crypto/Lithium/Internal/Init.o )
[ 2 of 45] Compiling Crypto.Lithium.Internal.Random ( Crypto/Lithium/Internal/Random.hs, dist/build/Crypto/Lithium/Internal/Random.o )
[ 3 of 45] Compiling Crypto.Lithium.Util.Init ( Crypto/Lithium/Util/Init.hs, dist/build/Crypto/Lithium/Util/Init.o )
[ 4 of 45] Compiling Crypto.Lithium.Util.Phantom ( Crypto/Lithium/Util/Phantom.hs, dist/build/Crypto/Lithium/Util/Phantom.o )
[ 5 of 45] Compiling Crypto.Lithium.Util.Secret ( Crypto/Lithium/Util/Secret.hs, dist/build/Crypto/Lithium/Util/Secret.o )

Crypto/Lithium/Util/Secret.hs:63:1: error:
    Ambiguous module name ‘Data.ByteArray.Sized’:
      it was found in multiple packages:
      memory-0.14.16 sized-memory-0.0.0
   |
63 | import Data.ByteArray.Sized as Sized
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ cabal --version
cabal-install version 2.0.0.1
compiled using version 2.0.1.1 of the Cabal library 
$ stack --version
Version 1.6.5, Git revision 24ab0d6ff07f28276e082c3ce74dfdeb1a2ca9e9 (5514 commits) x86_64 hpack-0.20.0
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.2
$ 
@mouse07410 mouse07410 changed the title Lithium impossible to build: sized-memory doesn't exist any more Lithium impossible to build: sized-memory Data.ByteArray.Sized collides with same in memory Apr 11, 2018
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

1 participant