Opened 8 years ago

Closed 8 years ago

Last modified 5 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: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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 8 years ago by simonmar

  • Milestone changed from 6.6 to _|_

Not blocking 6.6, so milestone _|_

comment:2 Changed 8 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 8 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 8 years ago by duncan

  • Milestone changed from _|_ to 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 8 years ago by duncan

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:6 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:7 Changed 6 years ago by simonmar

  • Operating System changed from Multiple to Unknown/Multiple

comment:8 Changed 5 years ago by simonmar

  • Difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.