Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263904 - dev-util/bnfc should depend on dev-haskell/mtl
Summary: dev-util/bnfc should depend on dev-haskell/mtl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 20:40 UTC by Maciej Zielenkiewicz
Modified: 2009-03-26 21:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch for ebuild. (bnfc-2.4_beta.patch,317 bytes, patch)
2009-03-26 20:40 UTC, Maciej Zielenkiewicz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Zielenkiewicz 2009-03-26 20:40:11 UTC
dev-util/bnfc fails to build without mtl, while it is not it's dependency. With mtl everything works fine. Patch which fixes ebuild included.

Error without mtl:
/usr/bin/ghc -O  -iformats -iformats/haskell2 -iformats/haskell-gadt -iformats/xml -iformats/profile -iformats/java -iformats/java1.5 -iformats/cpp -iformats/c  -iformats/oz -iformats/ocaml -iformats/f-sharp -iformats/cpp_stl -iformats/c-sharp --make CFTop -o bnfc

formats/c-sharp/CSharpTop.hs:60:7:
    Could not find module `Control.Monad.State':
      Use -v to see a list of the files searched for.
make: *** [all] Error 1
Comment 1 Maciej Zielenkiewicz 2009-03-26 20:40:55 UTC
Created attachment 186356 [details, diff]
Proposed patch for ebuild.
Comment 2 Lennart Kolmodin (RETIRED) gentoo-dev 2009-03-26 21:28:34 UTC
Thanks for the report and the patch!
I've applied your patch and committed it to the tree.

Feel free to join our gentoo haskell efforts on #gentoo-haskell @ freenode.

Cheers,
  Lennart K