stack build
accelerate > configure
accelerate > Configuring accelerate-1.0.0.0...
accelerate > build
accelerate > Building accelerate-1.0.0.0...
accelerate > Preprocessing library accelerate-1.0.0.0...
accelerate > [ 1 of 66] Compiling Data.Atomic ( Data/Atomic.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Data/Atomic.o )
accelerate > [ 2 of 66] Compiling Data.Array.Accelerate.Type ( Data/Array/Accelerate/Type.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Data/Array/Accelerate/Type.o )
accelerate > <command line>: can't load .so/.DLL for: /Users/dklypkin/.stack/snapshots/x86_64-osx/50255fe2db6e83b0971ea7ec0a25affd12c7d24f079b02fbce55f57793ddc25f/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHSbase-orphans-0.5.4-ABoxiBf7nXc7Qqh66CgYc9-ghc8.0.2.dylib (dlopen(/Users/dklypkin/.stack/snapshots/x86_64-osx/50255fe2db6e83b0971ea7ec0a25affd12c7d24f079b02fbce55f57793ddc25f/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHSbase-orphans-0.5.4-ABoxiBf7nXc7Qqh66CgYc9-ghc8.0.2.dylib, 5): REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB has segment 2 which is not a writable segment (__LINKEDIT) in /Users/dklypkin/.stack/snapshots/x86_64-osx/50255fe2db6e83b0971ea7ec0a25affd12c7d24f079b02fbce55f57793ddc25f/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHSbase-orphans-0.5.4-ABoxiBf7nXc7Qqh66CgYc9-ghc8.0.2.dylib)
Progress 1/2
-- While building package accelerate-1.0.0.0 (scroll up to its section to see the error) using:
/Users/dklypkin/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build --ghc-options ""
Process exited with code: ExitFailure 1
❯ nvim stack.yaml
❯ stack build
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for parconc-examples-0.4.7(+accelerate +distributed):
distributed-process must match >=0.5 && <0.7, but the stack configuration has no specified version (latest matching version is 0.6.6)
distributed-process-simplelocalnet must match ==0.2.*, but the stack configuration has no specified version (latest matching version
is 0.2.4)
repa must match >=3.2 && <3.5, but the stack configuration has no specified version (latest matching version is
3.4.1.4)
needed since parconc-examples is a build target.
Some different approaches to resolving this:
* Recommended action: try adding the following to your extra-deps
in /Users/dklypkin/haskell-projects/parallel-concurent-haskell/parconc-examples/stack.yaml:
- distributed-process-0.6.6@sha256:5958661e4bceb18f38e9eb9828a58d1c811102f84a74376d7b18b88cde8ba1e7,7086
- distributed-process-simplelocalnet-0.2.4@sha256:044a003f81a648f9fb9b1c7ae9cd8f753f5f1c32d9db5ff8b31e91e91f525ed7,3189
- repa-3.4.1.4@sha256:5a99bde69fe96a18d70aae23f47c8f719b1134558dca3ee5a7c15423b68a132e,3323
Plan construction failed.