* Package: dev-haskell/multipart-0.1.2 * 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 multipart-0.1.2.tar.gz to /var/tmp/portage/dev-haskell/multipart-0.1.2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/multipart-0.1.2/work >>> Preparing source in /var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2 ... * Using cabal-3.0.1.0. * Prepending /usr/lib64/ghc-8.8.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-3.0.1.0 --make /var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2/Setup.hs, /var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2/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=multipart-0.1.2/ghc-8.8.4 --datadir=/usr/share/ --datasubdir=multipart-0.1.2/ghc-8.8.4 --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-fno-diagnostics-color --ghc-option=-optc-falign-functions=32:25:16 --ghc-option=-optc-Wformat --ghc-option=-optc-Werror=format-security --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/multipart-0.1.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Using Parsec parser Configuring multipart-0.1.2... Dependency base >=3 && <5: using base-4.13.0.0 Dependency bytestring -any: using bytestring-0.10.10.1 Dependency parsec >=2.0: using parsec-3.1.14.0 Source component graph: component lib Configured component graph: component multipart-0.1.2-tnqV8XuBBlL9lgx6lat1l include base-4.13.0.0 include bytestring-0.10.10.1 include parsec-3.1.14.0 Linked component graph: unit multipart-0.1.2-tnqV8XuBBlL9lgx6lat1l include base-4.13.0.0 include bytestring-0.10.10.1 include parsec-3.1.14.0 Network.Multipart=multipart-0.1.2-tnqV8XuBBlL9lgx6lat1l:Network.Multipart,Network.Multipart.Header=multipart-0.1.2-tnqV8XuBBlL9lgx6lat1l:Network.Multipart.Header Ready component graph: definite multipart-0.1.2-tnqV8XuBBlL9lgx6lat1l depends base-4.13.0.0 depends bytestring-0.10.10.1 depends parsec-3.1.14.0 Using Cabal-3.0.1.0 compiled by ghc-8.8 Using compiler: ghc-8.8.4 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/multipart-0.1.2/ghc-8.8.4 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.8.4 Private executables installed in: /usr/libexec/x86_64-linux-ghc-8.8.4/multipart-0.1.2 Data files installed in: /usr/share/multipart-0.1.2/ghc-8.8.4 Documentation installed in: /usr/share/doc/multipart-0.1.2 Configuration files installed in: /etc Using alex version 3.2.5 found on system at: /usr/bin/alex Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar No c2hs found No cpphs found No doctest found Using gcc version 10.2.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.8.4 given by user at: /usr/bin/ghc Using ghc-pkg version 8.8.4 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.23.0 found on system at: /usr/bin/haddock-ghc-8.8.4 Using happy version 1.19.12 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.7 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 Using pkg-config version 1.7.3 found on system at: /usr/bin/pkg-config Using runghc version 8.8.4 found on system at: /usr/bin/runghc Using strip version 2.34 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/multipart-0.1.2/work/multipart-0.1.2 ... ./setup build Preprocessing library for multipart-0.1.2.. Building library for multipart-0.1.2.. [1 of 2] Compiling Network.Multipart.Header ( Network/Multipart/Header.hs, dist/build/Network/Multipart/Header.o ) Network/Multipart/Header.hs:241:15: error: • Could not deduce (MonadFail m) arising from a use of ‘fail’ from the context: Monad m bound by the type signature for: parseM :: forall (m :: * -> *) a. Monad m => Parser a -> SourceName -> String -> m a at Network/Multipart/Header.hs:238:1-60 Possible fix: add (MonadFail m) to the context of the type signature for: parseM :: forall (m :: * -> *) a. Monad m => Parser a -> SourceName -> String -> m a • In the expression: fail (show e) In a case alternative: Left e -> fail (show e) In the expression: case parse p n inp of Left e -> fail (show e) Right x -> return x  | 241 | Left e -> fail (show e)  | ^^^^^^^^^^^^^  Network/Multipart/Header.hs:245:20: error: • Could not deduce (MonadFail m) arising from a use of ‘fail’ from the context: (Monad m, Eq a, Show a) bound by the type signature for: lookupM :: forall (m :: * -> *) a b. (Monad m, Eq a, Show a) => a -> [(a, b)] -> m b at Network/Multipart/Header.hs:244:1-57 Possible fix: add (MonadFail m) to the context of the type signature for: lookupM :: forall (m :: * -> *) a b. (Monad m, Eq a, Show a) => a -> [(a, b)] -> m b • In the first argument of ‘maybe’, namely ‘(fail ("No such field: " ++ show n))’ In the first argument of ‘(.)’, namely ‘maybe (fail ("No such field: " ++ show n)) return’ In the expression: maybe (fail ("No such field: " ++ show n)) return . lookup n  | 245 | lookupM n = maybe (fail ("No such field: " ++ show n)) return . lookup n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  * ERROR: dev-haskell/multipart-0.1.2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2643: Called haskell-cabal_src_compile * environment, line 1867: Called cabal_src_compile * environment, line 753: Called cabal-build * environment, line 511: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/multipart-0.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/multipart-0.1.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:multipart-0.1.2:20200804-092031.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/multipart-0.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/multipart-0.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2' * S: '/var/tmp/portage/dev-haskell/multipart-0.1.2/work/multipart-0.1.2'