failed to build
joshsh opened this issue · 4 comments
joshsh commented
The "impossible" happened during running of etlas build
on a project with a dependency on websockets
version 0.12.5.2
:
Failed to build websockets-0.12.5.2.
Build log (
/Users/joshsh/.etlas/logs/eta-0.8.6.2/websockets-0.12.5.2-d81ce3cdee3ab87c74dfbc8eac0d043f6d0a6947ee1d4de19e968119da4b419c.log
):
Configuring library for websockets-0.12.5.2..
Preprocessing library for websockets-0.12.5.2..
Building library for websockets-0.12.5.2..
[ 1 of 16] Compiling Network.WebSockets.Connection.Options
src/Network/WebSockets/Connection/Options.hs:18:1: warning: [-Wunused-imports (in -Wextra)]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
18 | import Data.Monoid (Monoid (..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 16] Compiling Network.WebSockets.Extensions.Description
src/Network/WebSockets/Extensions/Description.hs:13:1: warning: [-Wunused-imports (in -Wextra)]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
13 | import Control.Applicative ((*>), (<*))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Network/WebSockets/Extensions/Description.hs:17:1: warning: [-Wunused-imports (in -Wextra)]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
17 | import Data.Monoid (mconcat, mappend)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 3 of 16] Compiling Network.WebSockets.Http
src/Network/WebSockets/Http.hs:36:1: warning: [-Wunused-imports (in -Wextra)]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
36 | import Control.Applicative (pure, (*>), (<$>),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Network/WebSockets/Http.hs:47:1: warning: [-Wunused-imports (in -Wextra)]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
47 | import Data.Monoid (mappend, mconcat)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 4 of 16] Compiling Network.WebSockets.Hybi13.Masketa: panic! (the 'impossible' happened)
(Eta version 0.8.6b2):
tcCheckFIType: Unsupported calling convention.
ccall unsafe "value _hs_mask_chunk"
Please report this as a Eta bug: http://github.com/typelead/eta/issues
etlas: Failed to build websockets-0.12.5.2 (which is required by u2-0.1). See
the build log above for details.
Note:
$ etlas --version
etlas version 1.5.1.0
compiled using version 2.1.0.0 of the etlas-cabal library
jneira commented
Hi, the last version patched for eta is 0.12.5.1
, so we should patch the new version. In the meanwhile, if possible, pinning the version to that one should make the build work
jneira commented
@joshsh once typelead/eta-hackage#126 is merged, an etlas update && etlas clean && etlas build
should work
jneira commented
merged!