Building library for yaml-0.11.5.0.. [ 1 of 10] Compiling Data.Yaml.Internal ( src/Data/Yaml/Internal.hs, dist/build/Data/Yaml/Internal.o, dist/build/Data/Yaml/Internal.dyn_o ) src/Data/Yaml/Internal.hs:266:30: error: • Couldn't match type: M.HashMap Text Value with: Data.Aeson.KeyMap.KeyMap Value Expected: Object Actual: M.HashMap Text Value • In the first argument of ‘Object’, namely ‘front’ In the expression: Object front In an equation for ‘res’: res = Object front | 266 | let res = Object front | ^^^^^ src/Data/Yaml/Internal.hs:282:46: error: • Couldn't match expected type ‘Key’ with actual type ‘Text’ • In the first argument of ‘Key’, namely ‘s’ In the first argument of ‘(:)’, namely ‘Key s’ In the first argument of ‘local’, namely ‘(Key s :)’ | 282 | (mergedKeys', al') <- local (Key s :) $ do | ^ src/Data/Yaml/Internal.hs:291:62: error: • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value with: M.HashMap Text Value Expected: M.HashMap Text Value Actual: Object • In the first argument of ‘merge’, namely ‘l’ In the first argument of ‘return’, namely ‘(merge l)’ In the expression: return (merge l) | 291 | Object l -> return (merge l) | ^ src/Data/Yaml/Internal.hs:296:52: error: • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value with: M.HashMap k v Expected: M.HashMap k v Actual: Object • In the second argument of ‘M.union’, namely ‘om’ In the expression: M.union al om In an equation for ‘mergeObjects’: mergeObjects al (Object om) = M.union al om • Relevant bindings include al :: M.HashMap k v (bound at src/Data/Yaml/Internal.hs:296:24) mergeObjects :: M.HashMap k v -> Value -> M.HashMap k v (bound at src/Data/Yaml/Internal.hs:296:11) | 296 | where mergeObjects al (Object om) = M.union al om | ^^ src/Data/Yaml/Internal.hs:417:63: error: • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value with: M.HashMap Key Value Expected: M.HashMap Key Value Actual: Object • In the first argument of ‘M.toList’, namely ‘o’ In the third argument of ‘foldr’, namely ‘(M.toList o)’ In the second argument of ‘(:)’, namely ‘foldr pairToEvents (EventMappingEnd : rest) (M.toList o)’ | 417 | : foldr pairToEvents (EventMappingEnd : rest) (M.toList o) | ^ src/Data/Yaml/Internal.hs:420:52: error: • Couldn't match expected type ‘Text’ with actual type ‘Key’ • In the first argument of ‘String’, namely ‘k’ In the first argument of ‘objToEvents'’, namely ‘(String k)’ In the first argument of ‘(.)’, namely ‘objToEvents' (String k)’ | 420 | pairToEvents (k, v) = objToEvents' (String k) . objToEvents' v | ^ * ERROR: dev-haskell/yaml-0.11.5.0::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 1927: Called haskell-cabal_src_compile * environment, line 1553: Called cabal_src_compile * environment, line 743: Called cabal-build * environment, line 526: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed"
Created attachment 793415 [details] build.log
Created attachment 793418 [details] emerge --info
$ eix -e ghc [I] dev-lang/ghc Available versions: (~)8.8.4-r1(0/8.8.4)^t (~)8.10.4-r1(0/8.10.4)^t **8.10.6(0/8.10.6)^t (~)9.0.2(0/9.0.2)^t {big-endian binary (+)doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test} Installed versions: 9.0.2(0/9.0.2)^t(05:01:23 23/07/22)(doc gmp -big-endian -binary -elfutils -ghcbootstrap -ghcmakebinary -numa -profile -test) Homepage: https://www.haskell.org/ghc/ Description: The Glasgow Haskell Compiler
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342aee5ad39bcf0e180d04f0350f4d21920cb2be commit 342aee5ad39bcf0e180d04f0350f4d21920cb2be Author: Mark Wright <gienah@gentoo.org> AuthorDate: 2022-07-23 12:01:07 +0000 Commit: Mark Wright <gienah@gentoo.org> CommitDate: 2022-07-23 12:03:21 +0000 dev-haskell/yaml: Bump to 0.11.8.0 Closes: https://bugs.gentoo.org/860234 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mark Wright <gienah@gentoo.org> dev-haskell/yaml/Manifest | 2 +- dev-haskell/yaml/metadata.xml | 6 ++-- .../{yaml-0.11.5.0.ebuild => yaml-0.11.8.0.ebuild} | 34 +++++++++++++++------- 3 files changed, 27 insertions(+), 15 deletions(-)