Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#893 closed bug (fixed)

several "extralibs" packages missing Setup.hs

Reported by: duncan Owned by:
Priority: normal Milestone: 6.6
Component: libraries (other) Version: 6.5
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The following packages are missing a Setup.hs file:

  • arrows
  • fgl
  • haskell-src
  • html
  • hunit
  • mtl
  • quickcheck
  • time

These do all build fine with a default Setup.hs added, except...

arrows.cabal seems to be missing UndecidableInstances and the path to the C sources in time.cabal seems to be wrong (missing "cbits/"?).

Change History (8)

comment:1 Changed 11 years ago by simonmar

Milestone: 6.6_|_

Not blocking 6.6, so milestone _|_

comment:2 Changed 11 years ago by duncan

Note that this means that the libs do not build 'out of the box' with Cabal and thus the aim of the modular release is partly defeated.

Gentoo does actually build all the extra libs in a modular fashion so it does affect us. We will have to patch this anyway for a ghc 6.6 ebuild (or rather for each individual library ebuild). So if we sent in a patch to fix this (ie just copy the Setup.hs from the other packages) would that be ok?

comment:3 Changed 11 years ago by ross

Done (much as I hate the redundancy).

But are you building straight from darcs? Shouldn't we be putting Cabal tarballs of particular versions of these packages somewhere?

comment:4 Changed 11 years ago by duncan

Milestone: _|_6.6

Great! Status update:

only the time package is now missing Setup.hs.

All the other bugs are fixed.

Furthermore, I have a fix for the issue where haddock fails parsing in several packages. We've tested the fix on all the ghc-extralibs ebuilds in Gentoo. The fix will be included in the next Cabal release candidate (it's a one line fix which is nice).

BTW: Ross, we're building from the ghc-extralibs tarball, not from darcs.

I'm also changing the milestone back to 6.6 because we can trivially fix this in time. It's a 30sec job. I'll send in the patch now...

comment:5 Changed 11 years ago by duncan

Resolution: fixed
Status: newclosed

Ah! I see Ross beat me to it. Thanks. So we're all done I think.

comment:6 Changed 9 years ago by simonmar

Architecture: MultipleUnknown/Multiple

comment:7 Changed 9 years ago by simonmar

Operating System: MultipleUnknown/Multiple

comment:8 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.