Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284216 - dev-haskell/gtk2hs-0.9.12.1 build error - haddock problem
Summary: dev-haskell/gtk2hs-0.9.12.1 build error - haddock problem
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-09-08 21:21 UTC by Marcin Gryszkalis
Modified: 2011-09-17 04:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gryszkalis 2009-09-08 21:21:31 UTC
dev-haskell/gtk2hs-0.9.12.1 build fails with

mkdir -p docs/reference
                                        
/usr/bin/haddock --html --odir=docs/reference --title="Gtk2Hs" --dump-interface=docs/reference/gtk2hs.haddock --prologue=docs/prologue.txt --use-package=base --use-package=mtl glib/System/Glib/FFI.hs glib/System/Glib/UTFString.hs glib/System/Glib/Types.hs glib/System/Glib/GType.hs glib/System/Glib/GValue.hs (...)

haddock: 
unrecognized option `--use-package=base'                                          
unrecognized option `--use-package=mtl'
Usage: haddock [OPTION...] file...
Comment 1 Marcin Gryszkalis 2009-09-08 21:22:54 UTC
gtk2hs-0.10.1 builds fine but I have to downgrade because of bug 283843
Comment 2 Lennart Kolmodin (RETIRED) gentoo-dev 2009-09-17 19:17:36 UTC
Which haddock version are you using?
Try to (re)install haddock-2.4.1.

Whenever you change ghc you should also recompile your haddock.
Comment 3 Marcin Gryszkalis 2009-09-17 20:01:21 UTC
rebuild of haddock-2.4.1 didn't help - same error message
Comment 4 Lennart Kolmodin (RETIRED) gentoo-dev 2009-09-17 21:19:43 UTC
Ok, then I'm afraid gtk2hs can't be built with that haddock.
If you really want the docs, try downgrading, otherwise emerge with USE=-doc.

The best solution is if we could fix himerge to work with gtk2hs-0.10.1. We would prefer not to spend time fixing older packages when the new ones work.
Comment 5 Marcin Gryszkalis 2009-09-18 21:44:11 UTC
Switching docs off obviously works for me, you need to understand that people unfamiliar with haskell toolchain woudn't know that haddock is related to making docs. 

Anyway I'd mark it WONTFIX, right?
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2011-06-11 16:29:14 UTC
Yeah, right you are.

Package is masked to 30 day removal.

Please, consider using these instead:
    dev-haskell/pango-0.12
    dev-haskell/cairo-0.12
    dev-haskell/glib-0.12
    dev-haskell/cairo-0.12
    dev-haskell/glade-0.12
    dev-haskell/gtk-0.12
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-17 04:24:10 UTC
Removed from main tree.