Skip to content

process-1.6.3.0 doesn't build with GHC 7.8.4 on Windows #131

Closed

Description

@23Skidoo
[2 of 5] Compiling System.Process.Windows ( dist\build\System\Process\Windows.hs, dist\build\System\Process\Windows.o )
SystemProcessWindows.hsc:208:28:
    Not in scope: `<$>'
    Perhaps you meant one of these:
      `</>' (imported from System.FilePath),
      `<.>' (imported from System.FilePath)
cabal.exe: Failed to build process-1.6.3.0 (which is required by test:test from HTTP-4000.3.11).

The culprit seems to be ae57e8c.

Fixing this should be easy: just replace <$> with fmap. But we should also add a 7.8.4 AppVeyor configuration.

Activity

  1. snoyberg commented on Jun 12, 2018

    @snoyberg
    Collaborator

    Is there a specific reason to need support for older GHCs? I'm leaning towards dropping older compiler support to make contributions easier.

  2. 23Skidoo commented on Jun 12, 2018

    @23Skidoo
    MemberAuthor

    I saw that 7.8 configuration was enabled on Travis, so I assumed that it was supported. If you decide to drop support for older GHCs, please also bump the lower bound on base to correspond to the earliest supported GHC version (preferably for existing Hackage releases as well). The point about improving Windows CI still stands.

  3. hsenag commented on Jun 12, 2018

    @hsenag
    Member

    I don't care about the latest version supporting old GHCs, as long as the bounds of anything that's released expresses that.

  4. snoyberg commented on Jun 13, 2018

    @snoyberg
    Collaborator

    I've dropped support for GHC < 7.10.3 in PR #134, which also increases the AppVeyor and Travis matrices. I'm not certain what to do about Hackage revisions, if any, since adding a lower bound will break currently working build plans on non-Windows systems. I know I've been bitten by revisions which break existing build plans in the past, so my inclination is to do nothing.

  5. 23Skidoo commented on Jun 13, 2018

    @23Skidoo
    MemberAuthor

    Great, thanks. Re: bumping the base lower bound on Hackage, in principle the following could work:

    if os(windows)
        build-depends: base >= 4.8
    

    except that revisions currently don't allow adding new conditionals. Perhaps that restriction should be relaxed slightly.

  6. snoyberg commented on Jun 13, 2018

    @snoyberg
    Collaborator

    I definitely don't want to open the door any wider for revisions based on this case (or any other). Future releases of process will have the stricter lower bound in place. I'm going to close this for now, and if somehow it causes problems for people in the future, we can investigate further.

  7. hsenag commented on Jun 13, 2018

    @hsenag
    Member

    Well, it does cause problems as things stand as it's not hard to get build errors. But I can work round it if the hackage team doesn't have time to relax the restriction.

  8. hvr commented on Jun 13, 2018

    @hvr
    Member

    @23Skidoo

    except that revisions currently don't allow adding new conditionals. Perhaps that restriction should be relaxed slightly.

    Yeah, that's a know issue; it's a bit tricky to model the invariants for the allowable AST transformation to allow that; but we need this, as it's part of our mission to improve the user experience for the Hackage/Cabal ecosystem also for Windows users, and as we see test-coverage via CI on Windows improve and expose inaccuracies in the metadata, we'll also need to extend our capabilities of what we can express via Hackage metadata revisions in order to achieve our goal.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions