runtimeverification / runtimeverification/evm-semantics
Possible outdated `libstdc++-12-dev` dependency
Nobody has claimed this yet.
- Dominant language
- KCL
- Stars
- 591
- Forks
- 156
- Avg merge
- 2h 19m
- Merged PRs (30d)
- 1
Description
I tried building the semantics on my Ubuntu 24.04.1 laptop and during the blockchain plugin step
poetry -C kevm-pyk run kdist --verbose build evm-semantics.plugin
I was consistently getting errors of this sort:
INFO 2025-01-13 18:37:39,970 pyk.utils - [PID=1491824][stde] ./config_cxx.h:37:10: fatal error: 'string' file not found
INFO 2025-01-13 18:37:39,970 pyk.utils - [PID=1491824][stde] 37 | #include <string>
INFO 2025-01-13 18:37:39,970 pyk.utils - [PID=1491824][stde] | ^~~~~~~~
After much tinkering, I did
sudo apt-get install libstdc++-14-dev
and was able to build the plugin.
However, in the install-build-deps script we have the following dependency
https://github.com/runtimeverification/evm-semantics/blob/496cb34bf81996968050fec5a842eafe937b06a4/install-build-deps#L42
Should it be updated to libstdc++-14-dev? I ran the install-build-deps during the debugging process and it didn't solve the issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at install-build-deps line 42 and reproduce the failure with poetry -C kevm-pyk run kdist --verbose build evm-semantics.plugin on Ubuntu 24.04. Check whether the declared libstdc++ package provides the missing headers, then update the dependency if needed and confirm the plugin build succeeds after running the dependency script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, shell, ubuntu
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100