Early trial builds of 2012.2.0.0

Mark Lentczner mark.lentczner at gmail.com
Sun May 20 00:43:34 BST 2012


In summary - cabal-install 0.14 outputs more info than the build scripts
expect under some circumstances. The proposed fix simply made the build
scripts ignore the extra, and should be benign...

However, after thinking about it, I think we should *not* make that change
in this release:

The extra information is indication that the packages about to be will
likely cause havoc vis-a-vis the package database cabal is running
against. If you are packaging packages for a distribution of Haskell
Platform, you should be doing this in an environment where that doesn't
happen. In particular, you should be using a package database that starts
with only exactly that which GHC 7.4.1 provides. See src/macos/Makefile
through the target "build" for how to do this.

For the next HP (2012.4.0.0) I intend to re-write this whole part of the
build process. It will still rely on cabal to do the build ordering (which
is what this part of the build is doing), but I'm not sure where that code
will end up - and will certainly be re-written. At that time I'll take into
account the extra info - probably issuing warnings or errors. If I had my
druthers (and if I find the skillz) I'd like to be able to make the whole
hermetic build process that the mac build does be generic.

- Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-platform/attachments/20120519/f579671d/attachment.htm>


More information about the Haskell-platform mailing list