
The Haskell libraries are gradually moving towards being buildable using Cabal, rather than by GHC's make system. This is good. But here are two bug reports telling what doesn't work: http://hackage.haskell.org/trac/ghc/ticket/893 http://hackage.haskell.org/trac/ghc/ticket/894 (missing Setup.hs, and/or Haddock parsing errors). Ross has fixed some of these (thanks!). This message is to invite package maintainers to work on fix the remaining glitches. (We won't undertake to fix this for GHC 6.6, because these packages can be upgraded separately.) The relevant packages are: Haddock errors: http://hackage.haskell.org/trac/ghc/ticket/894 network xhtml opengl openal alut Missing Setup http://hackage.haskell.org/trac/ghc/ticket/893 arrows fgl haskell-src html hunit mtl quickcheck time Thanks! Simon

On Thu, Sep 28, 2006 at 11:19:42AM +0100, Simon Peyton-Jones wrote:
The relevant packages are:
Haddock errors: http://hackage.haskell.org/trac/ghc/ticket/894 network xhtml opengl openal alut
xhtml is fixed. The others (plus GLUT, I think) are a Cabal problem.
Missing Setup http://hackage.haskell.org/trac/ghc/ticket/893 arrows fgl haskell-src html hunit mtl quickcheck time
These are all trivial setup files, so these can be installed with cabal-setup.

| xhtml is fixed. The others (plus GLUT, I think) are a Cabal problem. great | > Missing Setup http://hackage.haskell.org/trac/ghc/ticket/893 | > arrows | > fgl | > haskell-src | > html | > hunit | > mtl | > quickcheck | > time | | These are all trivial setup files, so these can be installed with | cabal-setup. But they should be there, right? So the maintainers (or some public spirited citizen) should add them. Simon

On Thu, Sep 28, 2006 at 11:34:08AM +0100, Ross Paterson wrote:
On Thu, Sep 28, 2006 at 11:19:42AM +0100, Simon Peyton-Jones wrote:
The relevant packages are:
Haddock errors: http://hackage.haskell.org/trac/ghc/ticket/894 network xhtml opengl openal alut
xhtml is fixed. The others (plus GLUT, I think) are a Cabal problem.
To elaborate, when cpphs is called from the haddock phase, it's not passed the cpp arguments that are used by build. I think Cabal needs a cpp-options field, for cpp options needed for Haskell source. They're currently in cc-options or compiler-specific option fields, but they don't really belong there.

On Tue, 2006-10-03 at 00:07 +0100, Ross Paterson wrote:
On Thu, Sep 28, 2006 at 11:34:08AM +0100, Ross Paterson wrote:
On Thu, Sep 28, 2006 at 11:19:42AM +0100, Simon Peyton-Jones wrote:
The relevant packages are:
Haddock errors: http://hackage.haskell.org/trac/ghc/ticket/894 network xhtml opengl openal alut
xhtml is fixed. The others (plus GLUT, I think) are a Cabal problem.
To elaborate, when cpphs is called from the haddock phase, it's not passed the cpp arguments that are used by build. I think Cabal needs a cpp-options field, for cpp options needed for Haskell source. They're currently in cc-options or compiler-specific option fields, but they don't really belong there.
Yes, Lennart Kolmodin was just investigating this problem for Gentoo and came to a similar conclusion. We can't pass all the cc-options to hsc2hs or cpphs, we'd have to filter them which seems a bit ugly. The other ugly option is to add these flags to ghc-options. Anyone got a suggestion for what to do in the short term (ie the 1 week 'til the ghc & cabal release) ? Duncan

On Tue, 2006-10-03 at 00:26 +0100, Duncan Coutts wrote:
On Tue, 2006-10-03 at 00:07 +0100, Ross Paterson wrote:
To elaborate, when cpphs is called from the haddock phase, it's not passed the cpp arguments that are used by build. I think Cabal needs a cpp-options field, for cpp options needed for Haskell source. They're currently in cc-options or compiler-specific option fields, but they don't really belong there.
Yes, Lennart Kolmodin was just investigating this problem for Gentoo and came to a similar conclusion.
We can't pass all the cc-options to hsc2hs or cpphs, we'd have to filter them which seems a bit ugly. The other ugly option is to add these flags to ghc-options.
Anyone got a suggestion for what to do in the short term (ie the 1 week 'til the ghc & cabal release) ?
I've got a nice 1 line fix. We've tested it now with all the ghc-extralibs in gentoo. The fix will be included in the next Cabal release candidate. Duncan
participants (3)
-
Duncan Coutts
-
Ross Paterson
-
Simon Peyton-Jones