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

BuildWrapper 0.7.4 build error - " GHCStorage.hs:313:32: Not in scope: data constructor `MatchGroup' " #44

Open
freeman42x opened this issue Aug 10, 2014 · 0 comments

Comments

@freeman42x
Copy link

Environment:

  • Windows 8.1 or Ubuntu 14.04
  • GHC 7.8.3 (from http://www.haskell.org/platform)
  • cabal-install version 1.18.0.5; using version 1.18.1.3 of the Cabal library
  • EclipseFP Luna

When trying to install BuildWrapper using the "Install from Hackage..." button under Haskell options in EclipeFP the following build error is shown:

Resolving dependencies...
Notice: installing into a sandbox located at D:\Programs\EclipseFP Luna
Workspace\.metadata\.plugins\net.sf.eclipsefp.haskell.ui\sandbox\.cabal-sandbox
Configuring buildwrapper-0.7.4...
Building buildwrapper-0.7.4...
Failed to install buildwrapper-0.7.4
Last 10 lines of the build log ( D:\Programs\EclipseFP Luna Workspace\.metadata\.plugins\net.sf.eclipsefp.haskell.ui\sandbox\.cabal-sandbox\logs\buildwrapper-0.7.4.log ):
Building buildwrapper-0.7.4...
Preprocessing library buildwrapper-0.7.4...
[1 of 7] Compiling Language.Haskell.BuildWrapper.Base ( src\Language\Haskell\BuildWrapper\Base.hs, dist\dist-sandbox-2e221900\build\Language\Haskell\BuildWrapper\Base.o )
[2 of 7] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src\Language\Haskell\BuildWrapper\GHCStorage.hs, dist\dist-sandbox-2e221900\build\Language\Haskell\BuildWrapper\GHCStorage.o )

src\Language\Haskell\BuildWrapper\GHCStorage.hs:313:32:
    Not in scope: data constructor `MatchGroup'
cabal.exe: Error: some packages failed to install:
buildwrapper-0.7.4 failed during the building phase. The exception was:
ExitFailure 1

Installing BuildWrapper with cabal install buildwrapper -j works correctly but it installs a newer version 0.8.7 (instead of 0.7.4).

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

No branches or pull requests

1 participant