Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghc 8.0.2 #85

Closed
tolysz opened this issue Feb 13, 2017 · 3 comments
Closed

Ghc 8.0.2 #85

tolysz opened this issue Feb 13, 2017 · 3 comments

Comments

@tolysz
Copy link

tolysz commented Feb 13, 2017

base-4.9.1.0

System/Posix/Process/Internals.hs:12:18: error:
    Module ‘GHC.Conc’ does not export ‘Signal’
@RyanGlScott
Copy link
Member

Do you mind giving us more detail about what environment you're running in? Because I have no problems building either the latest unix from Hackage or the latest commit from this repo using GHC 8.0.2 (and thus base-4.9.1.0) on 64-bit Linux.

As a sanity-check: you're using vanilla GHC 8.0.2, right? With no modifications?

@hvr
Copy link
Member

hvr commented May 11, 2017

The line in question is

import GHC.Conc (Signal)

and looking at GHC's source-code, we find

module GHC.Conc
    (
-- ...
#ifndef mingw32_HOST_OS
        , Signal, HandlerFun, setHandler, runHandlers
#endif
-- ...
  ) 

So the only case the error can be observed is when trying to compile unix on windows, which is not supported for unix. In fact, recent versions of unix.cabal contain

    if os(windows)
        -- This package currently supports neither Cygwin nor MinGW,
        -- therefore os(windows) is effectively not supported.
        build-depends: unbuildable<0
        buildable: False

Consequently, I come to the conclusion that this bug report is invalid. If you disagree, please reopen.

@peterbecich
Copy link
Member

@tolysz , by any chance, did this error occur with GHCJS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants