typelead/etlas

Problems installing cryptonite-0.24 with the new build

jneira opened this issue · 1 comments

Hi, when installing dhall-haskell that depends on cryptonite-0.24, using etlas build i've got an error in the javac step:

Failed to build cryptonite-0.24.
Build log (
C:\Users\user\AppData\Roaming\etlas\logs\eta-0.7.2.2\cryptonite-0.24-26bbbb8965a2
f4bee9cdd5e2a4b00ef8cca554e0.log
):
Preprocessing library for cryptonite-0.24..
Building library for cryptonite-0.24..
java\Utils.java:6: error: cannot find symbol
import org.bouncycastle.crypto.digests.Blake2bDigest;
                                      ^
  symbol:   class Blake2bDigest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:7: error: cannot find symbol
import org.bouncycastle.crypto.digests.KeccakDigest;
                                      ^
  symbol:   class KeccakDigest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:15: error: cannot find symbol
import org.bouncycastle.crypto.digests.SHA3Digest;
                                      ^
  symbol:   class SHA3Digest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:18: error: cannot find symbol
import org.bouncycastle.crypto.digests.SHA512tDigest;
                                      ^
  symbol:   class SHA512tDigest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:19: error: cannot find symbol
import org.bouncycastle.crypto.digests.SHAKEDigest;
                                      ^
  symbol:   class SHAKEDigest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:20: error: cannot find symbol
import org.bouncycastle.crypto.digests.SkeinDigest;
                                      ^
  symbol:   class SkeinDigest
  location: package org.bouncycastle.crypto.digests
java\Utils.java:25: error: cannot find symbol
import org.bouncycastle.crypto.macs.Poly1305;
                                   ^
  symbol:   class Poly1305
  location: package org.bouncycastle.crypto.macs
java\Utils.java:51: error: cannot find symbol
    public static void shake_output(SHAKEDigest digest, long ptr, int size) {
                                    ^
  symbol:   class SHAKEDigest
  location: class Utils
java\Utils.java:59: error: cannot find symbol
    public static Poly1305 poly1305_init(long ptr) {
                  ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:66: error: cannot find symbol
    public static void poly1305_update(Poly1305 poly, long ptr, int size) {
                                       ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:70: error: cannot find symbol
    public static void poly1305_finalize(Poly1305 poly, long ptr) {
                                         ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:78: error: cannot find symbol
    public static Poly1305 poly1305_clone(Poly1305 poly) {
                                          ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:78: error: cannot find symbol
    public static Poly1305 poly1305_clone(Poly1305 poly) {
                  ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:61: error: cannot find symbol
        Poly1305 poly = new Poly1305();
        ^
  symbol:   class Poly1305
  location: class Utils
java\Utils.java:61: error: cannot find symbol
        Poly1305 poly = new Poly1305();
                            ^
  symbol:   class Poly1305
  location: class Utils
15 errors

etlas: Failed to build cryptonite-0.24 (which is required by exe:dhall-hash
from dhall-1.14.0, exe:dhall-format from dhall-1.14.0 and others). See the
build log above for details.

Using the old-build or install the error is not thrown.
Tested in windows wih etlas 1.3.0.0

This error is not thrown with etlas 1.4.0.0