Skip to content

ghcide doesn't build on i386 #1755

@arrowd

Description

@arrowd

When I try to build HLS on i386 FreeBSD machine I get the following error:

src/Development/IDE/Core/FileStore.hs:203:5: error:
    * Couldn't match type `GHC.Int.Int32' with `Int64'
      Expected type: IO (Int64, Int64)
        Actual type: IO (GHC.Int.Int32, GHC.Int.Int32)
    * In the expression:
        withCString f
          $ \ f' -> alloca $ \ secPtr -> alloca $ \ nsecPtr -> ...
      In an equation for `getModTime':
          getModTime f
            = withCString f $ \ f' -> alloca $ \ secPtr -> alloca $ ...
    |
203 |     withCString f $ \f' ->
    |     ^^^^^^^^^^^^^^^^^^^^^^...
cabal: Failed to build ghcide-1.2.0.2 (which is required by
exe:haskell-language-server from haskell-language-server-1.1.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.1.0.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationcomponent: ghcidestatus: in discussionNot actionable, because discussion is still ongoing or there's no decision yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions