input-output-hk / cardano-sl

Cryptographic currency implementing Ouroboros PoS protocol
Apache License 2.0
3.76k stars 632 forks source link

Can't load .so/.DLL for: /nix/store/...-glibc-2.25-49/lib/libdl.so symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 #1784

Closed tanzeelrana closed 6 years ago

tanzeelrana commented 7 years ago

monad-par-0.3.4.8: copy/register lens-4.15.4: copy/register plutus-prototype-0.1.0.0: configure (lib) plutus-prototype-0.1.0.0: build (lib) vector-algorithms-0.7.0.1: copy/register plutus-prototype-0.1.0.0: copy/register Progress: 150/156 -- While building package aeson-1.1.2.0 using: /home/tanzeel/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/tanzeel/Dev/crypto/cardano-sl/.stack-work/logs/aeson-1.1.2.0.log

Configuring aeson-1.1.2.0...
Building aeson-1.1.2.0...
Preprocessing library aeson-1.1.2.0...
[ 1 of 21] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Internal.o )
[ 2 of 21] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Generic.o )
[ 3 of 21] Compiling Data.Aeson.Parser.UnescapeFFI ( ffi/Data/Aeson/Parser/UnescapeFFI.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/UnescapeFFI.o )
[ 4 of 21] Compiling Data.Aeson.Parser.Unescape ( Data/Aeson/Parser/Unescape.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Unescape.o )
[ 5 of 21] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Internal.o )
<command line>: can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)

-- While building package optparse-applicative-0.13.2.0 using: /home/tanzeel/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/tanzeel/Dev/crypto/cardano-sl/.stack-work/logs/optparse-applicative-0.13.2.0.log

Configuring optparse-applicative-0.13.2.0...
Building optparse-applicative-0.13.2.0...
Preprocessing library optparse-applicative-0.13.2.0...
[ 1 of 15] Compiling Options.Applicative.Help.Pretty ( Options/Applicative/Help/Pretty.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Pretty.o )
[ 2 of 15] Compiling Options.Applicative.Help.Chunk ( Options/Applicative/Help/Chunk.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Chunk.o )
[ 3 of 15] Compiling Options.Applicative.Help.Types ( Options/Applicative/Help/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Types.o )
[ 4 of 15] Compiling Options.Applicative.Types ( Options/Applicative/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Types.o )
[ 5 of 15] Compiling Options.Applicative.Internal ( Options/Applicative/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Internal.o )
[ 6 of 15] Compiling Options.Applicative.Common ( Options/Applicative/Common.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Common.o )
[ 7 of 15] Compiling Options.Applicative.Help.Core ( Options/Applicative/Help/Core.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Core.o )
<command line>: can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)

[nix-shell:~/Dev/crypto/cardano-sl]$

omefire commented 7 years ago

I recently faced this issue, You need to install rocksdb's lib I resolved it with this (if using Ubuntu) :

sudo apt-get update
sudo apt-get install librocksdb-dev

Also, I side-stepped nix-shell (that might help too).

skecskes commented 7 years ago

I have very same problem as @tanzeelrana on Ubuntu 16.04 LTS. The instructions from @omefire didn't help to sort out problem.

tanzeelrana commented 7 years ago

likewise @skecskes

tanzeelrana commented 7 years ago

[nix-shell:~/cardano-sl]$ cat /home/tanzeel/cardano-sl/.stack-work/logs/optparse-applicative-0.13.2.0.log Configuring optparse-applicative-0.13.2.0... Building optparse-applicative-0.13.2.0... Preprocessing library optparse-applicative-0.13.2.0... [ 1 of 15] Compiling Options.Applicative.Help.Pretty ( Options/Applicative/Help/Pretty.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Pretty.o ) [ 2 of 15] Compiling Options.Applicative.Help.Chunk ( Options/Applicative/Help/Chunk.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Chunk.o ) [ 3 of 15] Compiling Options.Applicative.Help.Types ( Options/Applicative/Help/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Types.o ) [ 4 of 15] Compiling Options.Applicative.Types ( Options/Applicative/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Types.o ) [ 5 of 15] Compiling Options.Applicative.Internal ( Options/Applicative/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Internal.o ) [ 6 of 15] Compiling Options.Applicative.Common ( Options/Applicative/Common.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Common.o ) [ 7 of 15] Compiling Options.Applicative.Help.Core ( Options/Applicative/Help/Core.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Core.o ) : can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)

[nix-shell:~/cardano-sl]$

omefire commented 7 years ago

@tanzeelrana, Try running things out of nix-shell, that worked for me.

skecskes commented 7 years ago

So I was following steps from here: https://cardanodocs.com/for-contributors/building-from-source/. I had problem same as above when I run [nix-shell:~/cardano-sl]$ ./scripts/build/cardano-sl.sh in nix-shell. (Thanks @omefire for tip)

My steps to build Cardano-sl on Ubuntu 16.04 were:

tanzeelrana commented 7 years ago

Still no luck. There seems to be some steps still missing in the instructions for building from source for linux.

Configuring aeson-1.1.2.0... Building aeson-1.1.2.0... Preprocessing library aeson-1.1.2.0... [ 1 of 21] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Internal.o ) [ 2 of 21] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Generic.o ) [ 3 of 21] Compiling Data.Aeson.Parser.UnescapeFFI ( ffi/Data/Aeson/Parser/UnescapeFFI.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/UnescapeFFI.o ) [ 4 of 21] Compiling Data.Aeson.Parser.Unescape ( Data/Aeson/Parser/Unescape.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Unescape.o ) [ 5 of 21] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Internal.o ) <command line>: can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)

domenkozar commented 7 years ago

Upstream issue: https://github.com/NixOS/nixpkgs/issues/31846

nh2 commented 7 years ago

We're seeing this too.

tanzeelrana commented 6 years ago

*** Downloading ‘https://cache.nixos.org/nar/0m03h59ka5hdf012svzz8p4jb77qcilfzcgkn0hidlr8k4ppr4aj.nar.xz’ to ‘/nix/store/r556bjkg62fh4mxpfqpa9rpjcvbylg6z-xz-5.2.3-bin’... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 41864 100 41864 0 0 41864 0 0:00:01 --:--:-- 0:00:01 196k

fetching path ‘/nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv’...

*** Downloading ‘https://cache.nixos.org/nar/1x9zq6j2dcik9qdm9afbic1k78pli3jcgjri0hxq8w3dgk2kqk61.nar.xz’ to ‘/nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv’... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9220 100 9220 0 0 9220 0 0:00:01 --:--:-- 0:00:01 57267

fetching path ‘/nix/store/vj04r9vz6ml68cj67n68p9yf15js65qv-stdenv’...

*** Downloading ‘https://cache.nixos.org/nar/146s1fcj5if8iapdmdg27s9z34r9zb5zj150rml5qy95ysh9pvjm.nar.xz’ to ‘/nix/store/vj04r9vz6ml68cj67n68p9yf15js65qv-stdenv’... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9188 100 9188 0 0 9188 0 0:00:01 --:--:-- 0:00:01 41954

building path(s) ‘/nix/store/nk1s8b0sbzi79cpg3yimdn2svlvi31f7-remove-references-to’ checking path(s) ‘/nix/store/dy6fgcgjabf9akc7wkb9pna4nrzjd8ci-aeson-1.1.2.0-doc’, ‘/nix/store/z07gd9fvzr65vp65yjqypldp3zvxar32-aeson-1.1.2.0’ setupCompilerEnvironmentPhase Build with /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2. unpacking sources unpacking source archive /nix/store/srh2sihjrrsnknd0ykp7m632i1inmk49-aeson-1.1.2.0.tar.gz source root is aeson-1.1.2.0 setting SOURCE_DATE_EPOCH to timestamp 1492708024 of file aeson-1.1.2.0/tests/UnitTests/NullaryConstructors.hs patching sources Replace Cabal file with edited version from http://hackage.haskell.org/package/aeson-1.1.2.0/revision/1.cabal. compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-aeson-1.1.2.0.drv-0/package.conf.d -j4 -threaded [1 of 1] Compiling Main ( Setup.lhs, /tmp/nix-build-aeson-1.1.2.0.drv-0/Main.o ) Linking Setup ... configuring configureFlags: --verbose --prefix=/nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/1qdb93rd0rc6b4hz4gzzhcxdfammn8k7-aeson-1.1.2.0-doc/share/doc --with-gcc=gcc --package-db=/tmp/nix-build-aeson-1.1.2.0.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/aeson-1.1.2.0 --ghc-option=-j4 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --disable-tests --ghc-option=-split-sections Configuring aeson-1.1.2.0... Flags chosen: cffi=True, bytestring-builder=False, fast=False, developer=False Dependency attoparsec >=0.13.0.1: using attoparsec-0.13.1.0 Dependency base >=4.5 && <5: using base-4.9.1.0 Dependency base-compat >=0.9.1 && <0.10: using base-compat-0.9.3 Dependency bytestring >=0.10.4: using bytestring-0.10.8.1 Dependency containers >=0.2.4.1: using containers-0.5.7.1 Dependency deepseq >=1.3: using deepseq-1.4.2.0 Dependency dlist >=0.2: using dlist-0.8.0.3 Dependency ghc-prim >=0.2: using ghc-prim-0.5.0.0 Dependency hashable >=1.1.2.0: using hashable-1.2.6.1 Dependency scientific >=0.3.4.7 && <0.4: using scientific-0.3.5.2 Dependency tagged >=0.8.3 && <0.9: using tagged-0.8.5 Dependency template-haskell >=2.7: using template-haskell-2.11.1.0 Dependency text >=1.1.1.0: using text-1.2.2.2 Dependency time >=1.1.1.4: using time-1.6.0.1 Dependency time-locale-compat >=0.1.1 && <0.2: using time-locale-compat-0.1.1.3 Dependency unordered-containers >=0.2.5.0: using unordered-containers-0.2.8.0 Dependency uuid-types >=1.0.3 && <1.1: using uuid-types-1.0.3 Dependency vector >=0.8: using vector-0.12.0.1 Using Cabal-1.24.2.0 compiled by ghc-8.0 Using compiler: ghc-8.0.2 Using install prefix: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0 Binaries installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/bin Libraries installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/aeson-1.1.2.0 Dynamic libraries installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/x86_64-linux-ghc-8.0.2 Private binaries installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/libexec Data files installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/share/x86_64-linux-ghc-8.0.2/aeson-1.1.2.0 Documentation installed in: /nix/store/1qdb93rd0rc6b4hz4gzzhcxdfammn8k7-aeson-1.1.2.0-doc/share/doc Configuration files installed in: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/etc No alex found Using ar found on system at: /nix/store/yha4q7zgm6y0ci0b57a8hbmzwyvv1w44-binutils-2.28.1/bin/ar No c2hs found No cpphs found Using gcc version 6.4.0 given by user at: /nix/store/yjh21h38fmw3i4h2b5r557p4ggbvrd0v-gcc-wrapper-6.4.0/bin/gcc Using ghc version 8.0.2 found on system at: /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2/bin/ghc Using ghc-pkg version 8.0.2 found on system at: /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.17.3 found on system at: /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2/bin/haddock No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2/bin/hpc Using hsc2hs version 0.68.1 found on system at: /nix/store/d7pa43zz28cxmmbnk8aw1fsdlwhizcmm-ghc-8.0.2/bin/hsc2hs Using hscolour version 1.24 found on system at: /nix/store/bx21s5qjz1l75kb40pjg8kkppj7gk3g1-hscolour-1.24.1/bin/HsColour No jhc found Using ld found on system at: /nix/store/yjh21h38fmw3i4h2b5r557p4ggbvrd0v-gcc-wrapper-6.4.0/bin/ld No lhc found No lhc-pkg found No pkg-config found Using strip version 2.28 found on system at: /nix/store/yha4q7zgm6y0ci0b57a8hbmzwyvv1w44-binutils-2.28.1/bin/strip Using tar found on system at: /nix/store/7lx6bha6l22vi5h9c31nri1p7rqs7v1d-gnutar-1.29/bin/tar No uhc found building Building aeson-1.1.2.0... Preprocessing library aeson-1.1.2.0... [ 1 of 21] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.o ) [ 2 of 21] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, dist/build/Data/Aeson/Types/Generic.o ) [ 3 of 21] Compiling Data.Aeson.Parser.UnescapeFFI ( ffi/Data/Aeson/Parser/UnescapeFFI.hs, dist/build/Data/Aeson/Parser/UnescapeFFI.o ) [ 4 of 21] Compiling Data.Aeson.Parser.Unescape ( Data/Aeson/Parser/Unescape.hs, dist/build/Data/Aeson/Parser/Unescape.o ) [ 5 of 21] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, dist/build/Data/Aeson/Parser/Internal.o ) [ 6 of 21] Compiling Data.Aeson.Parser ( Data/Aeson/Parser.hs, dist/build/Data/Aeson/Parser.o ) [ 7 of 21] Compiling Data.Aeson.Internal.Time ( Data/Aeson/Internal/Time.hs, dist/build/Data/Aeson/Internal/Time.o ) [ 8 of 21] Compiling Data.Aeson.Parser.Time ( Data/Aeson/Parser/Time.hs, dist/build/Data/Aeson/Parser/Time.o ) [ 9 of 21] Compiling Data.Aeson.Internal.Functions ( Data/Aeson/Internal/Functions.hs, dist/build/Data/Aeson/Internal/Functions.o ) [10 of 21] Compiling Data.Aeson.Types.FromJSON ( Data/Aeson/Types/FromJSON.hs, dist/build/Data/Aeson/Types/FromJSON.o )

Data/Aeson/Types/FromJSON.hs:470:3: warning: [-Winline-rule-shadowing] Rule "FromJSONKeyCoerce: fmap id" may never fire because ‘id’ might inline first Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘id’ [11 of 21] Compiling Data.Aeson.Internal ( Data/Aeson/Internal.hs, dist/build/Data/Aeson/Internal.o ) [12 of 21] Compiling Data.Aeson.Encoding.Builder ( Data/Aeson/Encoding/Builder.hs, dist/build/Data/Aeson/Encoding/Builder.o ) [13 of 21] Compiling Data.Aeson.Encoding.Internal ( Data/Aeson/Encoding/Internal.hs, dist/build/Data/Aeson/Encoding/Internal.o ) [14 of 21] Compiling Data.Aeson.Encoding ( Data/Aeson/Encoding.hs, dist/build/Data/Aeson/Encoding.o ) [15 of 21] Compiling Data.Aeson.Types.ToJSON ( Data/Aeson/Types/ToJSON.hs, dist/build/Data/Aeson/Types/ToJSON.o ) [16 of 21] Compiling Data.Aeson.Types.Class ( Data/Aeson/Types/Class.hs, dist/build/Data/Aeson/Types/Class.o ) [17 of 21] Compiling Data.Aeson.Types ( Data/Aeson/Types.hs, dist/build/Data/Aeson/Types.o ) [18 of 21] Compiling Data.Aeson.Text ( Data/Aeson/Text.hs, dist/build/Data/Aeson/Text.o ) [19 of 21] Compiling Data.Aeson ( Data/Aeson.hs, dist/build/Data/Aeson.o ) [20 of 21] Compiling Data.Aeson.Encode ( Data/Aeson/Encode.hs, dist/build/Data/Aeson/Encode.o ) [21 of 21] Compiling Data.Aeson.TH ( Data/Aeson/TH.hs, dist/build/Data/Aeson/TH.o ) haddockPhase Running Haddock for aeson-1.1.2.0... Running hscolour for aeson-1.1.2.0... Preprocessing library aeson-1.1.2.0... Preprocessing library aeson-1.1.2.0... Haddock coverage: 97% ( 33 / 34) in 'Data.Aeson.Types.Internal' Missing documentation for: JSONPath (Data/Aeson/Types/Internal.hs:105) 30% ( 3 / 10) in 'Data.Aeson.Types.Generic' Missing documentation for: IsRecord (Data/Aeson/Types/Generic.hs:46) AllNullary (Data/Aeson/Types/Generic.hs:68) Tagged2 (Data/Aeson/Types/Generic.hs:82) True (Data/Aeson/Types/Generic.hs:86) False (Data/Aeson/Types/Generic.hs:87) And (Data/Aeson/Types/Generic.hs:89) ProductSize (Data/Aeson/Types/Generic.hs:106) 0% ( 0 / 2) in 'Data.Aeson.Parser.UnescapeFFI' Missing documentation for: Module header unescapeText (ffi/Data/Aeson/Parser/UnescapeFFI.hs:50) 0% ( 0 / 2) in 'Data.Aeson.Parser.Unescape' Missing documentation for: Module header unescapeText (ffi/Data/Aeson/Parser/UnescapeFFI.hs:50) 73% ( 11 / 15) in 'Data.Aeson.Parser.Internal' Missing documentation for: decodeWith (Data/Aeson/Parser/Internal.hs:236) decodeStrictWith (Data/Aeson/Parser/Internal.hs:245) eitherDecodeWith (Data/Aeson/Parser/Internal.hs:253) eitherDecodeStrictWith (Data/Aeson/Parser/Internal.hs:263) 73% ( 11 / 15) in 'Data.Aeson.Parser' Missing documentation for: decodeWith (Data/Aeson/Parser/Internal.hs:236) decodeStrictWith (Data/Aeson/Parser/Internal.hs:245) eitherDecodeWith (Data/Aeson/Parser/Internal.hs:253) eitherDecodeStrictWith (Data/Aeson/Parser/Internal.hs:263) 33% ( 2 / 6) in 'Data.Aeson.Internal.Time' Missing documentation for: fromPico (Data/Aeson/Internal/Time.hs:34) toPico (Data/Aeson/Internal/Time.hs:31) diffTimeOfDay64 (Data/Aeson/Internal/Time.hs:54) toTimeOfDay64 (Data/Aeson/Internal/Time.hs:60) 100% ( 8 / 8) in 'Data.Aeson.Parser.Time' 100% ( 4 / 4) in 'Data.Aeson.Internal.Functions' 96% ( 43 / 45) in 'Data.Aeson.Types.FromJSON' Missing documentation for: Module header parseOptionalFieldWith (Data/Aeson/Types/FromJSON.hs:226) 88% ( 7 / 8) in 'Data.Aeson.Internal' Missing documentation for: JSONPath (Data/Aeson/Types/Internal.hs:105) 48% ( 10 / 21) in 'Data.Aeson.Encoding.Builder' Missing documentation for: emptyArray (Data/Aeson/Encoding/Builder.hs:156) emptyObject (Data/Aeson/Encoding/Builder.hs:159) object (Data/Aeson/Encoding/Builder.hs:105) day (Data/Aeson/Encoding/Builder.hs:188) localTime (Data/Aeson/Encoding/Builder.hs:257) utcTime (Data/Aeson/Encoding/Builder.hs:253) timeOfDay (Data/Aeson/Encoding/Builder.hs:205) zonedTime (Data/Aeson/Encoding/Builder.hs:261) ascii2 (Data/Aeson/Encoding/Builder.hs:162) ascii4 (Data/Aeson/Encoding/Builder.hs:166) ascii5 (Data/Aeson/Encoding/Builder.hs:171) 22% ( 17 / 76) in 'Data.Aeson.Encoding.Internal' Missing documentation for: Module header encodingToLazyByteString (Data/Aeson/Encoding/Internal.hs:93) retagEncoding (Data/Aeson/Encoding/Internal.hs:97) pair (Data/Aeson/Encoding/Internal.hs:125) pair' (Data/Aeson/Encoding/Internal.hs:128) nullEncoding (Data/Aeson/Encoding/Internal.hs:140) emptyArray (Data/Aeson/Encoding/Internal.hs:143) emptyObject (Data/Aeson/Encoding/Internal.hs:146) wrapObject (Data/Aeson/Encoding/Internal.hs:152) wrapArray (Data/Aeson/Encoding/Internal.hs:149) null_ (Data/Aeson/Encoding/Internal.hs:155) bool (Data/Aeson/Encoding/Internal.hs:158) text (Data/Aeson/Encoding/Internal.hs:219) lazyText (Data/Aeson/Encoding/Internal.hs:222) string (Data/Aeson/Encoding/Internal.hs:227) list (Data/Aeson/Encoding/Internal.hs:168) empty (Data/Aeson/Encoding/Internal.hs:197)

< (Data/Aeson/Encoding/Internal.hs:204) econcat (Data/Aeson/Encoding/Internal.hs:200) int8 (Data/Aeson/Encoding/Internal.hs:246) int16 (Data/Aeson/Encoding/Internal.hs:249) int32 (Data/Aeson/Encoding/Internal.hs:252) int64 (Data/Aeson/Encoding/Internal.hs:255) int (Data/Aeson/Encoding/Internal.hs:258) word8 (Data/Aeson/Encoding/Internal.hs:261) word16 (Data/Aeson/Encoding/Internal.hs:264) word32 (Data/Aeson/Encoding/Internal.hs:267) word64 (Data/Aeson/Encoding/Internal.hs:270) word (Data/Aeson/Encoding/Internal.hs:273) integer (Data/Aeson/Encoding/Internal.hs:276) float (Data/Aeson/Encoding/Internal.hs:279) double (Data/Aeson/Encoding/Internal.hs:282) scientific (Data/Aeson/Encoding/Internal.hs:285) int8Text (Data/Aeson/Encoding/Internal.hs:298) int16Text (Data/Aeson/Encoding/Internal.hs:301) int32Text (Data/Aeson/Encoding/Internal.hs:304) int64Text (Data/Aeson/Encoding/Internal.hs:307) intText (Data/Aeson/Encoding/Internal.hs:310) word8Text (Data/Aeson/Encoding/Internal.hs:313) word16Text (Data/Aeson/Encoding/Internal.hs:316) word32Text (Data/Aeson/Encoding/Internal.hs:319) word64Text (Data/Aeson/Encoding/Internal.hs:322) wordText (Data/Aeson/Encoding/Internal.hs:325) integerText (Data/Aeson/Encoding/Internal.hs:328) floatText (Data/Aeson/Encoding/Internal.hs:331) doubleText (Data/Aeson/Encoding/Internal.hs:334) scientificText (Data/Aeson/Encoding/Internal.hs:337) day (Data/Aeson/Encoding/Internal.hs:344) localTime (Data/Aeson/Encoding/Internal.hs:347) utcTime (Data/Aeson/Encoding/Internal.hs:350) timeOfDay (Data/Aeson/Encoding/Internal.hs:353) zonedTime (Data/Aeson/Encoding/Internal.hs:356) value (Data/Aeson/Encoding/Internal.hs:363) comma (Data/Aeson/Encoding/Internal.hs:234) colon (Data/Aeson/Encoding/Internal.hs:234) openBracket (Data/Aeson/Encoding/Internal.hs:234) closeBracket (Data/Aeson/Encoding/Internal.hs:234) openCurly (Data/Aeson/Encoding/Internal.hs:234) closeCurly (Data/Aeson/Encoding/Internal.hs:234) 25% ( 15 / 61) in 'Data.Aeson.Encoding' Missing documentation for: encodingToLazyByteString (Data/Aeson/Encoding/Internal.hs:93) pair (Data/Aeson/Encoding/Internal.hs:125) pair' (Data/Aeson/Encoding/Internal.hs:128) nullEncoding (Data/Aeson/Encoding/Internal.hs:140) emptyArray (Data/Aeson/Encoding/Internal.hs:143) emptyObject (Data/Aeson/Encoding/Internal.hs:146) text (Data/Aeson/Encoding/Internal.hs:219) lazyText (Data/Aeson/Encoding/Internal.hs:222) string (Data/Aeson/Encoding/Internal.hs:227) list (Data/Aeson/Encoding/Internal.hs:168) null_ (Data/Aeson/Encoding/Internal.hs:155) bool (Data/Aeson/Encoding/Internal.hs:158) int8 (Data/Aeson/Encoding/Internal.hs:246) int16 (Data/Aeson/Encoding/Internal.hs:249) int32 (Data/Aeson/Encoding/Internal.hs:252) int64 (Data/Aeson/Encoding/Internal.hs:255) int (Data/Aeson/Encoding/Internal.hs:258) word8 (Data/Aeson/Encoding/Internal.hs:261) word16 (Data/Aeson/Encoding/Internal.hs:264) word32 (Data/Aeson/Encoding/Internal.hs:267) word64 (Data/Aeson/Encoding/Internal.hs:270) word (Data/Aeson/Encoding/Internal.hs:273) integer (Data/Aeson/Encoding/Internal.hs:276) float (Data/Aeson/Encoding/Internal.hs:279) double (Data/Aeson/Encoding/Internal.hs:282) scientific (Data/Aeson/Encoding/Internal.hs:285) int8Text (Data/Aeson/Encoding/Internal.hs:298) int16Text (Data/Aeson/Encoding/Internal.hs:301) int32Text (Data/Aeson/Encoding/Internal.hs:304) int64Text (Data/Aeson/Encoding/Internal.hs:307) intText (Data/Aeson/Encoding/Internal.hs:310) word8Text (Data/Aeson/Encoding/Internal.hs:313) word16Text (Data/Aeson/Encoding/Internal.hs:316) word32Text (Data/Aeson/Encoding/Internal.hs:319) word64Text (Data/Aeson/Encoding/Internal.hs:322) wordText (Data/Aeson/Encoding/Internal.hs:325) integerText (Data/Aeson/Encoding/Internal.hs:328) floatText (Data/Aeson/Encoding/Internal.hs:331) doubleText (Data/Aeson/Encoding/Internal.hs:334) scientificText (Data/Aeson/Encoding/Internal.hs:337) day (Data/Aeson/Encoding/Internal.hs:344) localTime (Data/Aeson/Encoding/Internal.hs:347) utcTime (Data/Aeson/Encoding/Internal.hs:350) timeOfDay (Data/Aeson/Encoding/Internal.hs:353) zonedTime (Data/Aeson/Encoding/Internal.hs:356) value (Data/Aeson/Encoding/Internal.hs:363) 93% ( 27 / 29) in 'Data.Aeson.Types.ToJSON' Missing documentation for: Module header ToJSONKeyFunction (Data/Aeson/Types/ToJSON.hs:461) 99% ( 66 / 67) in 'Data.Aeson.Types.Class' Missing documentation for: ToJSONKeyFunction (Data/Aeson/Types/ToJSON.hs:461) 99% ( 90 / 91) in 'Data.Aeson.Types' Missing documentation for: ToJSONKeyFunction (Data/Aeson/Types/ToJSON.hs:461) 100% ( 3 / 3) in 'Data.Aeson.Text' 99% ( 88 / 89) in 'Data.Aeson' Missing documentation for: ToJSONKeyFunction (Data/Aeson/Types/ToJSON.hs:461) 33% ( 1 / 3) in 'Data.Aeson.Encode' Missing documentation for: encode (Data/Aeson/Encode.hs:24) encodeToTextBuilder (Data/Aeson/Encode.hs:28) 100% ( 25 / 25) in 'Data.Aeson.TH' Warning: Data.Aeson.Types: could not find link destinations for: CoerceText AllNullary ParseSum FromProduct ProductSize ConsFromJSON SumToJSON WriteProduct ConsToJSON SumToEncoding EncodeProduct ConsToEncoding Warning: Data.Aeson: could not find link destinations for: CoerceText AllNullary ParseSum FromProduct ProductSize ConsFromJSON SumToJSON WriteProduct ConsToJSON SumToEncoding EncodeProduct ConsToEncoding Warning: Data.Aeson.TH: could not find link destinations for: StarKindStatus Documentation created: dist/doc/html/aeson/index.html, dist/doc/html/aeson/aeson.txt installing Installing library in /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/aeson-1.1.2.0 Creating package registration file: /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/package.conf.d/aeson-1.1.2.0.conf post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0 shrinking /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib/ghc-8.0.2/x86_64-linux-ghc-8.0.2/libHSaeson-1.1.2.0-7Re5aZ6MrFBBjqn2gRS4FJ-ghc8.0.2.so stripping (with flags -S) in /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0/lib patching script interpreter paths in /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0 checking for references to /tmp/nix-build-aeson-1.1.2.0.drv-0 in /nix/store/1f0ydvha6sf0aaassdyvnwa5g6vk0v0m-aeson-1.1.2.0... shrinking RPATHs of ELF executables and libraries in /nix/store/1qdb93rd0rc6b4hz4gzzhcxdfammn8k7-aeson-1.1.2.0-doc patching script interpreter paths in /nix/store/1qdb93rd0rc6b4hz4gzzhcxdfammn8k7-aeson-1.1.2.0-doc checking for references to /tmp/nix-build-aeson-1.1.2.0.drv-0 in /nix/store/1qdb93rd0rc6b4hz4gzzhcxdfammn8k7-aeson-1.1.2.0-doc... warning: rewriting hashes in ‘/nix/store/dy6fgcgjabf9akc7wkb9pna4nrzjd8ci-aeson-1.1.2.0-doc’; cross fingers warning: rewriting hashes in ‘/nix/store/z07gd9fvzr65vp65yjqypldp3zvxar32-aeson-1.1.2.0’; cross fingers error: derivation ‘/nix/store/xfzsgd0g6bzak43mndw1z8953bgny7sy-aeson-1.1.2.0.drv’ may not be deterministic: output ‘/nix/store/z07gd9fvzr65vp65yjqypldp3zvxar32-aeson-1.1.2.0’ differs tanzeel@tanzeel01:~/nixpkgs$

domenkozar commented 6 years ago

My guess: glibc 2.23 is conflicting with our glibc 2.25. Will dig into that's causing to bring in the system glibc.

Using something like Ubuntu 17.XX would fix it as a workaround.

nh2 commented 6 years ago

Found with strace -f:

[pid 24854] execve("$HOME/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc",..., [/* 71 vars */] <unfinished ...>
...
[pid 24854] open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3

Looks like because the readme uses stack setup, stack downloads a standard ghc and that one will use libc outside of the nix store.

The reason of this is probably outdated docs; from 2 days ago:

$ cd cardano-sl
$ nix-shell
$ stack setup

but newer docs updated 2 days ago no longer have that.

@tanzeelrana Please retry with the instruction from those updated docs.

domenkozar commented 6 years ago

As a follow up I've also enabled Nix by default in https://github.com/input-output-hk/cardano-sl/pull/1951

domenkozar commented 6 years ago

@tanzeelrana can you delete ~/.stack and try again with new docs? Thanks!

domenkozar commented 6 years ago

@tanzeelrana please reopen if problem persists with the given instructions.

tcheeric commented 6 years ago

I have followed the instructions in the new documentation and I am getting a similar error message:

Progress: 123/129 -- While building package aeson-1.1.2.0 using: /home/mkts/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/mkts/cardano-sl/.stack-work/logs/aeson-1.1.2.0.log

Configuring aeson-1.1.2.0...
Building aeson-1.1.2.0...
Preprocessing library aeson-1.1.2.0...
[ 1 of 21] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Internal.o )
[ 2 of 21] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Types/Generic.o )
[ 3 of 21] Compiling Data.Aeson.Parser.UnescapeFFI ( ffi/Data/Aeson/Parser/UnescapeFFI.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/UnescapeFFI.o )
[ 4 of 21] Compiling Data.Aeson.Parser.Unescape ( Data/Aeson/Parser/Unescape.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Unescape.o )
[ 5 of 21] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Data/Aeson/Parser/Internal.o )
<command line>: can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)

-- While building package optparse-applicative-0.13.2.0 using: /home/mkts/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/mkts/cardano-sl/.stack-work/logs/optparse-applicative-0.13.2.0.log

Configuring optparse-applicative-0.13.2.0...
Building optparse-applicative-0.13.2.0...
Preprocessing library optparse-applicative-0.13.2.0...
[ 1 of 15] Compiling Options.Applicative.Help.Pretty ( Options/Applicative/Help/Pretty.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Pretty.o )
[ 2 of 15] Compiling Options.Applicative.Help.Chunk ( Options/Applicative/Help/Chunk.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Chunk.o )
[ 3 of 15] Compiling Options.Applicative.Help.Types ( Options/Applicative/Help/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Types.o )
[ 4 of 15] Compiling Options.Applicative.Types ( Options/Applicative/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Types.o )
[ 5 of 15] Compiling Options.Applicative.Internal ( Options/Applicative/Internal.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Internal.o )
[ 6 of 15] Compiling Options.Applicative.Common ( Options/Applicative/Common.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Common.o )
[ 7 of 15] Compiling Options.Applicative.Help.Core ( Options/Applicative/Help/Core.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0/build/Options/Applicative/Help/Core.o )
<command line>: can't load .so/.DLL for: /nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so (/nix/store/zpg78y1mf0di6127q6r51kgx2q8cxsvv-glibc-2.25-49/lib/libdl.so: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference)
domenkozar commented 6 years ago

Make sure you delete ~/.stack first

zmeel commented 6 years ago

I have deleted ~/.stack and then ran: stack config set system-ghc --global true ./scripts/build/daedalus-bridge.sh

No luck, almost there and then:

Progress: 126/130 -- While building package kademlia-1.1.0.1 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:kademlia exe:discovery-test --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/kademlia-1.1.0.1.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)

-- While building package cardano-crypto-1.0.0 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:cardano-crypto --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/cardano-crypto-1.0.0.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)

-- While building package acid-state-0.14.2 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:acid-state --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/acid-state-0.14.2.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)

-- While building package canonical-json-0.5.0.0 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:canonical-json --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/canonical-json-0.5.0.0.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)

-- While building package network-transport-0.5.2 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:network-transport --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/network-transport-0.5.2.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)

-- While building package ed25519-0.0.5.0 using: /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.24.2.0 build lib:ed25519 --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/cardano-sl/.stack-work/logs/ed25519-0.0.5.0.log

/root/.stack/programs/x86_64-linux-nix/ghc-8.0.2/bin/ghc-pkg: createProcess:
runInteractiveProcess: exec: does not exist (No such file or directory)
tcheeric commented 6 years ago

I was now able to compile after deleting the ~/.stack folder and following the instructions here: