fix-reproducible-builds-rocksdb
authorDebian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)
commitd808af9f3f0cb9883e89948b486ff4fa9037f40a
treeb6b0c94e8788aedd38d3178c321ab4d907ba7c66
parent5746c34cf94f39c61ee302510ad9c3062b15fdbd
fix-reproducible-builds-rocksdb

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

# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
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