* Package: dev-haskell/yesod-core-1.4.31 * Repository: gentoo * Maintainer: 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 yesod-core-1.4.31.tar.gz to /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work >>> Source unpacked in /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work >>> Preparing source in /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31/Setup.lhs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31/Setup.lhs, /var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31/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=yesod-core-1.4.31/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=yesod-core-1.4.31/ghc-8.0.2 --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=-optc-Wall --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/yesod-core-1.4.31 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring yesod-core-1.4.31... Dependency aeson >=0.5: using aeson-1.0.2.1 Dependency auto-update -any: using auto-update-0.1.4 Dependency base >=4.6 && <5: using base-4.9.1.0 Dependency blaze-builder >=0.2.1.4 && <0.5: using blaze-builder-0.4.0.2 Dependency blaze-html >=0.5: using blaze-html-0.8.1.2 Dependency blaze-markup >=0.7.1: using blaze-markup-0.7.1.0 Dependency byteable -any: using byteable-0.1.1 Dependency bytestring >=0.10: using bytestring-0.10.8.1 Dependency case-insensitive >=0.2: using case-insensitive-1.2.0.7 Dependency cereal >=0.3: using cereal-0.4.1.1 Dependency clientsession >=0.9.1 && <0.10: using clientsession-0.9.1.1 Dependency conduit >=1.2: using conduit-1.2.8 Dependency conduit-extra -any: using conduit-extra-1.1.15 Dependency containers >=0.2: using containers-0.5.7.1 Dependency cookie >=0.4.2 && <0.5: using cookie-0.4.2.1 Dependency data-default -any: using data-default-0.5.3 Dependency deepseq >=1.3: using deepseq-1.4.2.0 Dependency deepseq-generics -any: using deepseq-generics-0.2.0.0 Dependency directory >=1: using directory-1.3.0.0 Dependency exceptions >=0.6: using exceptions-0.8.3 Dependency fast-logger >=2.2: using fast-logger-2.4.7 Dependency http-types >=0.7: using http-types-0.9.1 Dependency lifted-base >=0.1.2: using lifted-base-0.2.3.10 Dependency monad-control >=0.3 && <1.1: using monad-control-1.0.1.0 Dependency monad-logger >=0.3.1 && <0.4: using monad-logger-0.3.20.1 Dependency mtl -any: using mtl-2.2.1 Dependency mwc-random -any: using mwc-random-0.13.4.0 Dependency old-locale >=1.0.0.2 && <1.1: using old-locale-1.0.0.7 Dependency parsec >=2 && <3.2: using parsec-3.1.11 Dependency path-pieces >=0.1.2 && <0.3: using path-pieces-0.2.1 Dependency primitive -any: using primitive-0.6.1.0 Dependency random >=1.0.0.2 && <1.2: using random-1.1 Dependency resourcet >=0.4.9 && <1.2: using resourcet-1.1.9 Dependency safe -any: using safe-0.3.9 Dependency semigroups -any: using semigroups-0.18.2 Dependency shakespeare >=2.0: using shakespeare-2.0.12.1 Dependency template-haskell -any: using template-haskell-2.11.1.0 Dependency text >=0.7: using text-1.2.2.1 Dependency time >=1.1.4: using time-1.6.0.1 Dependency transformers >=0.2.2: using transformers-0.5.2.0 Dependency transformers-base >=0.4: using transformers-base-0.4.4 Dependency unix-compat -any: using unix-compat-0.4.3.1 Dependency unordered-containers >=0.2: using unordered-containers-0.2.7.2 Dependency vector >=0.9 && <0.13: using vector-0.11.0.0 Dependency wai >=3.0: using wai-3.2.1.1 Dependency wai-extra >=3.0.7: using wai-extra-3.0.18 Dependency wai-logger >=0.2: using wai-logger-2.2.7 Dependency warp >=3.0.2: using warp-3.2.11 Dependency word8 -any: using word8-0.1.2 Using Cabal-1.24.2.0 compiled by ghc-8.0 Using compiler: ghc-8.0.2 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/yesod-core-1.4.31/ghc-8.0.2 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-8.0.2 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/yesod-core-1.4.31/ghc-8.0.2 Documentation installed in: /usr/share/doc/yesod-core-1.4.31 Configuration files installed in: /etc Using alex version 3.2.1 found on system at: /usr/bin/alex 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 6.4.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.0.2 given by user at: /usr/bin/ghc Using ghc-pkg version 8.0.2 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.17.3 found on system at: /usr/bin/haddock 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.68.1 found on system at: /usr/bin/hsc2hs No hscolour found 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.28 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/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31 ... ./setup build Building yesod-core-1.4.31... Preprocessing library yesod-core-1.4.31... [ 1 of 31] Compiling Yesod.Routes.TH.Types ( Yesod/Routes/TH/Types.hs, dist/build/Yesod/Routes/TH/Types.o ) [ 2 of 31] Compiling Yesod.Routes.TH.Dispatch ( Yesod/Routes/TH/Dispatch.hs, dist/build/Yesod/Routes/TH/Dispatch.o ) [ 3 of 31] Compiling Yesod.Routes.Overlap ( Yesod/Routes/Overlap.hs, dist/build/Yesod/Routes/Overlap.o ) [ 4 of 31] Compiling Yesod.Routes.Class ( Yesod/Routes/Class.hs, dist/build/Yesod/Routes/Class.o ) [ 5 of 31] Compiling Yesod.Routes.TH.ParseRoute ( Yesod/Routes/TH/ParseRoute.hs, dist/build/Yesod/Routes/TH/ParseRoute.o ) [ 6 of 31] Compiling Yesod.Routes.TH.RenderRoute ( Yesod/Routes/TH/RenderRoute.hs, dist/build/Yesod/Routes/TH/RenderRoute.o ) [ 7 of 31] Compiling Yesod.Routes.TH.RouteAttrs ( Yesod/Routes/TH/RouteAttrs.hs, dist/build/Yesod/Routes/TH/RouteAttrs.o ) [ 8 of 31] Compiling Yesod.Routes.TH ( Yesod/Routes/TH.hs, dist/build/Yesod/Routes/TH.o ) [ 9 of 31] Compiling Yesod.Routes.Parse ( Yesod/Routes/Parse.hs, dist/build/Yesod/Routes/Parse.o ) [10 of 31] Compiling Yesod.Core.TypeCache ( Yesod/Core/TypeCache.hs, dist/build/Yesod/Core/TypeCache.o ) [11 of 31] Compiling Yesod.Core.Internal.Util ( Yesod/Core/Internal/Util.hs, dist/build/Yesod/Core/Internal/Util.o ) [12 of 31] Compiling Yesod.Core.Types ( Yesod/Core/Types.hs, dist/build/Yesod/Core/Types.o ) Yesod/Core/Types.hs:470:56: error: • Couldn't match expected type ‘Loc’ with actual type ‘Control.Monad.Logger.Loc’ NB: ‘Control.Monad.Logger.Loc’ is defined in ‘Control.Monad.Logger’ in package ‘monad-logger-0.3.20.1’ ‘Loc’ is defined in ‘Language.Haskell.TH.Syntax’ in package ‘template-haskell-2.11.1.0’ • In the second argument of ‘rheLog’, namely ‘a’ In the second argument of ‘(<$>)’, namely ‘rheLog (handlerEnv hd) a b c (toLogStr d)’ In the second argument of ‘($)’, namely ‘(, mempty) <$> rheLog (handlerEnv hd) a b c (toLogStr d)’ Yesod/Core/Types.hs:474:19: error: • Couldn't match type ‘Loc’ with ‘Control.Monad.Logger.Loc’ NB: ‘Control.Monad.Logger.Loc’ is defined in ‘Control.Monad.Logger’ in package ‘monad-logger-0.3.20.1’ ‘Loc’ is defined in ‘Language.Haskell.TH.Syntax’ in package ‘template-haskell-2.11.1.0’ Expected type: WidgetT site m (Control.Monad.Logger.Loc -> LogSource -> LogLevel -> LogStr -> IO ()) Actual type: WidgetT site m (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) • In the expression: WidgetT $ \ hd -> return (rheLog (handlerEnv hd), mempty) In an equation for ‘askLoggerIO’: askLoggerIO = WidgetT $ \ hd -> return (rheLog (handlerEnv hd), mempty) In the instance declaration for ‘MonadLoggerIO (WidgetT site m)’ Yesod/Core/Types.hs:536:41: error: • Couldn't match expected type ‘Loc’ with actual type ‘Control.Monad.Logger.Loc’ NB: ‘Control.Monad.Logger.Loc’ is defined in ‘Control.Monad.Logger’ in package ‘monad-logger-0.3.20.1’ ‘Loc’ is defined in ‘Language.Haskell.TH.Syntax’ in package ‘template-haskell-2.11.1.0’ • In the second argument of ‘rheLog’, namely ‘a’ In the second argument of ‘($)’, namely ‘rheLog (handlerEnv hd) a b c (toLogStr d)’ In the expression: liftIO $ rheLog (handlerEnv hd) a b c (toLogStr d) Yesod/Core/Types.hs:540:19: error: • Couldn't match type ‘Loc’ with ‘Control.Monad.Logger.Loc’ NB: ‘Control.Monad.Logger.Loc’ is defined in ‘Control.Monad.Logger’ in package ‘monad-logger-0.3.20.1’ ‘Loc’ is defined in ‘Language.Haskell.TH.Syntax’ in package ‘template-haskell-2.11.1.0’ Expected type: HandlerT site m (Control.Monad.Logger.Loc -> LogSource -> LogLevel -> LogStr -> IO ()) Actual type: HandlerT site m (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) • In the expression: HandlerT $ \ hd -> return (rheLog (handlerEnv hd)) In an equation for ‘askLoggerIO’: askLoggerIO = HandlerT $ \ hd -> return (rheLog (handlerEnv hd)) In the instance declaration for ‘MonadLoggerIO (HandlerT site m)’ * ERROR: dev-haskell/yesod-core-1.4.31::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2995: Called haskell-cabal_src_compile * environment, line 2102: Called cabal_src_compile * environment, line 820: Called cabal-build * environment, line 584: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/yesod-core-1.4.31::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/yesod-core-1.4.31::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:yesod-core-1.4.31:20171113-190347.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/yesod-core-1.4.31/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/yesod-core-1.4.31/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31' * S: '/var/tmp/portage/dev-haskell/yesod-core-1.4.31/work/yesod-core-1.4.31'