Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650784 - app-emacs/ghc-mod-5.7.0.0 : No instance for (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO
Summary: app-emacs/ghc-mod-5.7.0.0 : No instance for (transformers-0.4.3.0:Control.Mo...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-18 06:58 UTC by Toralf Förster
Modified: 2023-10-18 19:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.29 KB, text/plain)
2018-03-18 06:58 UTC, Toralf Förster
Details
app-emacs:ghc-mod-5.7.0.0:20180318-063513.log (app-emacs:ghc-mod-5.7.0.0:20180318-063513.log,18.08 KB, text/plain)
2018-03-18 06:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,262.24 KB, text/plain)
2018-03-18 06:58 UTC, Toralf Förster
Details
environment (environment,115.36 KB, text/plain)
2018-03-18 06:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.15 KB, application/x-bzip)
2018-03-18 06:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.31 KB, application/x-bzip)
2018-03-18 06:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-18 06:58:01 UTC
Language/Haskell/GhcMod/Monad/Types.hs:163:10:
    No instance for (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO
                       LightGhc)
      arising from the superclasses of an instance declaration
    In the instance declaration for ‘ExceptionMonad LightGhc’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl_20180311-210730

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
 [2] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [3] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [4] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [5] x86_64-pc-linux-gnu-5.4.0-vanilla

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv app-emacs/ghc-mod
[ebuild  N    ] app-emacs/ghc-mod-5.7.0.0  USE="-doc -emacs -hscolour (-profile) {-test}" 

!!! The following installed packages are masked:
- x11-terms/hanterm-3.1.6-r4::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (17 Mar 2018)
# Dead since 2002, many alternatives better maintained in the tree
# (#590056). Removal in a month.

- games-puzzle/ngstar-2.1.8-r2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (17 Mar 2018)
# Fails to build (#594190, #649224). Removal in a month.

- mail-filter/anomy-sanitizer-1.76-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (17 Mar 2018)
# ebuild needs fixing (#612916), upstream dead since 2006. Removal in a
# month.

- net-firewall/gshield-2.8-r4::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (17 Mar 2018)
# Dead for years, many alternatives in the tree (#616146). Removal in a
# month.

- dev-vcs/bzr-git-0.6.8-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (17 Mar 2018)
# Cannot reach upstream, fails at runtime (#594986). Removal in a month.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-03-18 06:58:04 UTC
Created attachment 524236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-18 06:58:07 UTC
Created attachment 524238 [details]
app-emacs:ghc-mod-5.7.0.0:20180318-063513.log
Comment 3 Toralf Förster gentoo-dev 2018-03-18 06:58:11 UTC
Created attachment 524240 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-03-18 06:58:16 UTC
Created attachment 524242 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-03-18 06:58:19 UTC
Created attachment 524244 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-18 06:58:22 UTC
Created attachment 524246 [details]
temp.tbz2
Comment 7 David Seifert gentoo-dev 2018-12-01 10:46:47 UTC
Not related to GCC 5
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-02 21:50:44 UTC
This bug is a case of two 'transformers' libraries installed via dev-lang/ghc and dev-haskell/transformers libraries. This always leads to failures. build log hints at it in:

  Warning: This package indirectly depends on multiple versions of the same
  package. This is highly likely to cause a compile failure.

You need to match dev-haskell/transformers library version with ghc. We (haskell@) will need expand haskell-cabal.eclass to disallow that kind of library mix and fail early somewhere around src_configure in transformers and other bundled packages.
Comment 9 Ulrich Müller gentoo-dev 2023-10-18 19:20:27 UTC
Package was removed on 2020-09-09. Closing.