tweag / sparkle

Haskell on Apache Spark.
BSD 3-Clause "New" or "Revised" License
447 stars 30 forks source link

Haddock failures #144

Closed jkachmar closed 3 years ago

jkachmar commented 6 years ago

I'm seeing the following Haddock failures with 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
facundominguez commented 6 years ago

Thanks @jkachmar.

Possibly the gradle hooks in Setup.hs are not setting the classpath before invoking haddock.

facundominguez commented 3 years ago

Closing this as #154 removed support for stack in favor of bazel.