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

compatibility issue solana_rbpf and solana dependencies #24

Open
dekacypher opened this issue Aug 13, 2024 · 1 comment
Open

compatibility issue solana_rbpf and solana dependencies #24

dekacypher opened this issue Aug 13, 2024 · 1 comment

Comments

@dekacypher
Copy link

I'm experiencing dependency issues with solana_rbpf and other solana dependencies. Either i downgrade the solana_rbpf to 0.8.0 and solana packages to 17.0.34. I still get this error and if i upgrade solanas to 1.18.0 i still get compatibility issues with solana_rbpf. This seems like a never ending loop.

I've tried multiple versions for solana_rbpf and likewise with solana. Even though both solana versions are compatible with 0.8.0, I'm met with a long traceback of errors. Heres the short one:

cargo build

Updating crates.io index
Enter passphrase for key '/Users/anon/.ssh/id_ed25519': 
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 15 (delta 10), reused 14 (delta 9), pack-reused 0 (from 0)
Unpacking objects: 100% (15/15), 1.87 KiB | 83.00 KiB/s, done.
From github.com:rust-lang/crates.io-index
   9111c4d998..7752f9d1f3             -> origin/HEAD
error: failed to select a version for `solana_rbpf`.
    ... required by package `solana-program-runtime v1.18.0`
    ... which satisfies dependency `solana-program-runtime = "=1.18.0"` of package `solana-config-program v1.18.0`
    ... which satisfies dependency `solana-config-program = "=1.18.0"` of package `solana-account-decoder v1.18.0`
    ... which satisfies dependency `solana-account-decoder = "=1.18"` of package `openbook v0.1.0 (/Users/anon/Documents/GitHub/openbook)`
versions that meet the requirements `=0.8.0` are: 0.8.0

all possible versions conflict with previously selected packages.

  previously selected package `solana_rbpf v0.8.3`
    ... which satisfies dependency `solana_rbpf = "^0.8.0"` of package `openbook v0.1.0 (/Users/anon/Documents/GitHub/openbook)`

failed to select a version for `solana_rbpf` which could resolve this conflict

rustc 1.69.0 (84c898d65 2023-04-16)
openbook_dex version = "0.5.6"

@beautyfree
Copy link

same issue

looks like the reason in yank of 0.8.0 - https://crates.io/crates/solana_rbpf/versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@beautyfree @dekacypher and others