Summary: | <dev-haskell/cabal-1.14 doesn't build against >=ghc-7.4.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | M. B. <tomboy64> |
Component: | New packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cybertec.systems, cyprien, rei4dan, sleeperseven |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
M. B.
2012-06-07 10:21:34 UTC
(In reply to comment #0) > ghc-7.4.1 includes cabal, hence the new cabal ebuild is just a placeholder. > still there is no requirement that associates cabal-1.14 <=> ghc-7.4.1 and > cabal-1.10 <=> ghc-7.04. > > Needless to mention that the builds fail, if those dependencies are not > heeded. > > Reproducible: Always Sorry, I don't understand what you are talking about. Please, clarify what is broken for you. > > ghc-7.4.1 includes cabal, hence the new cabal ebuild is just a placeholder.
> > still there is no requirement that associates cabal-1.14 <=> ghc-7.4.1 and
> > cabal-1.10 <=> ghc-7.04.
> >
> > Needless to mention that the builds fail, if those dependencies are not
> > heeded.
> >
> > Reproducible: Always
>
> Sorry, I don't understand what you are talking about.
> Please, clarify what is broken for you.
Oh, my bad. I've misread the topic, sorry.
Yes, a lot of old stuff is broken against newer ghc.
Cabal is special here. Older Cabal versions don't
support newer ghc's .conf file format.
Do you really need Cabal-1.10?
It's just the ebuild dependencies that are broken. Right now, if you have ghc-7.4.1 and try to build cabal, cabal stable is 1.10. cabal emerges and fails with (haskell) dependencies missing. This is not caught by ebuild-logic, where it should be circumvented by ebuild-logic. so: cabal-1.10 should depend on <ghc-7.4.1 cabal 1.14 should depend on >=ghc-7.4.1 after upgrading to dev-lang/ghc-7.4.2 Writing new package config file... done. * Package Cabal-1.14.0 is shipped with 7.4.2. * Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry. * Found in ///usr/lib64/ghc-7.4.2/package.conf.d.initial. * ERROR: dev-haskell/cabal-1.14.0 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 2648: Called haskell-cabal_src_install * environment, line 1983: Called cabal_src_install * environment, line 626: Called die * The specific snippet of code: * die; Created attachment 329542 [details]
build.log
(In reply to comment #4) > after upgrading to dev-lang/ghc-7.4.2 > > Writing new package config file... done. > * Package Cabal-1.14.0 is shipped with 7.4.2. > * Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry. > * Found in ///usr/lib64/ghc-7.4.2/package.conf.d.initial. > * ERROR: dev-haskell/cabal-1.14.0 failed (install phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 93: Called src_install > * environment, line 2648: Called haskell-cabal_src_install > * environment, line 1983: Called cabal_src_install > * environment, line 626: Called die > * The specific snippet of code: > * die; Yeah, fixed it some hours ago (found by DemonWitch on #gentoo-haskell) The same issue with extensible-exceptions-0.1.1.4. Maybe there are more of those and they all should be reviewed? (In reply to comment #7) > The same issue with extensible-exceptions-0.1.1.4. Maybe there are more of > those and they all should be reviewed? Yeah. It was lost as well as dev-haskell/time-1.4 update from overlay. Now should be better. Thanks for the report! Closing as a dupe of 'bug #457714' (where upper bound was added). *** This bug has been marked as a duplicate of bug 457714 *** |