tweag / sparkle

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

Build error on Stackage nightly #99

Closed decentral1se closed 7 years ago

decentral1se commented 7 years ago
src/Control/Distributed/Spark/Closure.hs:42:1: error:
    <E2><80><A2> Unacceptable argument type in foreign declaration:
        <E2><80><98>GHC.ForeignPtr.ForeignPtr
           (J ('Array ('Prim "byte")))<E2><80><99> cannot be marshalled in a foreign call
    <E2><80><A2> When checking declaration:
        foreign export ccall "sparkle_apply" apply
          :: JByteArray -> JObjectArray -> IO JObject

src/Control/Distributed/Spark/Closure.hs:42:1: error:
    <E2><80><A2> Unacceptable argument type in foreign declaration:
        <E2><80><98>GHC.ForeignPtr.ForeignPtr
           (J ('Array
                 ('Class
                    "java.lang.Object")))<E2><80><99> cannot be marshalled in a foreign call
    <E2><80><A2> When checking declaration:
        foreign export ccall "sparkle_apply" apply
          :: JByteArray -> JObjectArray -> IO JObject

src/Control/Distributed/Spark/Closure.hs:42:1: error:
    <E2><80><A2> Unacceptable result type in foreign declaration:
        <E2><80><98>GHC.ForeignPtr.ForeignPtr
           (J ('Class
                 "java.lang.Object"))<E2><80><99> cannot be marshalled in a foreign call
    <E2><80><A2> When checking declaration:
        foreign export ccall "sparkle_apply" apply
          :: JByteArray -> JObjectArray -> IO JObject
facundominguez commented 7 years ago

sparkle-0.5.0.1 released PR: https://github.com/fpco/stackage/pull/2322

decentral1se commented 7 years ago

Sorted, thanks for prompt response!