Issue with 8.7.2 upgrade: cabal: Could not resolve dependencies

Hi, i’m trying to update to 8.7.2, when i try “cabal build cardano-node cardano-cli” i receive this error:

Resolving dependencies…

Error: cabal: Could not resolve dependencies:

[__0] trying: cardano-node-8.7.2 (user goal)

[__1] trying: ouroboros-consensus-0.14.0.0 (dependency of cardano-node)

[__2] trying: cardano-ledger-binary-1.2.1.0 (dependency of

ouroboros-consensus)

[__3] trying: vector-0.13.1.0 (dependency of ouroboros-consensus)

[__4] next goal: cardano-crypto-class (dependency of cardano-node)

[__4] rejecting: cardano-crypto-class-2.1.4.0 (conflict: pkg-config package

libblst-any, not found in the pkg-config database)

[__4] rejecting: cardano-crypto-class-2.1.3.0 (conflict: vector==0.13.1.0,

cardano-crypto-class => vector<0.13)

[__4] skipping: cardano-crypto-class-2.1.2.0, cardano-crypto-class-2.1.1.0,

cardano-crypto-class-2.1.0.2, cardano-crypto-class-2.1.0.1,

cardano-crypto-class-2.1.0.0 (has the same characteristics that caused the

previous version to fail: excludes ‘vector’ version 0.13.1.0)

[__4] rejecting: cardano-crypto-class-2.0.0.1 (conflict: cardano-ledger-binary

=> cardano-crypto-class>=2.1)

[__4] skipping: cardano-crypto-class-2.0.0.0.1, cardano-crypto-class-2.0.0

(has the same characteristics that caused the previous version to fail:

excluded by constraint ‘>=2.1’ from ‘cardano-ledger-binary’)

[__4] fail (backjumping, conflict set: cardano-crypto-class,

cardano-ledger-binary, cardano-node, vector)

After searching the rest of the dependency tree exhaustively, these were the

goals I’ve had most trouble fulfilling: cardano-node, cardano-crypto-class,

ouroboros-consensus, vector, cardano-ledger-binary

Try running with --minimize-conflict-set to improve the error message.

CONFIGURATION:
The Glorious Glasgow Haskell Compilation System, version 8.10.7

cabal-install version 3.8.1.0
compiled using version 3.8.1.0 of the Cabal library

Any idea?

3 Likes

Did you update cabal and did you also install BLST? cardano-node-wiki/docs/getting-started/install.md at main · input-output-hk/cardano-node-wiki · GitHub

3 Likes

thank you!
finally it’s work

1 Like

The Installing cardano-node and cardano-cli from source | Cardano Developer Portal documentation should be updated, actually does not mentions BLST.