Closed poscat0x04 closed 1 year ago
Currently, attoparsec cannot be built using cabal. Build output:
Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: attoparsec-0.13.2.4 (user goal) [__1] trying: base-4.14.1.0/installed-4.14.1.0 (dependency of attoparsec) [__2] trying: attoparsec-benchmarks-0 (user goal) [__3] trying: criterion-1.5.9.0 (dependency of attoparsec-benchmarks) [__4] trying: microstache-1.0.1.2 (dependency of criterion) [__5] trying: cassava-0.5.2.0 (dependency of criterion) [__6] trying: hashable-1.3.0.0 (dependency of cassava) [__7] trying: base-compat-batteries-0.11.2 (dependency of criterion) [__8] trying: base-compat-0.11.2 (dependency of base-compat-batteries) [__9] trying: aeson-1.5.5.1 (dependency of criterion) [_10] trying: th-abstraction-0.4.2.0 (dependency of aeson) [_11] trying: template-haskell-2.16.0.0/installed-2.16.0.0 (dependency of aeson) [_12] trying: pretty-1.1.3.6/installed-1.1.3.6 (dependency of template-haskell) [_13] trying: ghc-boot-th-8.10.3/installed-8.10.3 (dependency of template-haskell) [_14] trying: th-abstraction:!test [_15] trying: aeson:!test [_16] trying: aeson:-developer [_17] trying: aeson:-fast [_18] trying: aeson:-cffi [_19] trying: uuid-types-1.0.3 (dependency of aeson) [_20] trying: uuid-types:!bench [_21] trying: uuid-types:!test [_22] trying: random-1.2.0 (dependency of uuid-types) [_23] trying: random:!bench [_24] trying: random:!test [_25] trying: splitmix-0.1.0.3 (dependency of random) [_26] trying: splitmix:!bench [_27] trying: splitmix:!test [_28] trying: splitmix:-optimised-mixer [_29] trying: time-compat-1.9.5 (dependency of aeson) [_30] trying: time-compat:!test [_31] trying: time-compat:-old-locale [_32] trying: base-orphans-0.8.4 (dependency of time-compat) [_33] trying: base-orphans:!test [_34] trying: these-1.1.1.1 (dependency of aeson) [_35] trying: these:+assoc [_36] trying: assoc-1.0.2 (dependency of these +assoc) [_37] trying: bifunctors-5.5.10 (dependency of assoc) [_38] trying: bifunctors:!test [_39] trying: bifunctors:+tagged [_40] trying: bifunctors:+semigroups [_41] trying: comonad-5.0.8 (dependency of bifunctors) [_42] trying: comonad:+containers [_43] trying: comonad:+distributive [_44] trying: distributive-0.6.2.1 (dependency of comonad +distributive) [_45] trying: distributive:!test [_46] trying: distributive:+tagged [_47] trying: distributive:+semigroups [_48] trying: comonad:+indexed-traversable [_49] trying: indexed-traversable-0.1.1 (dependency of comonad +indexed-traversable) [_50] trying: tagged-0.8.6.1 (dependency of aeson) [_51] trying: tagged:+deepseq [_52] trying: tagged:+transformers [_53] trying: strict-0.4.0.1 (dependency of aeson) [_54] trying: strict:+assoc [_55] trying: primitive-0.7.1.0 (dependency of aeson) [_56] trying: primitive:!test [_57] trying: dlist-1.0 (dependency of aeson) [_58] trying: dlist:!test [_59] trying: dlist:-werror [_60] trying: data-fix-0.3.1 (dependency of aeson) [_61] trying: aeson:-bytestring-builder [_62] trying: unix-2.7.2.2/installed-2.7.2.2 (dependency of base-compat) [_63] trying: base-compat-batteries:!test [_64] trying: hashable:!bench [_65] trying: hashable:!test [_66] trying: hashable:-examples [_67] trying: hashable:+integer-gmp [_68] trying: hashable:-sse41 [_69] trying: hashable:+sse2 [_70] trying: cassava:!test [_71] rejecting: cassava:+bytestring--lt-0_10_4 (conflict: unix => bytestring==0.10.12.0/installed-0.10.12.0, cassava +bytestring--lt-0_10_4 => bytestring<0.10.4) [_71] trying: cassava:-bytestring--lt-0_10_4 [_72] trying: text-short-0.1.3 (dependency of cassava -bytestring--lt-0_10_4) [_73] trying: text-short:!test [_74] trying: text-short:-asserts [_75] trying: Only-0.1 (dependency of cassava) [_76] trying: microstache:!test [_77] trying: criterion:!test [_78] trying: criterion:-fast [_79] trying: criterion:-embed-data-files [_80] trying: vector-algorithms-0.8.0.4 (dependency of criterion) [_81] trying: vector-algorithms:!bench [_82] trying: vector-algorithms:!test [_83] trying: vector-algorithms:-llvm [_84] trying: vector-algorithms:+boundschecks [_85] trying: vector-algorithms:-unsafechecks [_86] trying: vector-algorithms:-internalchecks [_87] trying: vector-algorithms:+properties [_88] trying: vector-algorithms:+bench [_89] trying: transformers-compat-0.6.6 (dependency of criterion) [_90] trying: transformers-compat:-five-three [_91] trying: transformers-compat:-five [_92] trying: transformers-compat:-four [_93] trying: transformers-compat:-three [_94] trying: transformers-compat:-two [_95] trying: transformers-compat:+mtl [_96] trying: transformers-compat:+generic-deriving [_97] trying: time-1.9.3/installed-1.9.3 (dependency of criterion) [_98] trying: statistics-0.15.2.0 (dependency of criterion) [_99] trying: statistics:!test [100] trying: vector-th-unbox-0.2.1.7 (dependency of statistics) [101] trying: vector-th-unbox:!test [102] trying: vector-binary-instances-0.2.5.1 (dependency of statistics) [103] trying: vector-binary-instances:!bench [104] trying: vector-binary-instances:!test [105] trying: monad-par-0.3.5 (dependency of statistics) [106] trying: monad-par:!test [107] trying: monad-par:-chaselev [108] trying: monad-par:-newgeneric [109] trying: parallel-3.2.2.0 (dependency of monad-par) [110] trying: monad-par-extras-0.3.3 (dependency of monad-par) [111] trying: cereal-0.5.8.1 (dependency of monad-par-extras) [112] trying: cereal:!test [113] trying: cereal:-bytestring-builder [114] trying: abstract-par-0.3.3 (dependency of monad-par) [115] trying: abstract-deque-0.3 (dependency of monad-par) [116] trying: abstract-deque:-usecas [117] trying: math-functions-0.3.4.1 (dependency of statistics) [118] trying: math-functions:!bench [119] trying: math-functions:!test [120] trying: math-functions:+system-expm1 [121] trying: math-functions:+system-erf [122] trying: dense-linear-algebra-0.1.0.0 (dependency of statistics) [123] trying: dense-linear-algebra:!test [124] trying: data-default-class-0.1.2.0 (dependency of statistics) [125] trying: async-2.2.2 (dependency of statistics) [126] trying: async:!test [127] trying: async:-bench [128] trying: stm-2.5.0.0/installed-2.5.0.0 (dependency of async) [129] trying: optparse-applicative-0.16.1.0 (dependency of criterion) [130] trying: optparse-applicative:!test [131] trying: optparse-applicative:+process [132] trying: process-1.6.9.0/installed-1.6.9.0 (dependency of optparse-applicative +process) [133] trying: mwc-random-0.15.0.1 (dependency of criterion) [134] trying: mwc-random:!bench [135] trying: mwc-random:!test [136] next goal: mtl (dependency of criterion) [136] rejecting: mtl-2.2.2/installed-2.2.2 (conflict: transformers-compat -five-three => transformers<0.5.3, mtl => transformers==0.5.6.2/installed-0.5.6.2) [136] trying: mtl-2.2.2 [137] trying: js-chart-2.9.4.1 (dependency of criterion) [138] trying: js-chart:!test [139] next goal: exceptions (dependency of criterion) [139] rejecting: exceptions-0.10.4/installed-0.10.4 (conflict: mtl==2.2.2, exceptions => mtl==2.2.2/installed-2.2.2) [139] trying: exceptions-0.10.4 [140] trying: exceptions:!test [141] trying: exceptions:+transformers-0-4 [142] trying: criterion-measurement-0.1.2.0 (dependency of criterion) [143] trying: criterion-measurement:-fast [144] trying: code-page-0.2.1 (dependency of criterion) [145] trying: code-page:!test [146] trying: code-page:hsc2hs:exe.hsc2hs-0.68.7 (dependency of code-page) [147] trying: code-page:hsc2hs:exe.hsc2hs:!test [148] trying: code-page:hsc2hs:exe.hsc2hs:-in-ghc-tree [149] trying: code-page:hsc2hs:exe.process~>process-1.6.9.0/installed-1.6.9.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [150] trying: code-page:hsc2hs:exe.unix~>unix-2.7.2.2/installed-2.7.2.2 (dependency of code-page:hsc2hs:exe.process) [151] trying: code-page:hsc2hs:exe.time~>time-1.9.3/installed-1.9.3 (dependency of code-page:hsc2hs:exe.unix) [152] trying: code-page:hsc2hs:exe.bytestring-0.10.12.0/installed-0.10.12.0 (dependency of code-page:hsc2hs:exe.unix) [153] trying: code-page:hsc2hs:exe.integer-gmp-1.0.3.0/installed-1.0.3.0 (dependency of code-page:hsc2hs:exe.bytestring) [154] trying: code-page:hsc2hs:exe.ghc-prim-0.6.1/installed-0.6.1 (dependency of code-page:hsc2hs:exe.bytestring) [155] trying: code-page:hsc2hs:exe.rts-1.0/installedrts (dependency of code-page:hsc2hs:exe.ghc-prim) [156] trying: code-page:hsc2hs:exe.deepseq-1.4.4.0/installed-1.4.4.0 (dependency of code-page:hsc2hs:exe.process) [157] trying: code-page:hsc2hs:exe.array-0.5.4.0/installed-0.5.4.0 (dependency of code-page:hsc2hs:exe.deepseq) [158] trying: code-page:hsc2hs:exe.filepath-1.4.2.1/installed-1.4.2.1 (dependency of code-page:hsc2hs:exe.hsc2hs) [159] trying: code-page:hsc2hs:exe.directory-1.3.6.0/installed-1.3.6.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [160] trying: code-page:hsc2hs:exe.containers-0.6.2.1/installed-0.6.2.1 (dependency of code-page:hsc2hs:exe.hsc2hs) [161] trying: code-page:hsc2hs:exe.base~>base-4.14.1.0/installed-4.14.1.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [162] trying: binary-orphans-1.0.1 (dependency of criterion) [163] trying: binary-orphans:!test [164] trying: binary-0.8.8.0/installed-0.8.8.0 (dependency of criterion) [165] trying: ansi-wl-pprint-0.6.9 (dependency of criterion) [166] trying: ansi-wl-pprint:-example [167] trying: ansi-terminal-0.11 (dependency of ansi-wl-pprint) [168] trying: ansi-terminal:-example [169] trying: colour-2.3.5 (dependency of ansi-terminal) [170] trying: colour:!test [171] trying: Glob-0.10.1 (dependency of criterion) [172] trying: Glob:!test [173] trying: vector-0.12.2.0 (dependency of attoparsec-benchmarks) [174] trying: vector:!test [175] trying: vector:-wall [176] trying: vector:+boundschecks [177] trying: vector:-unsafechecks [178] trying: vector:-internalchecks [179] trying: unordered-containers-0.2.13.0 (dependency of attoparsec-benchmarks) [180] trying: unordered-containers:!bench [181] trying: unordered-containers:!test [182] trying: unordered-containers:-debug [183] next goal: parsec (dependency of attoparsec-benchmarks) [183] rejecting: parsec-3.1.14.0/installed-3.1.14.0 (conflict: mtl==2.2.2, parsec => mtl==2.2.2/installed-2.2.2) [183] trying: parsec-3.1.14.0 [184] trying: parsec:!test [185] trying: http-types-0.12.3 (dependency of attoparsec-benchmarks) [186] trying: http-types:!test [187] trying: filepath~>code-page:hsc2hs:exe.filepath-1.4.2.1/installed-1.4.2.1 (dependency of attoparsec-benchmarks) [188] trying: directory~>code-page:hsc2hs:exe.directory-1.3.6.0/installed-1.3.6.0 (dependency of attoparsec-benchmarks) [189] trying: case-insensitive-1.2.1.0 (dependency of attoparsec-benchmarks) [190] trying: case-insensitive:!bench [191] trying: case-insensitive:!test [192] trying: rts~>code-page:hsc2hs:exe.rts-1.0/installedrts (dependency of base) [193] trying: integer-gmp~>code-page:hsc2hs:exe.integer-gmp-1.0.3.0/installed-1.0.3.0 (dependency of base) [194] rejecting: attoparsec:*bench (cyclic dependencies; conflict set: aeson, attoparsec, criterion, criterion-measurement) [142] trying: criterion-measurement-0.1.1.0 [143] trying: criterion-measurement:-fast [144] trying: code-page-0.2.1 (dependency of criterion) [145] trying: code-page:!test [146] trying: code-page:hsc2hs:exe.hsc2hs-0.68.7 (dependency of code-page) [147] trying: code-page:hsc2hs:exe.hsc2hs:!test [148] trying: code-page:hsc2hs:exe.hsc2hs:-in-ghc-tree [149] trying: code-page:hsc2hs:exe.process~>process-1.6.9.0/installed-1.6.9.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [150] trying: code-page:hsc2hs:exe.unix~>unix-2.7.2.2/installed-2.7.2.2 (dependency of code-page:hsc2hs:exe.process) [151] trying: code-page:hsc2hs:exe.time~>time-1.9.3/installed-1.9.3 (dependency of code-page:hsc2hs:exe.unix) [152] trying: code-page:hsc2hs:exe.bytestring-0.10.12.0/installed-0.10.12.0 (dependency of code-page:hsc2hs:exe.unix) [153] trying: code-page:hsc2hs:exe.integer-gmp-1.0.3.0/installed-1.0.3.0 (dependency of code-page:hsc2hs:exe.bytestring) [154] trying: code-page:hsc2hs:exe.ghc-prim-0.6.1/installed-0.6.1 (dependency of code-page:hsc2hs:exe.bytestring) [155] trying: code-page:hsc2hs:exe.rts-1.0/installedrts (dependency of code-page:hsc2hs:exe.ghc-prim) [156] trying: code-page:hsc2hs:exe.deepseq-1.4.4.0/installed-1.4.4.0 (dependency of code-page:hsc2hs:exe.process) [157] trying: code-page:hsc2hs:exe.array-0.5.4.0/installed-0.5.4.0 (dependency of code-page:hsc2hs:exe.deepseq) [158] trying: code-page:hsc2hs:exe.filepath-1.4.2.1/installed-1.4.2.1 (dependency of code-page:hsc2hs:exe.hsc2hs) [159] trying: code-page:hsc2hs:exe.directory-1.3.6.0/installed-1.3.6.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [160] trying: code-page:hsc2hs:exe.containers-0.6.2.1/installed-0.6.2.1 (dependency of code-page:hsc2hs:exe.hsc2hs) [161] trying: code-page:hsc2hs:exe.base~>base-4.14.1.0/installed-4.14.1.0 (dependency of code-page:hsc2hs:exe.hsc2hs) [162] trying: binary-orphans-1.0.1 (dependency of criterion) [163] trying: binary-orphans:!test [164] trying: binary-0.8.8.0/installed-0.8.8.0 (dependency of criterion) [165] trying: ansi-wl-pprint-0.6.9 (dependency of criterion) [166] trying: ansi-wl-pprint:-example [167] trying: ansi-terminal-0.11 (dependency of ansi-wl-pprint) [168] trying: ansi-terminal:-example [169] trying: colour-2.3.5 (dependency of ansi-terminal) [170] trying: colour:!test [171] trying: Glob-0.10.1 (dependency of criterion) [172] trying: Glob:!test [173] trying: vector-0.12.2.0 (dependency of attoparsec-benchmarks) [174] trying: vector:!test [175] trying: vector:-wall [176] trying: vector:+boundschecks [177] trying: vector:-unsafechecks [178] trying: vector:-internalchecks [179] trying: unordered-containers-0.2.13.0 (dependency of attoparsec-benchmarks) [180] trying: unordered-containers:!bench [181] trying: unordered-containers:!test [182] trying: unordered-containers:-debug [183] next goal: parsec (dependency of attoparsec-benchmarks) [183] rejecting: parsec-3.1.14.0/installed-3.1.14.0 (conflict: mtl==2.2.2, parsec => mtl==2.2.2/installed-2.2.2) [183] trying: parsec-3.1.14.0 [184] trying: parsec:!test [185] trying: http-types-0.12.3 (dependency of attoparsec-benchmarks) [186] trying: http-types:!test [187] trying: filepath~>code-page:hsc2hs:exe.filepath-1.4.2.1/installed-1.4.2.1 (dependency of attoparsec-benchmarks) [188] trying: directory~>code-page:hsc2hs:exe.directory-1.3.6.0/installed-1.3.6.0 (dependency of attoparsec-benchmarks) [189] trying: case-insensitive-1.2.1.0 (dependency of attoparsec-benchmarks) [190] trying: case-insensitive:!bench [191] trying: case-insensitive:!test [192] trying: rts~>code-page:hsc2hs:exe.rts-1.0/installedrts (dependency of base) [193] trying: integer-gmp~>code-page:hsc2hs:exe.integer-gmp-1.0.3.0/installed-1.0.3.0 (dependency of base) [194] rejecting: attoparsec:*bench (cyclic dependencies; conflict set: aeson, attoparsec, criterion, criterion-measurement) [142] rejecting: criterion-measurement-0.1.0.0 (conflict: criterion => criterion-measurement>=0.1.1.0 && <0.2) [142] fail (backjumping, conflict set: aeson, attoparsec, criterion, criterion-measurement) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: aeson, criterion, base, cassava, hashable, attoparsec, base-compat, th-abstraction, template-haskell, base-compat-batteries, microstache, attoparsec-benchmarks, hastache Try running with --minimize-conflict-set to improve the error message.
Now 0.13.2.4 seems to build fine with ghc 9.0.1. But not the latest release, 0.13.2.5. See also https://github.com/bgamari/attoparsec/pull/6.
Should be fixed now.
Currently, attoparsec cannot be built using cabal. Build output: