emerging cabal-install fails with following error message: src/Distribution/Deprecated/ParseUtils.hs:405:31: error: [GHC-83865] • Couldn't match expected type ‘PE.ParseError’ with actual type ‘parsec-3.1.17.0:Text.Parsec.Error.ParseError’ Note: ‘PE.ParseError’ is defined in ‘Text.Parsec.Error’ in package ‘parsec-3.1.18.0’ ‘parsec-3.1.17.0:Text.Parsec.Error.ParseError’ is defined in ‘Text.Parsec.Error’ in package ‘parsec-3.1.17.0’. • In the first argument of ‘PE.errorMessages’, namely ‘perr’ In the sixth argument of ‘PE.showErrorMessages’, namely ‘(PE.errorMessages perr)’ In the first argument of ‘NoParse’, namely ‘(PE.showErrorMessages "or" "unknown parse error" "expecting" "unexpected" "end of file" (PE.errorMessages perr))’
Created attachment 925701 [details] build log
Created attachment 925702 [details] emerge --info result
Created attachment 925703 [details] emerge -pqv '=dev-haskell/cabal-install-3.14.1.1::haskell'
The (almost) same error message appears when emerging dev-haskell/cabal-install-3.10.3.0 on another gentoo machine running ghc-9.4.8 src/Distribution/Client/FetchUtils.hs:233:36: error: • Couldn't match type ‘Distribution.Types.PackageId.PackageIdentifier’ with ‘Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier’ Expected: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier Actual: PackageId NB: ‘Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier’ is defined in ‘Distribution.Types.PackageId’ in package ‘Cabal-syntax-3.8.1.0’ ‘Distribution.Types.PackageId.PackageIdentifier’ is defined in ‘Distribution.Types.PackageId’ in package ‘Cabal-syntax-3.10.3.0’ • In the second argument of ‘Sec.downloadPackage'’, namely ‘pkgid’ In a stmt of a 'do' block: Sec.downloadPackage' rep pkgid path In the second argument of ‘($)’, namely ‘do info verbosity ("Writing " ++ path) Sec.downloadPackage' rep pkgid path’