[Reproducible-builds] Notes to mariadb-10.0

Otto Kekäläinen otto at debian.org
Sun Jul 10 06:53:52 UTC 2016


Can somebody please attach the notes below in correct format to

I and MariaDB developer Sergei Golubchik were not able to reproduce
the unreproducibility or to crack issue in any other way. I hope these
notes are useful to somebody else in the future.

Diffs reveal that the issue is expressed in products that stem from
storage/tokudb/*. We are not able to poinpoint what it is exactly, and
we are not even able to reproduce the unreproducible build.

Here's what we've done in a sid amd64 VM:

sudo apt-get update
sudo apt-get install dh-exec libpcre3-dev git-buildpackage
mkdir orig
cd orig
gbp clone --pristine-tar git://git.debian.org/git/pkg-mysql/mariadb-10.0.git
cd ..
export DEB_BUILD_OPTIONS="nocheck"
cp -r orig xxx
cd xxx/mariadb-10.0
gbp buildpackage
cd ../..
mv xxx yyy
cp -r orig xxx
cd xxx/mariadb-10.0
gbp buildpackage

after this, xxx and yyy contained identical binaries. bytewise.
and ha_tokudb.so was also identical in both builds.

- Otto

More information about the Reproducible-builds mailing list