Make RocksDB build reproducible
authorOtto Kekalainen <otto@debian.org>
Wed, 30 Jun 2021 04:08:05 +0000 (21:08 -0700)
committerOtto Kekäläinen <otto@debian.org>
Thu, 20 Mar 2025 19:31:04 +0000 (12:31 -0700)
commit1f31f18d5cd151c90adf054010e2d80562dd79b6
tree69ee448c1ca0dc6add24a06d586c20698a9597b3
parent62e2e4890d702210afa9ffd39198fcd0ca1253e0
Make RocksDB build reproducible

The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23-16:04:38@

As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.

This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.

Origin: https://github.com/facebook/rocksdb/commit/0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
Bug: https://github.com/facebook/rocksdb/issues/7035
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet

Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
storage/rocksdb/rocksdb/util/build_version.cc.in