* Package: app-emacs/ghc-mod-5.7.0.0 * Repository: gentoo * Maintainer: gnu-emacs@gentoo.org haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ghc-mod-5.7.0.0.tar.gz to /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work >>> Source unpacked in /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work >>> Preparing source in /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0 ... * Applying ghc-mod-5.6.0.0-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-7.10.3 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 5] Compiling NotCPP.Utils ( NotCPP/Utils.hs, NotCPP/Utils.o ) [2 of 5] Compiling NotCPP.LookupValueName ( NotCPP/LookupValueName.hs, NotCPP/LookupValueName.o ) [3 of 5] Compiling NotCPP.Declarations ( NotCPP/Declarations.hs, NotCPP/Declarations.o ) [4 of 5] Compiling SetupCompat ( SetupCompat.hs, SetupCompat.o ) SetupCompat.hs:144:38: Warning: In the use of type constructor or class ‘InstalledPackageId’ (imported from Distribution.Simple, but defined in Distribution.Package): Deprecated: "Use UnitId instead" SetupCompat.hs:180:36: Warning: In the use of type constructor or class ‘InstalledPackageId’ (imported from Distribution.Simple, but defined in Distribution.Package): Deprecated: "Use UnitId instead" [5 of 5] Compiling Main ( /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0/Setup.hs, /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=ghc-mod-5.7.0.0/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=ghc-mod-5.7.0.0/ghc-7.10.3 --disable-tests --ghc-options=-j1 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/ghc-mod-5.7.0.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring ghc-mod-5.7.0.0... Dependency base >=4.0 && <5: using base-4.8.2.0 Dependency binary >=0.5.1.0 && <0.9: using binary-0.8.3.0 Dependency bytestring <0.11: using bytestring-0.10.6.0 Dependency cabal-helper >=0.7.3.0 && <0.8: using cabal-helper-0.7.3.0 Dependency containers <0.6: using containers-0.5.6.2 Dependency deepseq <1.5: using deepseq-1.4.1.1 Dependency directory <1.4: using directory-1.2.2.0 Dependency djinn-ghc >=0.0.2.2 && <0.1: using djinn-ghc-0.0.2.3 Dependency extra >=1.4.0 && <1.6: using extra-1.5.1 Dependency fclabels ==2.0.*: using fclabels-2.0.3.1 Dependency filepath <1.5: using filepath-1.4.0.0 Dependency ghc >=7.6 && <8.2: using ghc-7.10.3 Dependency ghc-mod -any: using ghc-mod-5.7.0.0 Dependency ghc-paths >=0.1.0.9 && <0.2: using ghc-paths-0.1.0.9 Dependency ghc-syb-utils >=0.2.3 && <0.3: using ghc-syb-utils-0.2.3 Dependency haskell-src-exts >=1.16.0.1 && <1.19: using haskell-src-exts-1.17.1 Dependency hlint >=1.9.27 && <1.10: using hlint-1.9.35 Dependency monad-control >=1 && <1.1: using monad-control-1.0.1.0 Dependency monad-journal >=0.4 && <0.8: using monad-journal-0.7.2 Dependency mtl >=2.0 && <2.3: using mtl-2.2.1 Dependency old-time <1.2: using old-time-1.1.0.3 Dependency optparse-applicative >=0.11.0 && <0.14.0: using optparse-applicative-0.13.0.0 Dependency pipes >=4.1.0 && <4.4: using pipes-4.1.9 Dependency pretty <1.2: using pretty-1.1.2.0 Dependency process <1.5: using process-1.2.3.0 Dependency safe >=0.3.9 && <0.4: using safe-0.3.9 Dependency semigroups >=0.10.0 && <0.19: using semigroups-0.18.2 Dependency split >=0.2.2 && <0.3: using split-0.2.3.1 Dependency syb >=0.5.1 && <0.7: using syb-0.5.1 Dependency template-haskell -any: using template-haskell-2.10.0.0 Dependency temporary >=1.2.0.3 && <1.3: using temporary-1.2.0.4 Dependency text >=1.2.1.3 && <1.3: using text-1.2.2.1 Dependency time <1.7: using time-1.5.0.1 Dependency transformers <0.6: using transformers-0.5.2.0 Dependency transformers-base >=0.4.4 && <0.5: using transformers-base-0.4.4 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package bin-package-db-0.0.0.0 requires binary-0.7.6.1 package Cabal-1.24.2.0 requires binary-0.7.6.1 package text-1.2.2.1 requires binary-0.8.3.0 package semigroups-0.18.2 requires binary-0.8.3.0 package ghc-mod-5.7.0.0 requires binary-0.8.3.0 package ghc-7.10.3 requires transformers-0.4.3.0 package transformers-compat-0.5.1.4 requires transformers-0.5.2.0 package transformers-base-0.4.4 requires transformers-0.5.2.0 package temporary-1.2.0.4 requires transformers-0.5.2.0 package semigroups-0.18.2 requires transformers-0.5.2.0 package semigroupoids-5.1 requires transformers-0.5.2.0 package profunctors-5.2 requires transformers-0.5.2.0 package pipes-4.1.9 requires transformers-0.5.2.0 package optparse-applicative-0.13.0.0 requires transformers-0.5.2.0 package mtl-2.2.1 requires transformers-0.5.2.0 package monad-journal-0.7.2 requires transformers-0.5.2.0 package monad-control-1.0.1.0 requires transformers-0.5.2.0 package mmorph-1.0.9 requires transformers-0.5.2.0 package hlint-1.9.35 requires transformers-0.5.2.0 package ghc-mod-5.7.0.0 requires transformers-0.5.2.0 package free-4.12.4 requires transformers-0.5.2.0 package fclabels-2.0.3.1 requires transformers-0.5.2.0 package exceptions-0.8.3 requires transformers-0.5.2.0 package either-4.4.1.1 requires transformers-0.5.2.0 package djinn-ghc-0.0.2.3 requires transformers-0.5.2.0 package distributive-0.5.2 requires transformers-0.5.2.0 package contravariant-1.4 requires transformers-0.5.2.0 package comonad-5 requires transformers-0.5.2.0 package cmdargs-0.10.14 requires transformers-0.5.2.0 package cabal-helper-0.7.3.0 requires transformers-0.5.2.0 package bifunctors-5.4.1 requires transformers-0.5.2.0 package StateVar-1.1.0.4 requires transformers-0.5.2.0 package MonadRandom-0.4.2.3 requires transformers-0.5.2.0 Using Cabal-1.24.2.0 compiled by ghc-7.10 Using compiler: ghc-7.10.3 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/ghc-mod-5.7.0.0/ghc-7.10.3 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-7.10.3 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/ghc-mod-5.7.0.0/ghc-7.10.3 Documentation installed in: /usr/share/doc/ghc-mod-5.7.0.0 Configuration files installed in: /etc No alex found Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar No c2hs found Using cpphs version 1.20.2 found on system at: /usr/bin/cpphs Using gcc version 5.4.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 7.10.3 given by user at: /usr/bin/ghc Using ghc-pkg version 7.10.3 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.16.1 found on system at: /usr/bin/haddock-ghc-7.10.3 Using happy version 1.19.5 found on system at: /usr/bin/happy Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /usr/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs Using hscolour version 1.24 found on system at: /usr/bin/HsColour No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld No lhc found No lhc-pkg found Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config Using strip version 2.29 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0 ... ./setup build Building ghc-mod-5.7.0.0... Preprocessing library ghc-mod-5.7.0.0... [ 1 of 59] Compiling Language.Haskell.GhcMod.Options.Help ( Language/Haskell/GhcMod/Options/Help.hs, dist/build/Language/Haskell/GhcMod/Options/Help.o ) [ 2 of 59] Compiling Language.Haskell.GhcMod.Options.DocUtils ( Language/Haskell/GhcMod/Options/DocUtils.hs, dist/build/Language/Haskell/GhcMod/Options/DocUtils.o ) [ 3 of 59] Compiling Data.Binary.Generic ( Data/Binary/Generic.hs, dist/build/Data/Binary/Generic.o ) [ 4 of 59] Compiling Language.Haskell.GhcMod.Read ( Language/Haskell/GhcMod/Read.hs, dist/build/Language/Haskell/GhcMod/Read.o ) [ 5 of 59] Compiling Language.Haskell.GhcMod.DynFlagsTH ( Language/Haskell/GhcMod/DynFlagsTH.hs, dist/build/Language/Haskell/GhcMod/DynFlagsTH.o ) [ 6 of 59] Compiling System.Directory.ModTime ( System/Directory/ModTime.hs, dist/build/System/Directory/ModTime.o ) [ 7 of 59] Compiling Paths_ghc_mod ( dist/build/autogen/Paths_ghc_mod.hs, dist/build/Paths_ghc_mod.o ) [ 8 of 59] Compiling Utils ( Utils.hs, dist/build/Utils.o ) [ 9 of 59] Compiling Language.Haskell.GhcMod.Caching.Types ( Language/Haskell/GhcMod/Caching/Types.hs, dist/build/Language/Haskell/GhcMod/Caching/Types.o ) [10 of 59] Compiling Language.Haskell.GhcMod.Types ( Language/Haskell/GhcMod/Types.hs, dist/build/Language/Haskell/GhcMod/Types.o ) [11 of 59] Compiling Language.Haskell.GhcMod.Gap ( Language/Haskell/GhcMod/Gap.hs, dist/build/Language/Haskell/GhcMod/Gap.o ) [12 of 59] Compiling Language.Haskell.GhcMod.Doc ( Language/Haskell/GhcMod/Doc.hs, dist/build/Language/Haskell/GhcMod/Doc.o ) [13 of 59] Compiling Language.Haskell.GhcMod.SrcUtils ( Language/Haskell/GhcMod/SrcUtils.hs, dist/build/Language/Haskell/GhcMod/SrcUtils.o ) [14 of 59] Compiling Language.Haskell.GhcMod.Pretty ( Language/Haskell/GhcMod/Pretty.hs, dist/build/Language/Haskell/GhcMod/Pretty.o ) [15 of 59] Compiling Language.Haskell.GhcMod.Error ( Language/Haskell/GhcMod/Error.hs, dist/build/Language/Haskell/GhcMod/Error.o ) [16 of 59] Compiling Language.Haskell.GhcMod.DebugLogger ( Language/Haskell/GhcMod/DebugLogger.hs, dist/build/Language/Haskell/GhcMod/DebugLogger.o ) [17 of 59] Compiling Language.Haskell.GhcMod.DynFlags ( Language/Haskell/GhcMod/DynFlags.hs, dist/build/Language/Haskell/GhcMod/DynFlags.o ) [18 of 59] Compiling Language.Haskell.GhcMod.Monad.Newtypes ( Language/Haskell/GhcMod/Monad/Newtypes.hs, dist/build/Language/Haskell/GhcMod/Monad/Newtypes.o ) [19 of 59] Compiling Language.Haskell.GhcMod.Monad.Env ( Language/Haskell/GhcMod/Monad/Env.hs, dist/build/Language/Haskell/GhcMod/Monad/Env.o ) [20 of 59] Compiling Language.Haskell.GhcMod.Monad.Log ( Language/Haskell/GhcMod/Monad/Log.hs, dist/build/Language/Haskell/GhcMod/Monad/Log.o ) [21 of 59] Compiling Language.Haskell.GhcMod.Monad.Orphans ( Language/Haskell/GhcMod/Monad/Orphans.hs, dist/build/Language/Haskell/GhcMod/Monad/Orphans.o ) [22 of 59] Compiling Language.Haskell.GhcMod.Monad.Out ( Language/Haskell/GhcMod/Monad/Out.hs, dist/build/Language/Haskell/GhcMod/Monad/Out.o ) [23 of 59] Compiling Language.Haskell.GhcMod.Monad.State ( Language/Haskell/GhcMod/Monad/State.hs, dist/build/Language/Haskell/GhcMod/Monad/State.o ) [24 of 59] Compiling Language.Haskell.GhcMod.Monad.Types ( Language/Haskell/GhcMod/Monad/Types.hs, dist/build/Language/Haskell/GhcMod/Monad/Types.o ) Language/Haskell/GhcMod/Monad/Types.hs:114:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (GmlT m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:114:10-64 In the instance declaration for ‘GhcMonad (GmlT m)’ Language/Haskell/GhcMod/Monad/Types.hs:136:34: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (GmlT m)) arising from a use of ‘getSession’ from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:135:10-67 In the second argument of ‘(<$>)’, namely ‘getSession’ In the expression: hsc_dflags <$> getSession In an equation for ‘getDynFlags’: getDynFlags = hsc_dflags <$> getSession Language/Haskell/GhcMod/Monad/Types.hs:142:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (GmOutT m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:142:10-72 In the instance declaration for ‘ExceptionMonad (GmOutT m)’ Language/Haskell/GhcMod/Monad/Types.hs:149:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (GmT m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:149:10-69 In the instance declaration for ‘ExceptionMonad (GmT m)’ Language/Haskell/GhcMod/Monad/Types.hs:156:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (GmlT m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:156:10-70 In the instance declaration for ‘ExceptionMonad (GmlT m)’ 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’ Language/Haskell/GhcMod/Monad/Types.hs:165:33: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (ReaderT (IORef HscEnv) IO)) arising from a use of ‘gcatch’ from the context (Exception e) bound by the type signature for gcatch :: Exception e => LightGhc a -> (e -> LightGhc a) -> LightGhc a at Language/Haskell/GhcMod/Monad/Types.hs:164:3-8 In the second argument of ‘($)’, namely ‘unLightGhc act `gcatch` \ e -> unLightGhc (handl e)’ In the expression: LightGhc $ unLightGhc act `gcatch` \ e -> unLightGhc (handl e) In an equation for ‘gcatch’: gcatch act handl = LightGhc $ unLightGhc act `gcatch` \ e -> unLightGhc (handl e) Language/Haskell/GhcMod/Monad/Types.hs:167:18: No instance for (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (ReaderT (IORef HscEnv) IO)) arising from a use of ‘gmask’ In the expression: gmask In the second argument of ‘($)’, namely ‘gmask $ \ io_restore -> let g_restore (LightGhc m) = ... in unLightGhc (f g_restore)’ In the expression: LightGhc $ gmask $ \ io_restore -> let g_restore (LightGhc m) = ... in unLightGhc (f g_restore) Language/Haskell/GhcMod/Monad/Types.hs:173:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (StateT s m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:173:10-74 In the instance declaration for ‘ExceptionMonad (StateT s m)’ Language/Haskell/GhcMod/Monad/Types.hs:180:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (ReaderT s m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:180:10-75 In the instance declaration for ‘ExceptionMonad (ReaderT s m)’ Language/Haskell/GhcMod/Monad/Types.hs:187:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (JournalT w m)) arising from the superclasses of an instance declaration from the context (Monoid w, MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:187:10-86 In the instance declaration for ‘ExceptionMonad (JournalT w m)’ Language/Haskell/GhcMod/Monad/Types.hs:194:10: Could not deduce (transformers-0.4.3.0:Control.Monad.IO.Class.MonadIO (MaybeT m)) arising from the superclasses of an instance declaration from the context (MonadIO m, MonadBaseControl IO m) bound by the instance declaration at Language/Haskell/GhcMod/Monad/Types.hs:194:10-72 In the instance declaration for ‘ExceptionMonad (MaybeT m)’ * ERROR: app-emacs/ghc-mod-5.7.0.0::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2982: Called haskell-cabal_src_compile * environment, line 2168: Called cabal_src_compile * environment, line 728: Called cabal-build * environment, line 492: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=app-emacs/ghc-mod-5.7.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emacs/ghc-mod-5.7.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-emacs:ghc-mod-5.7.0.0:20180318-063513.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/temp/environment'. * Working directory: '/var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0' * S: '/var/tmp/portage/app-emacs/ghc-mod-5.7.0.0/work/ghc-mod-5.7.0.0'