Skip to content

Intermittent cabal solver failure building (I think) "binary"

Cabal says "After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ghc-boot:setup.Cabal, ghc-boot:setup.pretty, pretty, ghc-boot, Cabal".

Incidents in the last two weeks:

json->>'id' json->>'name' json->>'web_url' json->>'runner.description' date(json->>'created_at')
1758471 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1758471 azure-ghc-ci-linux-1 2024-01-23
1757837 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1757837 x86_64-linux-6.zw3rk_x86_64-linux-6_db038e4e1623 2024-01-22
1757489 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1757489 azure-ghc-ci-linux-1 2024-01-21
1756611 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1756611 x86_64-linux-6.zw3rk_x86_64-linux-6_db038e4e1623 2024-01-20
1756143 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1756143 azure-ghc-ci-linux-2 2024-01-19
1755357 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1755357 x86_64-linux-5.zw3rk_x86_64-linux-5_db038e4e1623 2024-01-18
1754037 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1754037 x86_64-linux-2.zw3rk_x86_64-linux-2_d292a225d2eb 2024-01-17
1753131 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1753131 azure-ghc-ci-linux-2 2024-01-16
1752195 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1752195 x86_64-linux-5.zw3rk_x86_64-linux-5_db038e4e1623 2024-01-15
1751676 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1751676 azure-ghc-ci-linux-1 2024-01-14
1751211 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1751211 x86_64-linux-3.zw3rk_x86_64-linux-3_db038e4e1623 2024-01-13
1750686 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1750686 x86_64-linux-6.zw3rk_x86_64-linux-6_db038e4e1623 2024-01-12
1750635 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1750635 x86_64-linux-6.zw3rk_x86_64-linux-6_db038e4e1623 2024-01-12
1749605 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1749605 x86_64-linux-3.zw3rk_x86_64-linux-3_db038e4e1623 2024-01-11
1748472 test-cabal-reinstall-x86_64-linux-deb10 https://gitlab.haskell.org/ghc/ghc/-/jobs/1748472 x86_64-linux-7.zw3rk_x86_64-linux-7_db038e4e1623 2024-01-10
| Create directory /builds/ghc/ghc/_build/stage-cabal/bin
# _build/stage-cabal/cabal-packages
# /usr/local/bin/cabal
| Run Cabal Install Stage2: none => none
/usr/local/bin/cabal --store-dir=/builds/ghc/ghc/_build/stage-cabal/cabal-store build binary --project-file /builds/ghc/ghc/cabal.project-reinstall --distdir _build/stage-cabal/
dist-newstyle --with-compiler=/builds/ghc/ghc/_build/stage1/bin/ghc --enable-executable-dynamic --enable-library-vanilla
Command line: /usr/local/bin/cabal --store-dir=/builds/ghc/ghc/_build/stage-cabal/cabal-store build binary --project-file /builds/ghc/ghc/cabal.project-reinstall --distdir _buil
d/stage-cabal/dist-newstyle --with-compiler=/builds/ghc/ghc/_build/stage1/bin/ghc --enable-executable-dynamic --enable-library-vanilla
===> Command failed with error code: 1
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.6.2.0 supports
'ghc' version < 9.4): /builds/ghc/ghc/_build/stage1/bin/ghc is version
9.9.20240120
cabal: Could not resolve dependencies:
[__0] trying: Cabal-3.11.0.0 (user goal)
[__1] trying: pretty-1.1.3.6/installed-inplace (dependency of Cabal)
[__2] trying: ghc-boot-9.9 (user goal)
[__3] next goal: ghc-boot:setup.Cabal (dependency of ghc-boot)
[__3] rejecting: ghc-boot:setup.Cabal~>Cabal-3.11.0.0,
ghc-boot:setup.Cabal-3.11.0.0, ghc-boot:setup.Cabal-3.10.1.0,
ghc-boot:setup.Cabal-3.8.1.0 (constraint from maximum version of Cabal used by
Setup.hs requires <3.8)
[__3] trying: ghc-boot:setup.Cabal-3.6.3.0
[__4] next goal: ghc-boot:setup.pretty (dependency of ghc-boot:setup.Cabal)
[__4] rejecting: ghc-boot:setup.pretty~>pretty-1.1.3.6/installed-inplace
(conflict: ghc-boot:setup.Cabal => ghc-boot:setup.deepseq>=1.3.0.1 && <1.5,
ghc-boot:setup.pretty => ghc-boot:setup.deepseq==1.5.0.0/installed-inplace)
[__4] rejecting: ghc-boot:setup.pretty-1.1.3.6/installed-inplace (multiple
instances)
[__4] rejecting: ghc-boot:setup.pretty-1.1.3.6, ghc-boot:setup.pretty-1.1.3.5,
ghc-boot:setup.pretty-1.1.3.4, ghc-boot:setup.pretty-1.1.3.3,
ghc-boot:setup.pretty-1.1.3.2, ghc-boot:setup.pretty-1.1.3.1,
ghc-boot:setup.pretty-1.1.2.1, ghc-boot:setup.pretty-1.1.2.0,
ghc-boot:setup.pretty-1.1.1.3, ghc-boot:setup.pretty-1.1.1.2,
ghc-boot:setup.pretty-1.1.1.1, ghc-boot:setup.pretty-1.1.1.0,
ghc-boot:setup.pretty-1.1.0.0, ghc-boot:setup.pretty-1.0.1.2,
ghc-boot:setup.pretty-1.0.1.1, ghc-boot:setup.pretty-1.0.1.0,
ghc-boot:setup.pretty-1.0.0.0 (constraint from project config
/builds/ghc/ghc/cabal.project-reinstall requires installed instance)
[__4] fail (backjumping, conflict set: pretty, ghc-boot:setup.Cabal,
ghc-boot:setup.pretty)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: ghc-boot:setup.Cabal,
ghc-boot:setup.pretty, pretty, ghc-boot, Cabal
Try running with --minimize-conflict-set to improve the error message.
Edited by Bryan R
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information