Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the suggested command for evaluating the plutus benchmark fails #1008

Closed
nielstron opened this issue Mar 3, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nielstron
Copy link

nielstron commented Mar 3, 2023

Summary

I am trying to run the plutus benchmark described in plutus-benchmark. The suggested cabal command fails due to conflicting dependencies.

Steps to reproduce the behavior

  1. cabal bench plutus-benchmark:validation --minimize-conflict-set

Actual Result

➜  plutus git:(master) ✗ cabal bench plutus-benchmark:validation --minimize-conflict-set
Warning: Requested index-state 2022-11-15T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2022-11-14T23:53:01Z).
Warning: Requested index-state 2023-02-23T00:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2023-02-22T19:09:40Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: plutus-core-1.2.0.0 (user goal)
[__1] rejecting: plutus-core:-with-inline-r (constraint from config file,
command line flag, or user target requires opposite flag selection)
[__1] trying: plutus-core:+with-inline-r
[__2] next goal: inline-r (dependency of plutus-core +with-inline-r)
[__2] rejecting: inline-r-1.0.0.0.0.0.0.1 (conflict: pkg-config package
libR>=3.0, not found in the pkg-config database)
[__2] rejecting: inline-r-1.0.0, inline-r-0.10.5, inline-r-0.10.4,
inline-r-0.10.3, inline-r-0.10.2, inline-r-0.10.1, inline-r-0.10,
inline-r-0.9.2, inline-r-0.9.1, inline-r-0.9.0.2, inline-r-0.9.0.1,
inline-r-0.9.0.0, inline-r-0.8.0.1, inline-r-0.8.0.0, inline-r-0.7.3.0,
inline-r-0.7.2.0, inline-r-0.7.1.2, inline-r-0.7.1.1, inline-r-0.7.1.0,
inline-r-0.7.0.0 (conflict: plutus-core +with-inline-r => inline-r>=1.0.0.0)
[__2] fail (backjumping, conflict set: inline-r, plutus-core,
plutus-core:with-inline-r)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-core,
plutus-core:with-inline-r, inline-r

Expected Result

Benchmark runs as intended

Describe the approach you would take to fix this

Fix the dependencies?

System info

OS: Ubuntu 22 LTS
Commit: cb4854f

@nielstron nielstron added the bug Something isn't working label Mar 3, 2023
@nielstron
Copy link
Author

wrong repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant