Skip to content

bump(main/librocksdb): 11.14.0 - #33809

Open
SjnExe wants to merge 2 commits into
termux:masterfrom
SjnExe:fix-librocksdb-autoupdate
Open

SjnExe wants to merge 2 commits into
termux:masterfrom
SjnExe:fix-librocksdb-autoupdate

Conversation

@SjnExe

@SjnExe SjnExe commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Why this approach was used

Upstream OpenAtomFoundation/pikiwidb (the sole reverse dependency of librocksdb) still pins rocksdb 8.7.3 across v3.5.7, v4.0.4, and master, and includes internal RocksDB headers directly (file/, options/, port/, trace_replay/, monitoring/, util/). Porting pikiwidb across 3 major RocksDB releases (8 -> 11) would be invasive and fragile across future librocksdb updates.

Instead, this PR:

  1. Bundles rocksdb 8.11.3 statically inside packages/pikiwidb (installed to a staging prefix, matching the existing rediscache pattern), drops librocksdb from pikiwidb's TERMUX_PKG_DEPENDS, moves libsnappy to TERMUX_PKG_DEPENDS (since static librocksdb.a links libsnappy.so), and bumps pikiwidb TERMUX_PKG_REVISION=1.
  2. Bumps packages/librocksdb to 11.14.0 (_SOVERSION=11), updates env-fs_posix.cc.patch and toku_time.h.patch, and removes the pikiwidb-only internal header copy workaround.

Supersedes #19548.
Fixes #23902.

@SjnExe
SjnExe force-pushed the fix-librocksdb-autoupdate branch 4 times, most recently from 329a048 to c8c96b6 Compare December 3, 2026 08:48
Upstream pikiwidb still pins rocksdb 8.7.3 (across v3.5.7, v4.0.4, and master) and includes private RocksDB headers directly, which prevented librocksdb from updating past 8.11.3 (termux#23902).

Bundle and statically link rocksdb 8.11.3 into a staging prefix inside pikiwidb (matching the existing rediscache pattern) instead of patching pikiwidb across multiple major RocksDB API breaks. Drop librocksdb from TERMUX_PKG_DEPENDS, move libsnappy to TERMUX_PKG_DEPENDS for static librocksdb linkage, and bump TERMUX_PKG_REVISION.

Assisted-by: Gemini
Update librocksdb to 11.14.0 (_SOVERSION=11) now that its sole reverse dependency (pikiwidb) bundles rocksdb 8.11.3.

Update env-fs_posix.cc.patch and toku_time.h.patch for 11.14.0 and drop the pikiwidb-specific RTTI flag and internal header copy workaround.

Fixes termux#23902.
Assisted-by: Gemini
@SjnExe
SjnExe force-pushed the fix-librocksdb-autoupdate branch from c8c96b6 to 06ad6af Compare December 3, 2026 10:28
@SjnExe
SjnExe marked this pull request as ready for review December 3, 2026 13:04
@licy183

licy183 commented Dec 3, 2026

Copy link
Copy Markdown
Member

Please provide the LLM models and tools used for your submission, in accordance with the guidelines at CONTRIBUTING.md.

Important

  • If you have used LLM/AI assistance in your submission it is mandatory that this be disclosed as part of your contribution.
    We do not make use of Co-Authored-by: <LLM> commit trailers in this repository.
    AI/LLM assistance should instead be attributed with a Assisted-by: <LLM> [TOOL1] [TOOL2] commit message trailer.
    Where <LLM> is either just LLM, or the generic name of the model/agent used,
    and [TOOL1] [TOOL2] are optional specialized tools used.
    Basic development tools (git, editors, harnesses, utility scripts from the repo) should not be listed.
    This requirement is based on the Linux Kernel's coding assistance policy.

@SjnExe
SjnExe force-pushed the fix-librocksdb-autoupdate branch from 06ad6af to 8d6e25f Compare December 3, 2026 17:03
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.

Auto update failing for librocksdb

2 participants