Closed SysEngDan closed 2 years ago
Actually, I'm unable to build the voting image first.
docker build -f Dockerfile.voting \
--tag arradev/cardano-voting:latest .
Here's the output:
[ 6 of 16] Compiling Byron.Spec.Ledger.Update ( src/Byron/Spec/Ledger/Update.hs, /build/voting-tools/dist-newstyle/build/x86_64-linux/ghc-8.10.2/byron-spec-ledger-0.1.0.0/build/Byron/Spec/Ledger/Update.o, /build/voting-tools/dist-newstyle/build/x86_64-linux/ghc-8.10.2/byron-spec-ledger-0.1.0.0/build/Byron/Spec/Ledger/Update.dyn_o )
src/Byron/Spec/Ledger/Update.hs:236:10: error:
Duplicate instance declarations:
instance Hashable a => Hashable (Set a)
-- Defined at src/Byron/Spec/Ledger/Update.hs:236:10
instance Hashable v => Hashable (Set v)
-- Defined in `hashable-1.3.4.1:Data.Hashable.Class'
|
236 | instance Hashable a => Hashable (Set a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build byron-spec-ledger-0.1.0.0 (which is required by
shelley-spec-ledger-test-0.1.0.0, cardano-ledger-alonzo-test-0.1.0.0 and
others).
The command '/bin/sh -c cd voting-tools/ && cabal configure --with-compiler=ghc-8.10.2 && echo "package cardano-crypto-praos" >> cabal.project.local && echo " flags: -external-libsodium-vrf" >> cabal.project.local && cabal build all' returned a non-zero code: 1
Hi, I removed the voting-tools as it does not compile.
I'm attempting to build all local images (./build.sh) with the latest Docker version. All images appear to build OK except for cardano-pool. Here's a snippet of the error from the Dockerbuild attempt: