Summary: | dev-haskell/cabal-3.0.1.0: emerge fail (234 of 235: Compiling Distribution.Simple.Test) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | martin |
Component: | Current packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
emerge build log Standard error output when manually trying to build the package. |
Description
martin
2020-09-02 08:07:47 UTC
Created attachment 657880 [details]
emerge info
Created attachment 657882 [details]
emerge build log
Created attachment 657884 [details]
Standard error output when manually trying to build the package.
This file is obtained by runing the following commands after an unsuccessul build:
$ cd /var/tmp/portage/dev-haskell/cabal-3.0.1.0/work/Cabal-3.0.1.0
$ ./setup build 2> manual_build_error.log
""" Distribution/PackageDescription/Parsec.hs:237:9: error: • No instance for (Control.Monad.Trans.Class.MonadTrans (StateT SectionS)) arising from a use of ‘lift’ There are instances for similar types: instance [safe] Control.Monad.Trans.Class.MonadTrans (Control.Monad.Trans.State.Strict.StateT s) -- Defined in ‘Control.Monad.Trans.State.Strict’ instance [safe] Control.Monad.Trans.Class.MonadTrans (Control.Monad.Trans.State.Lazy.StateT s) -- Defined in ‘Control.Monad.Trans.State.Lazy’ """ This probably hints at incompatibility between ghc-8.0's transformers API and requirement of Cabal-3. Unless you really need it I suggest upgrading ghc to 8.8 first. Normally 'emerge -vuDN @world' would do it. Or you specifically need ghc-8.0? Indeed, with an higher version of ghc it works. Do you think it might be useful to update the RDEPEND of the ebuild with `>=dev-lang/ghc-8.8` or something like that (I don't know exactly the lower bound to put) ? Yeah, that's a very reasonable suggestion! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e51610b060ca7f4c21eecefd6a2b666067ce25 commit f9e51610b060ca7f4c21eecefd6a2b666067ce25 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-09-04 11:47:50 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-09-04 11:48:35 +0000 dev-haskell/cabal: requre ghc-8.8 for 3.0.1.0 Reported-by: martin@vassor.org Closes: https://bugs.gentoo.org/740034 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/cabal/cabal-3.0.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |