Bug 278210 - sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0
Summary: sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL: https://github.com/IntersectMBO/carda...
Keywords:
Depends on: 278209
Blocks:
  Show dependency treegraph
 
Reported: 2024-04-07 00:28 UTC by Andrey Korobkov
Modified: 2024-04-14 21:35 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (arrowd)


Attachments
[PATCH 2/3] [WIP] sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0 (67.43 KB, patch)
2024-04-08 20:18 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH] [BLOCKED] sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0 (69.59 KB, patch)
2024-04-14 21:35 UTC, Andrey Korobkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Korobkov 2024-04-07 00:28:26 UTC

    
Comment 1 Andrey Korobkov 2024-04-07 00:32:49 UTC
`make cabal-configure` fails, being unable to resolve dependencies:

Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: cardano-cli-8.22.0.0 (user goal)
[__1] next goal: cardano-crypto-class (dependency of cardano-cli)
[__1] rejecting: cardano-crypto-class-2.1.4.0, cardano-crypto-class-2.1.3.0,
cardano-crypto-class-2.1.2.0 (conflict: pkg-config package libblst-any, not
found in the pkg-config database)
[__1] rejecting: cardano-crypto-class-2.1.1.0 (conflict: cardano-cli =>
cardano-crypto-class^>=2.1.2)
[__1] skipping: cardano-crypto-class-2.1.0.2, cardano-crypto-class-2.1.0.1,
cardano-crypto-class-2.1.0.0, cardano-crypto-class-2.0.0.1,
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.2' from 'cardano-cli')
[__1] fail (backjumping, conflict set: cardano-cli, cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-cli, cardano-crypto-class

*** Error code 1

Stop.

Is this something I could do with? May be any hints, where to look, please?
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2024-04-07 07:37:40 UTC
> conflict: pkg-config package libblst-any, not found in the pkg-config database

You have to have the blst package installed to make configuration proceed. The same goes for libsodium, IIRC
Comment 3 Andrey Korobkov 2024-04-08 17:02:59 UTC
Thank you! It helped.
The next stopper is some dependency versions conflict during actual build:

Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: fs-api-0.2.0.1 (user goal)
[__1] next goal: io-classes (user goal)
[__1] rejecting: io-classes-1.4.1.0 (conflict: fs-api => io-classes>=0.3 &&
<1.4)
[__1] fail (backjumping, conflict set: fs-api, io-classes)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: fs-api, io-classes
Comment 4 Gleb Popov freebsd_committer freebsd_triage 2024-04-08 20:11:14 UTC
Can you share your current version of the patch?
Comment 5 Andrey Korobkov 2024-04-08 20:16:39 UTC
Sure! Sorry for not doing this in advance.
Comment 6 Andrey Korobkov 2024-04-08 20:18:45 UTC
Created attachment 249840 [details]
[PATCH 2/3] [WIP] sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0
Comment 7 Andrey Korobkov 2024-04-08 21:24:13 UTC
My work on the patches for this issue is going here:
https://git.sr.ht/~alster/freebsd-ports/log/cardano
Comment 8 Andrey Korobkov 2024-04-14 21:35:45 UTC
Created attachment 249981 [details]
[PATCH] [BLOCKED] sysutils/cardano-cli: Update 8.20.1.0 -> 8.22.0.0