Closed jkachmar closed 3 years ago
I'm seeing the following Haddock failures with sparkle-0.7.4
sparkle-0.7.4
/tmp/inlinejava-c59972b590cc6a41/Inline__sparkle07491HzjSqEb3FEmVOFmVGL5f_Control_Distribut ed_Spark_Closure.java:6: error: package io.tweag.sparkle.function does not exist public static byte[] inline__method_1(final io.tweag.sparkle.function.HaskellMapPartitionsF unction $jobj) throws Throwable // .hs:225 ^ /tmp/inlinejava-c59972b590cc6a41/Inline__sparkle07491HzjSqEb3FEmVOFmVGL5f_Control_Distribu$ ed_Spark_Closure.java:10: error: package io.tweag.sparkle.function does not exist public static byte[] inline__method_3(final io.tweag.sparkle.function.HaskellReduceFunctio$ $jobj) throws Throwable // .hs:188 ^ /tmp/inlinejava-c59972b590cc6a41/Inline__sparkle07491HzjSqEb3FEmVOFmVGL5f_Control_Distribu$ ed_Spark_Closure.java:5: error: package io.tweag.sparkle.function does not exist { return new io.tweag.sparkle.function.HaskellMapPartitionsFunction($jpayload) ; } // .hs$ 242 ^ /tmp/inlinejava-c59972b590cc6a41/Inline__sparkle07491HzjSqEb3FEmVOFmVGL5f_Control_Distribu$ ed_Spark_Closure.java:9: error: package io.tweag.sparkle.function does not exist { return new io.tweag.sparkle.function.HaskellReduceFunction($jpayload) ; } // .hs:203 ^ 4 errors Haddock coverage: haddock: internal error: callProcess: javac "/tmp/inlinejava-c59972b590cc6a41/Inline__spark le07491HzjSqEb3FEmVOFmVGL5f_Control_Distributed_Spark_Closure.java" (exit 1): failed
Thanks @jkachmar.
Possibly the gradle hooks in Setup.hs are not setting the classpath before invoking haddock.
Setup.hs
classpath
Closing this as #154 removed support for stack in favor of bazel.
I'm seeing the following Haddock failures with
sparkle-0.7.4