Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Compiling Buildwrapper fails

  • I use Opensuse 64 Bit and GHC 7.6.3. Compiling ends with http://lpaste.net/92023.

  • JP Moresmau
    JP Moresmau

    Probably because the version of haskell-src-exts released yesterday (http://www.haskell.org/pipermail/haskell-cafe/2013-August/108461.html) has breaking changes in its API. Install haskell-src-exts version 1.13 instead. I'll try to release a compatible version soon.

    • 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

        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.

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

  • JP Moresmau
    JP Moresmau

    New versions uploaded to Haskage, try again!

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