fix-reproducible-builds-rocksdb
authorDebian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)
committerOtto Kekäläinen <otto@debian.org>
Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)
commite584a13707356999aa0c3a68b86d84f8c0bf7dd3
treed137afb95efb612aa2746d8b85f6927dc0480f4e
parente46e5f2a6a8b9533060e1b88bb758d538be2f38d
fix-reproducible-builds-rocksdb

Origin: upstream, https://github.com/facebook/rocksdb/commit/0a9a05ae12943b1529ef1eabbca5ce5a71c986bf

# Merged in RocksDB 6.19.3, but not updated into MariaDB 10.6
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: 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.

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