Skip to content

ci: build RocksDB with -include cstdint on ubuntu-latest (ubuntu-26.04) - #139

Merged
dendisuhubdy merged 1 commit into
mainfrom
fix/ci-rocksdb-cstdint
Oct 27, 2026
Merged

dendisuhubdy merged 1 commit into
mainfrom
fix/ci-rocksdb-cstdint

Conversation

@dendisuhubdy

Copy link
Copy Markdown
Member

clean-clone has been red since ubuntu-latest became ubuntu-26.04. librocksdb-sys 0.16 (RocksDB 8.10) uses uint64_t in headers that never include <cstdint>. That image's libstdc++ no longer pulls it in transitively, so every cold build fails with 'uint64_t' has not been declared.

check-and-test and coverage pass only because rust-cache restores an already-built librocksdb-sys. The next cache miss will fail them the same way.

Fix: CXXFLAGS: -include cstdint at workflow level in ci.yml and coverage.yml. release.yml and clients.yml pin ubuntu-24.04 and are unaffected.

Not in this PR: supply-chain is red on RUSTSEC-2026-0387 (crypto-bigint 0.5.5 via k256 0.13). That needs a decision on a k256 0.14 upgrade.

🤖 Generated with Claude Code

clean-clone has been red since ubuntu-latest moved to ubuntu-26.04: librocksdb-sys 0.16 (RocksDB
8.10) uses uint64_t in headers that never include <cstdint>, and that image's libstdc++ no longer
pulls it in transitively, so every cold build fails with "'uint64_t' has not been declared".
check-and-test and coverage pass only because rust-cache restores a built librocksdb-sys; the next
cache miss fails them the same way. CXXFLAGS="-include cstdint" at workflow level in ci.yml and
coverage.yml. release.yml and clients.yml pin ubuntu-24.04 and are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GFs5h16gS5ZBxRkjVKYqWY
@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dendisuhubdy
dendisuhubdy merged commit aeca756 into main Oct 27, 2026
21 of 23 checks passed
@dendisuhubdy
dendisuhubdy deleted the fix/ci-rocksdb-cstdint branch October 27, 2026 06:25
dendisuhubdy added a commit that referenced this pull request Oct 27, 2026
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

Successfully merging this pull request may close these issues.

1 participant