* Package: dev-haskell/pandoc-citeproc-0.8.1.3 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 bibutils elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying pandoc-citeproc-0.9-no-binutils.patch ... [ ok ] * Using cabal-1.22.8.0. * Prepending /usr/lib64/ghc-7.10.3 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.22.8.0 --make /var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/work/pandoc-citeproc-0.8.1.3/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/work/pandoc-citeproc-0.8.1.3/Setup.hs, /var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/work/pandoc-citeproc-0.8.1.3/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=pandoc-citeproc-0.8.1.3/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=pandoc-citeproc-0.8.1.3/ghc-7.10.3 --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/pandoc-citeproc-0.8.1.3 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=bibutils --flags=-debug --flags=-embed_data_files --flag=-small_base --flags=-test_citeproc --flags=-unicode_collation Configuring pandoc-citeproc-0.8.1.3... Flags chosen: debug=False, test_citeproc=False, unicode_collation=False, embed_data_files=False, bibutils=True Dependency aeson >=0.7 && <0.11: using aeson-0.9.0.1 Dependency aeson-pretty -any: using aeson-pretty-0.7.2 Dependency attoparsec -any: using attoparsec-0.13.0.2 Dependency base >=4: using base-4.8.2.0 Dependency bytestring -any: using bytestring-0.10.6.0 Dependency containers >=0.4: using containers-0.5.6.2 Dependency data-default -any: using data-default-0.5.3 Dependency directory -any: using directory-1.2.2.0 Dependency filepath -any: using filepath-1.4.0.0 Dependency hs-bibutils >=0.3: using hs-bibutils-5.5 Dependency mtl -any: using mtl-2.2.1 Dependency old-locale -any: using old-locale-1.0.0.7 Dependency pandoc >=1.13: using pandoc-1.18 Dependency pandoc-citeproc -any: using pandoc-citeproc-0.8.1.3 Dependency pandoc-types >=1.12.3: using pandoc-types-1.17.0.4 Dependency parsec -any: using parsec-3.1.11 Dependency process -any: using process-1.2.3.0 Dependency rfc5051 -any: using rfc5051-0.1.0.3 Dependency setenv ==0.1.*: using setenv-0.1.1.3 Dependency split -any: using split-0.2.3.1 Dependency syb -any: using syb-0.5.1 Dependency tagsoup -any: using tagsoup-0.13.10 Dependency temporary >=1.1: using temporary-1.2.0.4 Dependency text -any: using text-1.2.2.1 Dependency time -any: using time-1.5.0.1 Dependency unordered-containers ==0.2.*: using unordered-containers-0.2.7.1 Dependency vector >=0.10: using vector-0.11.0.0 Dependency xml-conduit >=1.2 && <1.4: using xml-conduit-1.3.4.2 Dependency yaml >=0.8.8.7: using yaml-0.8.20 Using Cabal-1.22.8.0 compiled by ghc-7.10 Using compiler: ghc-7.10.3 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/pandoc-citeproc-0.8.1.3/ghc-7.10.3 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/pandoc-citeproc-0.8.1.3/ghc-7.10.3 Documentation installed in: /usr/share/doc/pandoc-citeproc-0.8.1.3 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 6.3.0 found on system at: /usr/bin/gcc Using ghc version 7.10.3 given by user at: /usr/bin/ghc Using ghc-pkg version 7.10.3 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found No haddock found 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 No hsb2hs found Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs Using hscolour version 1.24 found on system at: /usr/bin/HsColour No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found Using pkg-config version 1.2.2 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 ./setup build Building pandoc-citeproc-0.8.1.3... Preprocessing library pandoc-citeproc-0.8.1.3... [ 1 of 21] Compiling Prelude ( prelude/Prelude.hs, dist/build/Prelude.o ) [ 2 of 21] Compiling Paths_pandoc_citeproc ( dist/build/autogen/Paths_pandoc_citeproc.hs, dist/build/Paths_pandoc_citeproc.o ) [ 3 of 21] Compiling Text.CSL.Util ( src/Text/CSL/Util.hs, dist/build/Text/CSL/Util.o ) src/Text/CSL/Util.hs:270:17: Constructor ‘Link’ should have 3 arguments, but has been given 2 In the pattern: Link xs t In an equation for ‘go’: go acc (Link xs t) = (: acc) <$> (Link <$> caseTransform xform xs <*> pure t) In an equation for ‘caseTransform’: caseTransform xform = fmap reverse . foldM go [] . splitUpStr where go acc Space = do { modify (\ st -> ...); .... } go acc LineBreak = do { put WordBoundary; .... } go acc (Str [c]) | c `elem` "-\2013\2014\160" = do { put WordBoundary; .... } | isPunctuation c = do { return $ Str ... : acc } go acc (Str []) = return acc go acc (Str xs) = do { res <- xform (Str xs); .... } go acc (Span ("", classes, []) xs) | null classes || classes == ["nocase"] = do { res <- xform (Span ... xs); .... } go acc (Quoted qt xs) = (: acc) <$> (Quoted qt <$> caseTransform xform xs) go acc (Emph xs) = (: acc) <$> (Emph <$> caseTransform xform xs) go acc (Strong xs) = (: acc) <$> (Strong <$> caseTransform xform xs) go acc (Link xs t) = (: acc) <$> (Link <$> caseTransform xform xs <*> pure t) go acc (Image xs t) = (: acc) <$> (Link <$> caseTransform xform xs <*> pure t) go acc (Span attr xs) = (: acc) <$> (Span attr <$> caseTransform xform xs) go acc x = return $ x : acc src/Text/CSL/Util.hs:339:7: Constructor ‘Link’ should have 3 arguments, but has been given 2 In the pattern: Link is t In a stmt of a pattern guard for an equation for ‘initInline’: Link is t <- i In an equation for ‘initInline’: initInline (i : []) | Str s <- i = return $ Str (init' s) | Emph is <- i = return $ Emph (initInline is) | Strong is <- i = return $ Strong (initInline is) | Superscript is <- i = return $ Superscript (initInline is) | Subscript is <- i = return $ Subscript (initInline is) | Quoted q is <- i = return $ Quoted q (initInline is) | SmallCaps is <- i = return $ SmallCaps (initInline is) | Strikeout is <- i = return $ Strikeout (initInline is) | Link is t <- i = return $ Link (initInline is) t | Span at is <- i = return $ Span at (initInline is) | otherwise = [] src/Text/CSL/Util.hs:368:7: Constructor ‘Link’ should have 3 arguments, but has been given 2 In the pattern: Link is t In a stmt of a pattern guard for an equation for ‘mapHeadInline’: Link is t <- i In an equation for ‘mapHeadInline’: mapHeadInline f (i : xs) | Str [] <- i = mapHeadInline f xs | Str s <- i = Str (f s) : xs | Emph is <- i = Emph (mapHeadInline f is) : xs | Strong is <- i = Strong (mapHeadInline f is) : xs | Superscript is <- i = Superscript (mapHeadInline f is) : xs | Subscript is <- i = Subscript (mapHeadInline f is) : xs | Quoted q is <- i = Quoted q (mapHeadInline f is) : xs | SmallCaps is <- i = SmallCaps (mapHeadInline f is) : xs | Strikeout is <- i = Strikeout (mapHeadInline f is) : xs | Link is t <- i = Link (mapHeadInline f is) t : xs | Span at is <- i = Span at (mapHeadInline f is) : xs | otherwise = i : xs * ERROR: dev-haskell/pandoc-citeproc-0.8.1.3::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2915: Called haskell-cabal_src_compile * environment, line 2025: Called cabal_src_compile * environment, line 781: Called cabal-build * environment, line 545: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/pandoc-citeproc-0.8.1.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/pandoc-citeproc-0.8.1.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:pandoc-citeproc-0.8.1.3:20170216-210606.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/work/pandoc-citeproc-0.8.1.3' * S: '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.8.1.3/work/pandoc-citeproc-0.8.1.3'