Describe the bug
When building Penumbra, compilation of the rocksdb dependencies will fail if the system's version of is v15.1.1 or newer.
To Reproduce
Steps to reproduce the behavior:
- Use a modern Linux OS like Fedora Workstation 42.
- Run
gcc --version and confirm >v15
- Run
cargo build --release
- See error
Expected behavior
I expect all packages and binaries in the project to build, provided I've installed the necessary OS-level dependencies, as described in https://guide.penumbra.zone/dev/build
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
There are three workarounds:
- Use an older OS, such as Ubuntu 22.04 LTS, with a sufficiently old gcc
- Use the project's nix devshell which pins
gcc at 13.3.0 as of Penumbra v1.5.3
export ROCKSDB_LIB_DIR=/usr/lib64 prior to running cargo build -r
Any changes to core rocksdb dependencies will need to be made carefully, so as not to affect node storage logic. Additionally, changes must be made in both the protocol repo and in the cnidarium repo.
Describe the bug
When building Penumbra, compilation of the
rocksdbdependencies will fail if the system's version of isv15.1.1or newer.To Reproduce
Steps to reproduce the behavior:
gcc --versionand confirm >v15cargo build --releaseExpected behavior
I expect all packages and binaries in the project to build, provided I've installed the necessary OS-level dependencies, as described in https://guide.penumbra.zone/dev/build
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
There are three workarounds:
gccat13.3.0as of Penumbra v1.5.3export ROCKSDB_LIB_DIR=/usr/lib64prior to runningcargo build -rAny changes to core rocksdb dependencies will need to be made carefully, so as not to affect node storage logic. Additionally, changes must be made in both the protocol repo and in the cnidarium repo.