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.
Created attachment 524236 [details] emerge-info.txt
Created attachment 524238 [details] app-emacs:ghc-mod-5.7.0.0:20180318-063513.log
Created attachment 524240 [details] emerge-history.txt
Created attachment 524242 [details] environment
Created attachment 524244 [details] etc.portage.tbz2
Created attachment 524246 [details] temp.tbz2
Not related to GCC 5
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.
Package was removed on 2020-09-09. Closing.