* Package: dev-haskell/cairo-0.13.1.1 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pdf postscript svg userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cairo-0.13.1.1.tar.gz to /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work >>> Source unpacked in /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work >>> Preparing source in /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1 ... * 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/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 2] Compiling SetupWrapper ( SetupWrapper.hs, SetupWrapper.o ) SetupWrapper.hs:86:16: Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’ with actual type ‘ProgramConfiguration -> IO PackageIndex.InstalledPackageIndex’ Probable cause: ‘getInstalledPackages’ is applied to too few arguments In a stmt of a 'do' block: index <- getInstalledPackages verbosity usePackageDB conf In the expression: do { index <- getInstalledPackages verbosity usePackageDB conf; let cabalDep = Dependency (PackageName "Cabal") (orLaterVersion useCabalVersion); case PackageIndex.lookupDependency index cabalDep of { [] -> die $ "The package requires Cabal library version " ++ display useCabalVersion ++ " but no suitable version is installed." pkgs -> return $ bestVersion (map fst pkgs) } } SetupWrapper.hs:86:47: Couldn't match expected type ‘Compiler’ with actual type ‘[PackageDB]’ In the second argument of ‘getInstalledPackages’, namely ‘usePackageDB’ In a stmt of a 'do' block: index <- getInstalledPackages verbosity usePackageDB conf SetupWrapper.hs:120:54: Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’ with ‘[PackageDB]’ Expected type: PackageDBStack Actual type: ProgramConfiguration In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’ In a stmt of a 'do' block: cabalLibVersion <- cabalLibVersionToUse comp conf /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -o setup [1 of 2] Compiling SetupWrapper ( SetupWrapper.hs, SetupWrapper.o ) SetupWrapper.hs:86:16: Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’ with actual type ‘ProgramConfiguration -> IO PackageIndex.InstalledPackageIndex’ Probable cause: ‘getInstalledPackages’ is applied to too few arguments In a stmt of a 'do' block: index <- getInstalledPackages verbosity usePackageDB conf In the expression: do { index <- getInstalledPackages verbosity usePackageDB conf; let cabalDep = Dependency (PackageName "Cabal") (orLaterVersion useCabalVersion); case PackageIndex.lookupDependency index cabalDep of { [] -> die $ "The package requires Cabal library version " ++ display useCabalVersion ++ " but no suitable version is installed." pkgs -> return $ bestVersion (map fst pkgs) } } SetupWrapper.hs:86:47: Couldn't match expected type ‘Compiler’ with actual type ‘[PackageDB]’ In the second argument of ‘getInstalledPackages’, namely ‘usePackageDB’ In a stmt of a 'do' block: index <- getInstalledPackages verbosity usePackageDB conf SetupWrapper.hs:120:54: Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’ with ‘[PackageDB]’ Expected type: PackageDBStack Actual type: ProgramConfiguration In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’ In a stmt of a 'do' block: cabalLibVersion <- cabalLibVersionToUse comp conf * ERROR: dev-haskell/cairo-0.13.1.1::gentoo failed (configure phase): * compiling /var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1/Setup.hs failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 2865: Called haskell-cabal_src_configure '--flags=cairo_pdf' '--flags=cairo_ps' '--flags=cairo_svg' * environment, line 1984: Called cabal-bootstrap * environment, line 488: Called die * The specific snippet of code: * } || make_setup "$@" || die "compiling ${setupmodule} failed"; * * If you need support, post the output of `emerge --info '=dev-haskell/cairo-0.13.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/cairo-0.13.1.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:cairo-0.13.1.1:20170217-041541.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/cairo-0.13.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/cairo-0.13.1.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1' * S: '/var/tmp/portage/dev-haskell/cairo-0.13.1.1/work/cairo-0.13.1.1'