[Fedora-haskell-list] What provides the Maybe module?

Bruno Wolff III bruno at wolff.to
Wed Jan 19 22:25:18 UTC 2011


On Wed, Jan 19, 2011 at 16:12:37 -0600,
  Bruno Wolff III <bruno at wolff.to> wrote:
> On Wed, Jan 19, 2011 at 15:55:12 -0600,
>   Bruno Wolff III <bruno at wolff.to> wrote:
> > On Wed, Jan 19, 2011 at 15:35:02 -0600,
> >   Bruno Wolff III <bruno at wolff.to> wrote:
> > > I noticed that the hedgewars server subpackage is no longer building.
> > > When being linked it can't find the Maybe module. I haven't changed
> > > anything with hedgewars that would cause this. I suspect that whatever
> > > was providing this module was getting pulled in as a dependency in the
> > > past and now it isn't and I need to add a new build requires, but perhaps
> > > something else was going on.
> > > 
> > > I am hoping someone here just knows the answer, and can tell me rather than
> > > trying to add ghc-*-devel packages one at a time to find it. (I did a bit
> > > of google searching, but didn't find anything that pointed to a Fedora
> > > package.)
> > 
> > It looks like I need ghc-haskell2010-devel. I am testing that theory now.
> 
> That didn't solve the problem, though it probably does need to be a build
> requirement.
> 
> I noticed that people use "import Data.Maybe" and that maybe using
> "import Maybe" is depreciated?

It looks like upstream has changed some instances of Maybe to Data.Maybe.
So probably changing that in the version I have in rawhide and changing the
build requires will work. And it looks like 0.9.15 is out, so I will be
looking at doing an upgrade and will probably pickup the changes there.


More information about the haskell-devel mailing list