Emerging cabal-1.22.4.0 (using ghc-7.10.2 compiler) fails during install phase with error: * Package Cabal-1.22.4.0 is shipped with 7.10.2. * Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry. * Found in /usr/lib64/ghc-7.10.2/package.conf.d.initial. Running "ghc-pkg recache" didn't fix. Running haskell-updater (just for info): # haskell-updater Running haskell-updater-1.2.9 using GHC 7.10.2 * Executable: /usr/bin/ghc * Library directory: /usr/lib64/ghc-7.10.2 * Package manager (PM): portage Searching for packages installed with a different version of GHC. No old packages found! Searching for Haskell libraries with broken dependencies. No broken packages found! Reproducible: Always Steps to Reproduce: 1. Emerge =dev-lang/ghc-7.10.2 2. Emerge =dev-haskell/cabal-1.22.4.0 Actual Results: I can't install cabal-1.22.4.0, and therefore any other haskell package.
Created attachment 408254 [details] emerge --info '=dev-haskell/cabal-1.22.4.0::haskell'
Created attachment 408256 [details] The complete build log # emerge -pqv '=dev-haskell/cabal-1.22.4.0::haskell' [ebuild N ] dev-haskell/cabal-1.22.4.0 USE="profile {-test}" The complete build log is in the attachment.
Created attachment 408258 [details] The environment The environment in which emerging was executed
How old is your ::haskell overlay? Can you show your commit ID? Something like: $ cd /var/lib/layman/haskell/ $ git show Should be > commit 30c7aca3965e2d436ab4ac34c729dd98eaba7579 > Author: Sergei Trofimovich <siarheit@google.com> > Date: Wed Aug 5 08:28:03 2015 +0100 > > dev-haskell/monad-extras: bump up to 0.5.11 > > Package-Manager: portage-2.2.20 or newer.
Fantastic. I'm still stick at Thu Jul 9 21:19:41! $ cd /usr/local/overlay/haskell $ git show commit 47e6076a14c0f49372bf386a18b466f5d7da0c15 Merge: 594c630 c17dbea Author: Sergei Trofimovich <slyfox@inbox.ru> Date: Thu Jul 9 21:19:41 2015 +0300 Merge pull request #421 from arnetheduck/ihaskell-0.6.4.0 Ihaskell 0.6.4.0 Sleep poorly at night does not help me to be lucid... :( Now I'm going to fix my updating scripts and retry install. Sorry for bother all you with my stupidity. Thank you very much! Mike (In reply to Sergei Trofimovich from comment #4) > How old is your ::haskell overlay? Can you show your commit ID? > > Something like: > $ cd /var/lib/layman/haskell/ > $ git show > > Should be > > commit 30c7aca3965e2d436ab4ac34c729dd98eaba7579 > > Author: Sergei Trofimovich <siarheit@google.com> > > Date: Wed Aug 5 08:28:03 2015 +0100 > > > > dev-haskell/monad-extras: bump up to 0.5.11 > > > > Package-Manager: portage-2.2.20 > > or newer.
Oh, no problem! emerge warns when you try to use outdated main tree. Would be cool if it would warn about outdated overlays. Meanwhile I've tweaked .eclass to be more precise what ebuild contains and what it is expected to contain: https://github.com/gentoo-haskell/gentoo-haskell/commit/e1f8b5709a58a9a778117e5325fa32a59fd1bc67
(In reply to Sergei Trofimovich from comment #6) > Oh, no problem! emerge warns when you try to use outdated main tree. > Would be cool if it would warn about outdated overlays. > > Meanwhile I've tweaked .eclass to be more precise > what ebuild contains and what it is expected to contain: > > https://github.com/gentoo-haskell/gentoo-haskell/commit/ > e1f8b5709a58a9a778117e5325fa32a59fd1bc67 Dear Mr. Trofimovich, are people like you that make Gentoo the best distro! Thank you really much, to make life easy for us Haskell programmers :) Nice job! Michele