You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
process-1.6.3.0 doesn't build with GHC 7.8.4 on Windows #131
[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).
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.
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.
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.
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.
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.
Activity
snoyberg commentedon Jun 12, 2018
Is there a specific reason to need support for older GHCs? I'm leaning towards dropping older compiler support to make contributions easier.
23Skidoo commentedon Jun 12, 2018
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
baseto correspond to the earliest supported GHC version (preferably for existing Hackage releases as well). The point about improving Windows CI still stands.hsenag commentedon Jun 12, 2018
I don't care about the latest version supporting old GHCs, as long as the bounds of anything that's released expresses that.
snoyberg commentedon Jun 13, 2018
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.
23Skidoo commentedon Jun 13, 2018
Great, thanks. Re: bumping the
baselower bound on Hackage, in principle the following could work:except that revisions currently don't allow adding new conditionals. Perhaps that restriction should be relaxed slightly.
snoyberg commentedon Jun 13, 2018
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.
hsenag commentedon Jun 13, 2018
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.
hvr commentedon Jun 13, 2018
@23Skidoo
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.