I am attempting to port a stack build to etlas. Among the dependencies of the project is cql-io, which in turn depends on HsOpenSSL. In @rahulmutt's words, the dependency fails to build because "It has FFI bindings to C++ which don’t work with Eta as of now".
Is there a timeline for support of C++ FFI bindings?
The etlas output is as follows:
[...]
Building HsOpenSSL-0.11.4.14 (lib)...
Building memory-0.14.14 (lib)...
Found patch in eta-hackage for primitive-0.6.4.0
Configuring primitive-0.6.4.0 (lib)...
Building double-conversion-2.0.2.0 (lib)...
Building primitive-0.6.4.0 (lib)...
Failed to build HsOpenSSL-0.11.4.14.
Build log (
/Users/joshsh/.etlas/logs/eta-0.8.0.2/HsOpenSSL-0.11.4.14-c18a307f0987a3fd4c8cdb850a3bf2badb30b9ab98f92fbb507d72c7df2d614a.log
):
Configuring library for HsOpenSSL-0.11.4.14..
Preprocessing library for HsOpenSSL-0.11.4.14..
etlas: can't find source for OpenSSL/BN in ., dist/build/autogen,
dist/build/global-autogen
Failed to build double-conversion-2.0.2.0.
Build log (
/Users/joshsh/.etlas/logs/eta-0.8.0.2/double-conversion-2.0.2.0-46cae44536e03c79c0a4b1e00f9202df45fc29f721f9eb8909feb314b73c6cc6.log
):
Configuring library for double-conversion-2.0.2.0..
Preprocessing library for double-conversion-2.0.2.0..
Building library for double-conversion-2.0.2.0..
etlas:
'/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java'
exited with an error:
Cannot parse dependencies:
Malformed dependency: c++
etlas: Failed to build HsOpenSSL-0.11.4.14 (which is required by u2-0.1). See
the build log above for details.
Failed to build double-conversion-2.0.2.0 (which is required by u2-0.1). See
the build log above for details.
@joshsh The patch is up. Run etlas update and try building your project. Feel free file any new issues on any other packages you have trouble building or any correctness bugs with any of the patched packages.
I am attempting to port a stack build to etlas. Among the dependencies of the project is
cql-io
, which in turn depends onHsOpenSSL
. In @rahulmutt's words, the dependency fails to build because "It has FFI bindings to C++ which don’t work with Eta as of now".Is there a timeline for support of C++ FFI bindings?
The etlas output is as follows:
Here is the build log: