* Package: dev-haskell/haddock-library-1.10.0:0/1.10.0 * 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 haddock-library-1.10.0.tar.gz to /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work >>> Unpacking haddock-library-1.10.0-rev3.cabal to /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work unpack haddock-library-1.10.0-rev3.cabal: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work >>> Preparing source in /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0 ... dos2unix: converting file /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0/haddock-library.cabal to Unix format... * CHDEP: 'hspec >= 2.4.4 && < 2.8' -> 'hspec >=2.4.4' * CHDEP: 'hspec-discover:hspec-discover >= 2.4.4 && < 2.8' -> 'hspec-discover:hspec-discover >=2.4.4' * CHDEP: 'optparse-applicative ^>= 0.15' -> 'optparse-applicative >=0.15' * CHDEP: 'tree-diff ^>= 0.1' -> 'tree-diff >=0.1' * CHDEP: 'base-compat ^>= 0.9.3 || ^>= 0.11.0' -> 'base-compat >=0.11.0' * CHDEP: 'base-compat ^>= 0.9.3 || ^>= 0.11.0' -> 'base-compat >=0.11.0' >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0 ... * Using cabal-3.2.1.0. /usr/bin/ghc -hide-all-packages -package Cabal -package base -package binary -package bytestring -package containers -package deepseq -package directory -package exceptions -package filepath -package haskeline -package mtl -package parsec -package pretty -package process -package stm -package template-haskell -package terminfo -package text -package transformers -package unix -package xhtml --make /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0/Setup.hs, /var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.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=haddock-library-1.10.0/ghc-8.10.6 --datadir=/usr/share/ --datasubdir=haddock-library-1.10.0/ghc-8.10.6 --disable-tests --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-fno-diagnostics-color --ghc-option=-optc-O2 --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/haddock-library-1.10.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Using Parsec parser Configuring haddock-library-1.10.0... Dependency base >=4.5 && <4.17: using base-4.14.3.0 Dependency bytestring -any: using bytestring-0.10.12.0 Dependency containers >=0.4.2.1 && <0.5 || >=0.5.0.0 && <0.6 || >=0.6.0.1 && <0.7: using containers-0.6.5.1 Dependency parsec >=3.1.13.0 && <3.2: using parsec-3.1.14.0 Dependency text >=1.2.3.0 && <1.3 || ==2.0.*: using text-1.2.5.0 Dependency transformers -any: using transformers-0.5.6.2 Source component graph: component lib Configured component graph: component haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ include base-4.14.3.0 include bytestring-0.10.12.0 include containers-0.6.5.1 include parsec-3.1.14.0 include text-1.2.5.0-5p4J6FuFy4zH0AQSS6vUkX include transformers-0.5.6.2 Linked component graph: unit haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ include base-4.14.3.0 include bytestring-0.10.12.0 include containers-0.6.5.1 include parsec-3.1.14.0 include text-1.2.5.0-5p4J6FuFy4zH0AQSS6vUkX include transformers-0.5.6.2 Documentation.Haddock.Doc=haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ:Documentation.Haddock.Doc,Documentation.Haddock.Markup=haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ:Documentation.Haddock.Markup,Documentation.Haddock.Parser=haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ:Documentation.Haddock.Parser,Documentation.Haddock.Types=haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ:Documentation.Haddock.Types Ready component graph: definite haddock-library-1.10.0-B7BIBmpPBtWJFAgjRmX0cJ depends base-4.14.3.0 depends bytestring-0.10.12.0 depends containers-0.6.5.1 depends parsec-3.1.14.0 depends text-1.2.5.0-5p4J6FuFy4zH0AQSS6vUkX depends transformers-0.5.6.2 Warning: This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure. package parsec (parsec-3.1.14.0) requires text-1.2.4.1 package haddock-library (haddock-library-1.10.0) requires text-1.2.5.0-5p4J6FuFy4zH0AQSS6vUkX Using Cabal-3.2.1.0 compiled by ghc-8.10 Using compiler: ghc-8.10.6 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/haddock-library-1.10.0/ghc-8.10.6 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.10.6 Private executables installed in: /usr/libexec/x86_64-linux-ghc-8.10.6/haddock-library-1.10.0 Data files installed in: /usr/share/haddock-library-1.10.0/ghc-8.10.6 Documentation installed in: /usr/share/doc/haddock-library-1.10.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 No cpphs found No doctest found Using gcc version 12 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.10.6 given by user at: /usr/bin/ghc Using ghc-pkg version 8.10.6 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.24.2 found on system at: /usr/bin/haddock-ghc-8.10.6 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.68 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.8.0 found on system at: /usr/bin/pkg-config Using runghc version 8.10.6 found on system at: /usr/bin/runghc Using strip version 2.39 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/haddock-library-1.10.0/work/haddock-library-1.10.0 ... ./setup build Preprocessing library for haddock-library-1.10.0.. Building library for haddock-library-1.10.0.. [1 of 8] Compiling CompatPrelude ( src/CompatPrelude.hs, dist/build/CompatPrelude.o, dist/build/CompatPrelude.dyn_o ) [2 of 8] Compiling Documentation.Haddock.Types ( src/Documentation/Haddock/Types.hs, dist/build/Documentation/Haddock/Types.o, dist/build/Documentation/Haddock/Types.dyn_o ) [3 of 8] Compiling Documentation.Haddock.Parser.Monad ( src/Documentation/Haddock/Parser/Monad.hs, dist/build/Documentation/Haddock/Parser/Monad.o, dist/build/Documentation/Haddock/Parser/Monad.dyn_o ) src/Documentation/Haddock/Parser/Monad.hs:59:30: error: • Could not deduce (Parsec.Stream Text Data.Functor.Identity.Identity Char) arising from a use of ‘Parsec.string’ from the context: a ~ Text bound by the instance declaration at src/Documentation/Haddock/Parser/Monad.hs:58:10-42 • In the second argument of ‘(.)’, namely ‘Parsec.string’ In the expression: fmap T.pack . Parsec.string In an equation for ‘fromString’: fromString = fmap T.pack . Parsec.string | 59 | fromString = fmap T.pack . Parsec.string | ^^^^^^^^^^^^^ src/Documentation/Haddock/Parser/Monad.hs:62:22: error: • No instance for (Parsec.Stream Text Data.Functor.Identity.Identity t0) arising from a use of ‘Parsec.runParser’ • In the expression: Parsec.runParser p' initialParserState "" t In the expression: case Parsec.runParser p' initialParserState "" t of Left e -> Left (show e) Right (x, s) -> Right (s, x) In an equation for ‘parseOnly’: parseOnly p t = case Parsec.runParser p' initialParserState "" t of Left e -> Left (show e) Right (x, s) -> Right (s, x) where p' = (,) <$> p <*> Parsec.getState | 62 | parseOnly p t = case Parsec.runParser p' initialParserState "" t of | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Documentation/Haddock/Parser/Monad.hs:140:45: error: • Could not deduce (Parsec.Stream Text Data.Functor.Identity.Identity Char) arising from a use of ‘Parsec.digit’ from the context: Integral a bound by the type signature for: decimal :: forall a. Integral a => Parser a at src/Documentation/Haddock/Parser/Monad.hs:139:1-33 • In the first argument of ‘Parsec.many1’, namely ‘Parsec.digit’ In the second argument of ‘fmap’, namely ‘Parsec.many1 Parsec.digit’ In the expression: foldl' step 0 `fmap` Parsec.many1 Parsec.digit | 140 | decimal = foldl' step 0 `fmap` Parsec.many1 Parsec.digit | ^^^^^^^^^^^^ src/Documentation/Haddock/Parser/Monad.hs:145:49: error: • Could not deduce (Parsec.Stream Text Data.Functor.Identity.Identity Char) arising from a use of ‘Parsec.hexDigit’ from the context: (Integral a, Bits a) bound by the type signature for: hexadecimal :: forall a. (Integral a, Bits a) => Parser a at src/Documentation/Haddock/Parser/Monad.hs:144:1-47 • In the first argument of ‘Parsec.many1’, namely ‘Parsec.hexDigit’ In the second argument of ‘fmap’, namely ‘Parsec.many1 Parsec.hexDigit’ In the expression: foldl' step 0 `fmap` Parsec.many1 Parsec.hexDigit | 145 | hexadecimal = foldl' step 0 `fmap` Parsec.many1 Parsec.hexDigit | ^^^^^^^^^^^^^^^ [6 of 8] Compiling Documentation.Haddock.Markup ( src/Documentation/Haddock/Markup.hs, dist/build/Documentation/Haddock/Markup.o, dist/build/Documentation/Haddock/Markup.dyn_o ) [7 of 8] Compiling Documentation.Haddock.Doc ( src/Documentation/Haddock/Doc.hs, dist/build/Documentation/Haddock/Doc.o, dist/build/Documentation/Haddock/Doc.dyn_o ) * ERROR: dev-haskell/haddock-library-1.10.0::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 1937: Called haskell-cabal_src_compile * environment, line 1595: Called cabal_src_compile * environment, line 796: Called cabal-build * environment, line 576: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/haddock-library-1.10.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/haddock-library-1.10.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:haddock-library-1.10.0:20221116-090505.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/haddock-library-1.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/haddock-library-1.10.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0' * S: '/var/tmp/portage/dev-haskell/haddock-library-1.10.0/work/haddock-library-1.10.0'