Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543008 - =dev-haskell/haskell-src-1.0.1.6 - <command line>: cannot satisfy -package Cabal-1.20.0.2
Summary: =dev-haskell/haskell-src-1.0.1.6 - <command line>: cannot satisfy -package Ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 08:35 UTC by Kobboi
Modified: 2015-03-18 09:49 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 Kobboi 2015-03-12 08:35:22 UTC
>>> Emerging (1 of 17) dev-haskell/haskell-src-1.0.1.6::gentoo
 * haskell-src-1.0.1.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking haskell-src-1.0.1.6.tar.gz to /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work
>>> Preparing source in /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6 ...
 * Using cabal-1.20.0.2.
 * Prepending /usr/lib64/ghc-7.8.4 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.20.0.2 --make /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6/Setup.hs -dynamic -o setup
<command line>: cannot satisfy -package Cabal-1.20.0.2
    (use -v for more information)
/usr/bin/ghc -package Cabal-1.20.0.2 --make /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6/Setup.hs -o setup
<command line>: cannot satisfy -package Cabal-1.20.0.2
    (use -v for more information)
 * ERROR: dev-haskell/haskell-src-1.0.1.6::gentoo failed (configure phase):
 *   compiling /var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6/Setup.hs failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2776:  Called haskell-cabal_src_configure
 *   environment, line 1901:  Called cabal-bootstrap
 *   environment, line  484:  Called die
 * The specific snippet of code:
 *           } || make_setup "$@" || die "compiling ${setupmodule} failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/haskell-src-1.0.1.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/haskell-src-1.0.1.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6'
 * S: '/var/tmp/portage/dev-haskell/haskell-src-1.0.1.6/work/haskell-src-1.0.1.6'


Reproducible: Always
Comment 1 Kobboi 2015-03-12 08:35:39 UTC
$ eix -e cabal
[I] dev-haskell/cabal
     Available versions:  1.14.0^t 1.16.0.3(0/1.16.0.3)^t 1.18.1.2(0/1.18.1.2) (~)1.18.1.3(0/1.18.1.3) (~)1.20.0.2(0/1.20.0.2){tbz2} {doc profile test}
     Installed versions:  1.20.0.2{tbz2}(02:20:49 PM 01/02/2015)(-profile -test)
     Homepage:            http://www.haskell.org/cabal/
     Description:         A framework for packaging Haskell software
Comment 2 Kobboi 2015-03-12 09:32:39 UTC
Same thing for dev-haskell/syb
Comment 3 Kobboi 2015-03-12 09:33:17 UTC
And dev-haskell/opengl
Comment 4 Kobboi 2015-03-16 08:12:42 UTC
Summary of failing packages on my system:

dev-haskell/text-1.2.0.4
dev-haskell/syb-0.4.4
dev-haskell/hashable-1.2.3.1
dev-haskell/haskell-src-1.0.1.6
dev-haskell/parsec-3.1.7
dev-haskell/case-insensitive-1.2.0.4
dev-haskell/scientific-0.3.3.7
dev-haskell/attoparsec-0.12.1.3
dev-haskell/opengl-2.9.2.0
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2015-03-16 21:02:23 UTC
Please post the following:
1. haskell-updater version
2. 'haskell-updater -l' output
3. output of: 'ls -1 $(ghc --print-libdir)/package.conf.d/*'
Comment 6 Kobboi 2015-03-17 10:04:37 UTC
1.

# haskell-updater version
Running haskell-updater using GHC 7.8.4
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.8.4
  * Package manager (PM): portage
  * PM auxiliary arguments: version

Searching for packages installed with a different version of GHC.

Found the following old packages:
  * dev-haskell/cabal-install:0
  * dev-haskell/happy:0

Searching for Haskell libraries with broken dependencies.

No broken packages found!

emerge --oneshot --keep-going --complete-graph --quiet --deep version dev-haskell/cabal-install:0 dev-haskell/happy:0

I then stopped this emerge because it would probably "fix" the issue.
Comment 7 Kobboi 2015-03-17 10:05:20 UTC
3.

# ls -1 $(ghc --print-libdir)/package.conf.d/*
/usr/lib64/ghc-7.8.4/package.conf.d/array-0.5.0.0-ce080a527b3819e94d851f7f80ca77dd.conf
/usr/lib64/ghc-7.8.4/package.conf.d/async-2.0.2-8eeaa974e7375a529dd6320cf5f8ab24.conf
/usr/lib64/ghc-7.8.4/package.conf.d/attoparsec-0.12.1.2-1831bc4804ef00fc5cda568f1639b6ce.conf
/usr/lib64/ghc-7.8.4/package.conf.d/base-4.7.0.2-cb23b5265b6e147094c0cd9ac819acb1.conf
/usr/lib64/ghc-7.8.4/package.conf.d/binary-0.7.1.0-c62239d56a29611b3d56fd96592f602d.conf
/usr/lib64/ghc-7.8.4/package.conf.d/bin-package-db-0.0.0.0-ef46c4c76d0765d13bdbc6f91dea13b9.conf
/usr/lib64/ghc-7.8.4/package.conf.d/builtin_rts.conf
/usr/lib64/ghc-7.8.4/package.conf.d/bytestring-0.10.4.0-e82797828c29adab75d6eb4b53384f09.conf
/usr/lib64/ghc-7.8.4/package.conf.d/Cabal-1.18.1.5-0318cd8c01bf9b848069b72082af46d8.conf
/usr/lib64/ghc-7.8.4/package.conf.d/Cabal-1.20.0.2-af6af25237646452ea36d78095cfcb84.conf
/usr/lib64/ghc-7.8.4/package.conf.d/case-insensitive-1.2.0.4-b4c0f8e57df70140ece315ddbb89bc3a.conf
/usr/lib64/ghc-7.8.4/package.conf.d/containers-0.5.5.1-d7910f1cd81272c1f31ca9f71d0f206e.conf
/usr/lib64/ghc-7.8.4/package.conf.d/deepseq-1.3.0.2-0ddc77716bd2515426e1ba39f6788a4f.conf
/usr/lib64/ghc-7.8.4/package.conf.d/directory-1.2.1.0-1b239651bf547478c9e952c1e47c8fbe.conf
/usr/lib64/ghc-7.8.4/package.conf.d/fgl-5.5.0.1-92a9306e1e611b637e96887d79dc0573.conf
/usr/lib64/ghc-7.8.4/package.conf.d/filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab.conf
/usr/lib64/ghc-7.8.4/package.conf.d/ghc-7.8.4-d3885c9f10c4e9c509b118a230f89054.conf
/usr/lib64/ghc-7.8.4/package.conf.d/ghc-paths-0.1.0.9-24a31ed0eef30ccc71327391a301c894.conf
/usr/lib64/ghc-7.8.4/package.conf.d/ghc-prim-0.3.1.0-a24f9c14c632d75b683d0f93283aea37.conf
/usr/lib64/ghc-7.8.4/package.conf.d/GLURaw-1.4.0.1-6b49c54f36ce07bff7945b24a5b3da2f.conf
/usr/lib64/ghc-7.8.4/package.conf.d/GLUT-2.5.1.1-7e38849fffd6906a7bd95ced8bc17ff9.conf
/usr/lib64/ghc-7.8.4/package.conf.d/haddock-2.14.3.0.7.8.3-3233d0d8c3948811c43ddcffb94e4d1d.conf
/usr/lib64/ghc-7.8.4/package.conf.d/hashable-1.2.3.1-2c2a66c2253efd812d546c869f83763b.conf
/usr/lib64/ghc-7.8.4/package.conf.d/haskeline-0.7.1.2-281779727606b894dc030c237fe9fadd.conf
/usr/lib64/ghc-7.8.4/package.conf.d/haskell2010-1.1.2.0-05c8dd51009e08c6371c82972d40f55a.conf
/usr/lib64/ghc-7.8.4/package.conf.d/haskell98-2.0.0.3-01db225c88ccd5b8a0e091bc70983615.conf
/usr/lib64/ghc-7.8.4/package.conf.d/haskell-src-1.0.1.6-3f3433029a340ee88939ba762313f68d.conf
/usr/lib64/ghc-7.8.4/package.conf.d/hoopl-3.10.0.1-60388f26024bd9379ab6691bf144de18.conf
/usr/lib64/ghc-7.8.4/package.conf.d/hpc-0.6.0.1-c39f5a0ddda4f5b13d9c696f85ebbea6.conf
/usr/lib64/ghc-7.8.4/package.conf.d/hscolour-1.20.3-e673a43e6770f0fb8a76cec6e1c649bc.conf
/usr/lib64/ghc-7.8.4/package.conf.d/html-1.0.1.2-2b739a27d63b88caa28a6c60b144ad4b.conf
/usr/lib64/ghc-7.8.4/package.conf.d/HTTP-4000.2.19-1a39254fddc7175bd6b84069116f71ee.conf
/usr/lib64/ghc-7.8.4/package.conf.d/HUnit-1.2.5.2-b921c6940a05b40f38364996f120ca8e.conf
/usr/lib64/ghc-7.8.4/package.conf.d/integer-gmp-0.5.1.0-26579559b3647acf4f01d5edd9491a46.conf
/usr/lib64/ghc-7.8.4/package.conf.d/mtl-2.2.1-80e9dbbbee3ba38143a90be7f9812a27.conf
/usr/lib64/ghc-7.8.4/package.conf.d/network-2.6.0.2-a313ba05f851565b8e9cc0eb27d238fd.conf
/usr/lib64/ghc-7.8.4/package.conf.d/network-uri-2.6.0.1-d45651d004b6735f4925b43bc8ce0fae.conf
/usr/lib64/ghc-7.8.4/package.conf.d/old-locale-1.0.0.6-50b0125c49f76af85dc7aa22975cdc34.conf
/usr/lib64/ghc-7.8.4/package.conf.d/old-time-1.1.0.2-e3f776e97c1a6ff1770b04943a7ef7c6.conf
/usr/lib64/ghc-7.8.4/package.conf.d/OpenGL-2.9.2.0-d7f08fd1942006a0afde1b81765c7e76.conf
/usr/lib64/ghc-7.8.4/package.conf.d/OpenGLRaw-1.5.0.0-ecac437af724c8c90ed873a69fdf1787.conf
/usr/lib64/ghc-7.8.4/package.conf.d/package.cache
/usr/lib64/ghc-7.8.4/package.conf.d/package.cache.shipped
/usr/lib64/ghc-7.8.4/package.conf.d/parallel-3.2.0.6-0eed20a41154e03304a9bd8426de81b7.conf
/usr/lib64/ghc-7.8.4/package.conf.d/parsec-3.1.7-4679676ed831aff240af31720eee8703.conf
/usr/lib64/ghc-7.8.4/package.conf.d/pretty-1.1.1.1-0984f47ffe93ef3983c80b96280f1c3a.conf
/usr/lib64/ghc-7.8.4/package.conf.d/primitive-0.5.4.0-16de88d6e87d483d63f4f882cdb55b93.conf
/usr/lib64/ghc-7.8.4/package.conf.d/process-1.2.0.0-ac5f66ef47c8e6680cd098551063b07c.conf
/usr/lib64/ghc-7.8.4/package.conf.d/QuickCheck-2.7.6-c25dd3d27048bb3a89af1f005aa9fe92.conf
/usr/lib64/ghc-7.8.4/package.conf.d/random-1.1-5c22056c1f4f65e162c9a44550698637.conf
/usr/lib64/ghc-7.8.4/package.conf.d/regex-base-0.93.2-f72edc0ccc1211a37983dc62aad5ed36.conf
/usr/lib64/ghc-7.8.4/package.conf.d/regex-compat-0.95.1-cbc685052e9463c86426b1d62c69a7ef.conf
/usr/lib64/ghc-7.8.4/package.conf.d/regex-posix-0.95.2-acd889780ef2a18c249b296639dbcf04.conf
/usr/lib64/ghc-7.8.4/package.conf.d/scientific-0.3.3.3-d7cd511cebbdd3b888965d1c8d591fee.conf
/usr/lib64/ghc-7.8.4/package.conf.d/split-0.2.2-34cfb851cc3784e22bfae7a7bddda9c5.conf
/usr/lib64/ghc-7.8.4/package.conf.d/stm-2.4.4-a261be593b9eed150ba29cdf6b9162bc.conf
/usr/lib64/ghc-7.8.4/package.conf.d/syb-0.4.3-7fb16a3dd0436469c052c0311ee49fc7.conf
/usr/lib64/ghc-7.8.4/package.conf.d/template-haskell-2.9.0.0-2da82c8da1f1cb8620b884ecd5a2274d.conf
/usr/lib64/ghc-7.8.4/package.conf.d/terminfo-0.4.0.0-c1d02a7210b0d1bc250d87463b38b8d1.conf
/usr/lib64/ghc-7.8.4/package.conf.d/text-1.2.0.3-72438428cab9edf5694c9dcc337cba54.conf
/usr/lib64/ghc-7.8.4/package.conf.d/tf-random-0.5-94a1ac4eb47cbd56d55b38d2c48d6210.conf
/usr/lib64/ghc-7.8.4/package.conf.d/time-1.4.2-192d26f44a2c945780bbb921626c3399.conf
/usr/lib64/ghc-7.8.4/package.conf.d/transformers-0.3.0.0-6458c21515cab7c1cf21e53141557a1c.conf
/usr/lib64/ghc-7.8.4/package.conf.d/transformers-0.4.2.0-686fc2d26d56633b2083390fb3ada21a.conf
/usr/lib64/ghc-7.8.4/package.conf.d/unix-2.7.0.1-d7de2c9293605f58486b3752d772cdb6.conf
/usr/lib64/ghc-7.8.4/package.conf.d/unordered-containers-0.2.5.1-afc67b0011b3d92eaca88156b1376034.conf
/usr/lib64/ghc-7.8.4/package.conf.d/vector-0.10.12.2-74f8ece9d021d54548787ec5075bcdf1.conf
/usr/lib64/ghc-7.8.4/package.conf.d/xhtml-3000.2.1-6a3ed472b07e58fe29db22a5bc2bdb06.conf
/usr/lib64/ghc-7.8.4/package.conf.d/zlib-0.5.4.2-9facfd9c33f3c545a5ec709096bc824f.conf
Comment 8 Kobboi 2015-03-17 10:05:53 UTC
2.

# haskell-updater -l
Running haskell-updater using GHC 7.8.4
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.8.4
  * Package manager (PM): portage

Searching for packages installed with a different version of GHC.

Found the following old packages:
  * dev-haskell/cabal-install:0
  * dev-haskell/happy:0

Searching for Haskell libraries with broken dependencies.

No broken packages found!

dev-haskell/cabal-install:0
dev-haskell/happy:0
done!
Comment 9 Kobboi 2015-03-17 10:06:18 UTC
     Sat Dec 13 05:16:38 2014 >>> dev-haskell/cabal-install-1.20.0.3-r2
       merge time: 25 seconds.
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2015-03-17 23:03:07 UTC
I think I know what's going on. romildo came up with the same symptomes.

It should be fixable manually by running:
    # ghc-pkg recache

And then restore from it the usual way by running:
    # haskell-updater

It's a but in recent ghc ebuilds where I've (accidentally) dropped 'ghc-pkg recache' part.
Comment 11 Kobboi 2015-03-18 07:29:59 UTC
(In reply to Sergei Trofimovich from comment #10)
> I think I know what's going on. romildo came up with the same symptomes.
> 
> It should be fixable manually by running:
>     # ghc-pkg recache
> 
> And then restore from it the usual way by running:
>     # haskell-updater
> 
> It's a but in recent ghc ebuilds where I've (accidentally) dropped 'ghc-pkg
> recache' part.

So this will be fixed properly? Or will I only be able to fix it with the above information?
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2015-03-18 08:52:33 UTC
(In reply to Kobboi from comment #11)
> (In reply to Sergei Trofimovich from comment #10)
> > I think I know what's going on. romildo came up with the same symptomes.
> > 
> > It should be fixable manually by running:
> >     # ghc-pkg recache
> > 
> > And then restore from it the usual way by running:
> >     # haskell-updater
> > 
> > It's a but in recent ghc ebuilds where I've (accidentally) dropped 'ghc-pkg
> > recache' part.
> 
> So this will be fixed properly? Or will I only be able to fix it with the
> above information?

I'd like to fix it properly, but I still don't understand when
exactly that happens. My theory is that ghc minor revbump upgrade
is at fault, like ghc-7.8.4 -> ghc-7.8.4-r4, but only for some old ghc installs.

Please post all your ghc installs on that machine from /var/log/emerge.log:
    qlop -l dev-lang/ghc

Do you use 'emerge --buildpkg' for ghc or haskell packages?
Comment 13 Kobboi 2015-03-18 09:09:34 UTC
$ qlop -l dev-lang/ghc

Wed Dec 10 13:42:46 2014 >>> dev-lang/ghc-7.8.3
Fri Dec 12 04:15:46 2014 >>> dev-lang/ghc-7.8.3
Sat Dec 13 05:04:22 2014 >>> dev-lang/ghc-7.8.3
Fri Jan  2 13:49:31 2015 >>> dev-lang/ghc-7.8.4
Sun Feb 22 01:11:53 2015 >>> dev-lang/ghc-7.8.4
Comment 14 Kobboi 2015-03-18 09:12:02 UTC
The current output of a pretend world update is:

$ sudo emerge -avuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  r  U  ] dev-haskell/text-1.2.0.4:0/1.2.0.4::gentoo [1.2.0.3:0/1.2.0.3::gentoo] USE="-developer -doc -hscolour -profile {-test}" 0 KiB
[ebuild  r  U  ] dev-haskell/syb-0.4.4:0/0.4.4::gentoo [0.4.3:0/0.4.3::gentoo] USE="-doc -hscolour -profile {-test}" 0 KiB
[ebuild  rR    ] dev-haskell/hashable-1.2.3.1:0/1.2.3.1::gentoo  USE="gmp -doc -hscolour -profile {-test}" CPU_FLAGS_X86="sse2 -sse4_1" 0 KiB
[ebuild  rR    ] dev-haskell/parsec-3.1.7:0/3.1.7::gentoo  USE="-doc -hscolour -profile {-test}" 0 KiB
[ebuild  rR    ] dev-haskell/haskell-src-1.0.1.6:0/1.0.1.6::gentoo  USE="-doc -hscolour -profile" 0 KiB
[ebuild  r  U  ] dev-haskell/scientific-0.3.3.7:0/0.3.3.7::gentoo [0.3.3.3:0/0.3.3.3::gentoo] USE="bytestring-builder -doc -hscolour -profile {-test}" 0 KiB
[ebuild  rR    ] dev-haskell/case-insensitive-1.2.0.4:0/1.2.0.4::gentoo  USE="-doc -hscolour -profile {-test}" 0 KiB
[ebuild  r  U  ] dev-haskell/attoparsec-0.12.1.3:0/0.12.1.3::gentoo [0.12.1.2:0/0.12.1.2::gentoo] USE="-doc -hscolour -profile {-test}" 0 KiB
[ebuild  rR    ] dev-haskell/opengl-2.9.2.0:0/2.9.2.0::gentoo  USE="-doc -hscolour -profile" 0 KiB
[ebuild  rR    ] dev-haskell/haskell-platform-2014.2.0.0:0/2014.2.0.0::gentoo  USE="X doc -profile" 0 KiB
[ebuild  NS    ] dev-lang/tcl-8.5.17-r100:8.5::gentoo [8.5.17:0::gentoo] USE="debug threads" ABI_X86="(64) -32 (-x32)" 0 KiB
[uninstall     ] dev-lang/tcl-8.5.17::gentoo  USE="debug threads" ABI_X86="(64) -32 (-x32)" 
[blocks b      ] =dev-lang/tcl-8.5*:0 ("=dev-lang/tcl-8.5*:0" is blocking dev-lang/tcl-8.5.17-r100)
[ebuild  NS    ] dev-lang/tk-8.5.17-r100:8.5::gentoo [8.5.17:0::gentoo] USE="truetype (-aqua) -debug {-test} -threads -xscreensaver" 0 KiB
[ebuild  rR    ] dev-tcltk/tdom-0.8.3-r4::gentoo  USE="-static-libs -threads" 0 KiB

Total: 13 packages (4 upgrades, 2 in new slots, 7 reinstalls, 1 uninstall), Size of downloads: 0 KiB
Conflict: 1 block

The following packages are causing rebuilds:

  (dev-haskell/syb-0.4.4:0/0.4.4::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-haskell/haskell-src-1.0.1.6:0/1.0.1.6::gentoo, ebuild scheduled for merge)
    (dev-haskell/haskell-platform-2014.2.0.0:0/2014.2.0.0::gentoo, ebuild scheduled for merge)
  (dev-haskell/scientific-0.3.3.7:0/0.3.3.7::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-haskell/attoparsec-0.12.1.3:0/0.12.1.3::gentoo, ebuild scheduled for merge)
  (dev-haskell/text-1.2.0.4:0/1.2.0.4::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-haskell/parsec-3.1.7:0/3.1.7::gentoo, ebuild scheduled for merge)
    (dev-haskell/haskell-platform-2014.2.0.0:0/2014.2.0.0::gentoo, ebuild scheduled for merge)
    (dev-haskell/attoparsec-0.12.1.3:0/0.12.1.3::gentoo, ebuild scheduled for merge)
    (dev-haskell/scientific-0.3.3.7:0/0.3.3.7::gentoo, ebuild scheduled for merge)
    (dev-haskell/hashable-1.2.3.1:0/1.2.3.1::gentoo, ebuild scheduled for merge)
    (dev-haskell/case-insensitive-1.2.0.4:0/1.2.0.4::gentoo, ebuild scheduled for merge)
    (dev-haskell/opengl-2.9.2.0:0/2.9.2.0::gentoo, ebuild scheduled for merge)
  (dev-haskell/attoparsec-0.12.1.3:0/0.12.1.3::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-haskell/haskell-platform-2014.2.0.0:0/2014.2.0.0::gentoo, ebuild scheduled for merge)
Comment 15 Kobboi 2015-03-18 09:21:24 UTC
About binpkg...

I keep binary versions of all packages. I do daily world updates and subsequent cleans. The cleans get rid of the build time dependencies and the updates temporarily install them agai from binary.

None of ghc or dev-haskell/* has ever been installed from a binary (per my emerge.log)
Comment 16 Sergei Trofimovich (RETIRED) gentoo-dev 2015-03-18 09:49:27 UTC
I believe this fixes it:
    https://github.com/gentoo-haskell/gentoo-haskell/commit/171da4df2965595cca4c3b4537a96549bbba96e2
but there is one subtlety:
    The problem appears when user deinstalls/reinstalls package built from ebuild
    without this change.

Same gone to the main tree:
> 18 Mar 2015; Sergei Trofimovich <slyfox@gentoo.org> ghc-7.4.2.ebuild,
> ghc-7.6.3-r1.ebuild, ghc-7.8.3.ebuild, ghc-7.8.4.ebuild:
> fix package cache regeneration on upgrade/reinstall (bug #543008 by Kobboi) by
> restoring pkg_postrm()

Thanks!