Skip to content

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

Description

@freeman42x

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).

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions