Compiling Buildwrapper fails

  • Wolfgang Brandt

    Wolfgang Brandt - 2013-08-21

    I use Opensuse 64 Bit and GHC 7.6.3. Compiling ends with

  • JP Moresmau

    JP Moresmau - 2013-08-21

    Probably because the version of haskell-src-exts released yesterday ( has breaking changes in its API. Install haskell-src-exts version 1.13 instead. I'll try to release a compatible version soon.

    • Wolfgang Brandt

      Wolfgang Brandt - 2013-09-30

      I was so stupid changing a running system :-(. After "cabal install cabal-install"I got buildwrapper errors and so I have decided to remove the whole haskell-platform-2013.2.0.0 installation from my Opensuse 64 Bit system. But now if I want to compile buildwrapper I get always the following message:
      "Resolving dependencies...
      cabal: Could not resolve dependencies:
      trying: buildwrapper-0.7.5 (user goal)
      next goal: ghc (dependency of buildwrapper-0.7.5)".

      What's the reason for this error?

      • JP Moresmau

        JP Moresmau - 2013-09-30

        Are you not getting more errors? Buildwrapper requires the ghc library, so run ghc-pkg list and ensure the ghc library appears in the list.

        • Wolfgang Brandt

          Wolfgang Brandt - 2013-10-01

          You are right. ghc was missing. Now it works.

  • JP Moresmau

    JP Moresmau - 2013-08-21

    New versions uploaded to Haskage, try again!

  • Geek4AllSeasons

    Geek4AllSeasons - 2013-09-07

    The following may be superfluous as I'm new to Haskell/Cabal and Eclipse.

    Buildwrapper (Hackage) build is failing with TYPE_X (RealSrcLoc, etc.) not in scope errors on CentOS 6.4, GHC 7.04 (latest EPEL version).

    Apparently a more current GHC version is needed due to API changes in GHC 7.2.1:
    "The SrcSpan and SrcLoc types have been refactored so that the new RealSrcSpan and RealSrcLoc types are used when we have a real location, rather than an "unhelpful" location."

    It would be helpful if you can suggest an alternate yum repo. I recently learned of "JustHub". It looks like a good source, but barring other factors I would prefer using yum.

    There probably are options for supporting multiple platform/library versions, I may have over looked them while focusing on getting started. Any comments/suggestions would be appreciated.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks