Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104446 - installed wxhaskell/cabal breaks compilation of dev-haskell/gtk2hs
Summary: installed wxhaskell/cabal breaks compilation of dev-haskell/gtk2hs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Haskell Language team
URL: http://tunes.org/~nef/logs/haskell/05...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 21:44 UTC by Marc A. Ziegert
Modified: 2005-09-01 02:16 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 Marc A. Ziegert 2005-08-31 21:44:36 UTC
search for "GetOpt" in given url.


Reproducible: Always
Steps to Reproduce:
1.emerge cabal wxhaskell
2.emerge gtk2hs
3.

Actual Results:  
compilation breaks with
...
tools/c2hs/base/general/GetOpt.hs:1:0: Module `GetOpt' is a member of package
util-1.0
...


solution:

./configure --with-hcflags="-O -ignore-package util-1.0"
Comment 1 Andres Loeh (RETIRED) gentoo-dev 2005-09-01 02:16:07 UTC
Your bugreports would be more helpful if you'd include all necessary
information to reproduce the bug. In this case, the bug is known, so
I can guess most of the relevant information.

The problem you experience results from a combination of an inconvenience 
in cabal-0.5 and a bug in ghc-6.4. I don't think that wxhaskell has any
part in it. The bug will be fixed in ghc-6.4.1, and cabal-0.5 will be
removed from the tree soon.

For now, the only workaround is not to use cabal-0.5. The solution you have
given is not really a solution, because the -ignore flags that have to be
passed depend on what's installed on your machine. This is, in general,
quite tedious to determine ... 

I'm marking this as WONTFIX, because it will not be fixed until either
the next ghc or cabal release is out.

Cheers,
  ks