* Package: dev-haskell/yesod-routes-1.2.0.7-r2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking yesod-routes-1.2.0.7.tar.gz to /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work >>> Preparing source in /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7 ... * CHDEP: 'path-pieces >= 0.1 && < 0.2' -> 'path-pieces >= 0.1' * CHDEP: 'HUnit >= 1.2 && < 1.3' -> 'HUnit >= 1.2' * CHDEP: 'vector >= 0.8 && < 0.11' -> 'vector >= 0.8' >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7 ... * 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-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7/Setup.lhs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7/Setup.lhs, /var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7/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-routes-1.2.0.7/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=yesod-routes-1.2.0.7/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-routes-1.2.0.7-r2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring yesod-routes-1.2.0.7... Dependency base ==4.*: using base-4.9.1.0 Dependency containers >=0.2: using containers-0.5.7.1 Dependency path-pieces >=0.1: using path-pieces-0.2.1 Dependency template-haskell -any: using template-haskell-2.11.1.0 Dependency text >=0.5: using text-1.2.2.1 Dependency vector >=0.8: using vector-0.11.0.0 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-routes-1.2.0.7/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-routes-1.2.0.7/ghc-8.0.2 Documentation installed in: /usr/share/doc/yesod-routes-1.2.0.7-r2 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 Using c2hs version 0.27.1 found on system at: /usr/bin/c2hs 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 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.1 found on system at: /usr/bin/pkg-config Using strip version 2.27 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-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7 ... ./setup build Building yesod-routes-1.2.0.7... Preprocessing library yesod-routes-1.2.0.7... [ 1 of 10] Compiling Yesod.Routes.TH.Types ( Yesod/Routes/TH/Types.hs, dist/build/Yesod/Routes/TH/Types.o ) [ 2 of 10] Compiling Yesod.Routes.Overlap ( Yesod/Routes/Overlap.hs, dist/build/Yesod/Routes/Overlap.o ) Yesod/Routes/Overlap.hs:39:7: warning: [-Wunused-top-binds] Defined but not used: ‘overlapF1’ Yesod/Routes/Overlap.hs:40:7: warning: [-Wunused-top-binds] Defined but not used: ‘overlapF2’ [ 3 of 10] Compiling Yesod.Routes.Dispatch ( Yesod/Routes/Dispatch.lhs, dist/build/Yesod/Routes/Dispatch.o ) [ 4 of 10] Compiling Yesod.Routes.TH.Dispatch ( Yesod/Routes/TH/Dispatch.hs, dist/build/Yesod/Routes/TH/Dispatch.o ) Yesod/Routes/TH/Dispatch.hs:301:17: warning: [-Wunused-matches] Defined but not used: ‘env’ [ 5 of 10] Compiling Yesod.Routes.Class ( Yesod/Routes/Class.hs, dist/build/Yesod/Routes/Class.o ) [ 6 of 10] Compiling Yesod.Routes.TH.ParseRoute ( Yesod/Routes/TH/ParseRoute.hs, dist/build/Yesod/Routes/TH/ParseRoute.o ) Yesod/Routes/TH/ParseRoute.hs:53:5: error: • Couldn't match type ‘[Dec] -> Dec’ with ‘Dec’ Expected type: Q Dec Actual type: Q ([Dec] -> Dec) • In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] In the expression: do { cls <- mkParseRouteClauses ress; return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] } In an equation for ‘mkParseRouteInstance’: mkParseRouteInstance typ ress = do { cls <- mkParseRouteClauses ress; return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD ... cls] } Yesod/Routes/TH/ParseRoute.hs:53:24: error: • Couldn't match expected type ‘Maybe Overlap’ with actual type ‘[t0]’ • In the first argument of ‘InstanceD’, namely ‘[]’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] Yesod/Routes/TH/ParseRoute.hs:53:28: error: • Couldn't match type ‘Type’ with ‘[Pred]’ Expected type: Cxt Actual type: Type • In the second argument of ‘InstanceD’, namely ‘(ConT ''ParseRoute `AppT` typ)’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] Yesod/Routes/TH/ParseRoute.hs:54:9: error: • Couldn't match expected type ‘Type’ with actual type ‘[Dec]’ • In the third argument of ‘InstanceD’, namely ‘[FunD 'parseRoute cls]’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] * ERROR: dev-haskell/yesod-routes-1.2.0.7-r2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2862: Called haskell-cabal_src_compile * environment, line 1972: 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 '=dev-haskell/yesod-routes-1.2.0.7-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/yesod-routes-1.2.0.7-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:yesod-routes-1.2.0.7-r2:20170221-044945.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7' * S: '/var/tmp/portage/dev-haskell/yesod-routes-1.2.0.7-r2/work/yesod-routes-1.2.0.7'