Repository navigation
Conversation
SjnExe
force-pushed
the
fix-librocksdb-autoupdate
branch
4 times, most recently
from
December 3, 2026 08:48
329a048 to
c8c96b6
Compare
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
force-pushed
the
fix-librocksdb-autoupdate
branch
from
December 3, 2026 10:28
c8c96b6 to
06ad6af
Compare
SjnExe
marked this pull request as ready for review
December 3, 2026 13:04
Member
|
Please provide the LLM models and tools used for your submission, in accordance with the guidelines at CONTRIBUTING.md. Important
|
SjnExe
force-pushed
the
fix-librocksdb-autoupdate
branch
from
December 3, 2026 17:03
06ad6af to
8d6e25f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why this approach was used
Upstream
OpenAtomFoundation/pikiwidb(the sole reverse dependency oflibrocksdb) still pinsrocksdb8.7.3acrossv3.5.7,v4.0.4, andmaster, and includes internal RocksDB headers directly (file/,options/,port/,trace_replay/,monitoring/,util/). Portingpikiwidbacross 3 major RocksDB releases (8->11) would be invasive and fragile across futurelibrocksdbupdates.Instead, this PR:
rocksdb8.11.3statically insidepackages/pikiwidb(installed to a staging prefix, matching the existingrediscachepattern), dropslibrocksdbfrompikiwidb'sTERMUX_PKG_DEPENDS, moveslibsnappytoTERMUX_PKG_DEPENDS(since staticlibrocksdb.alinkslibsnappy.so), and bumpspikiwidbTERMUX_PKG_REVISION=1.packages/librocksdbto11.14.0(_SOVERSION=11), updatesenv-fs_posix.cc.patchandtoku_time.h.patch, and removes thepikiwidb-only internal header copy workaround.Supersedes #19548.
Fixes #23902.