← Back to team overview

maria-developers team mailing list archive

Debian and reproducible builds errors for MariaDB

 

Hello!

Can somebody please help me with this, preferrably send me a patch I
can add to the Debian MariaDB 10.0 packaging tree?


Debian has this new test suite for reproducible builds:
https://reproducible.debian.net/reproducible.html

MariaDB has notes while MySQL is OK (no notes):
https://reproducible.debian.net/index_notes.html

MariaDB should be at least as good as MySQL, right?


MariaDB notes: https://reproducible.debian.net/rb-pkg/mariadb-10.0.html

The errors in the build log
https://reproducible.debian.net/rbuild/mariadb-10.0_10.0.16-1.rbuild.log
look like this:

/tmp/buildd/mariadb-10.0-10.0.16/storage/connect/ha_connect.cc:174:46:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
        char  compver[]= "Version 1.03.0006 " __DATE__ " "  __TIME__;
                                              ^
/tmp/buildd/mariadb-10.0-10.0.16/storage/connect/ha_connect.cc:174:60:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
        char  compver[]= "Version 1.03.0006 " __DATE__ " "  __TIME__;
                                                            ^
Could somebody look into this and send me a patch that fixes it? (and
commit the same patch upstream, ofcourse)



PS. While searching the log for errors I also noticed these unrelated
ones, how do we fix them?:

/tmp/buildd/mariadb-10.0-10.0.16/builddir
/tmp/buildd/mariadb-10.0-10.0.16/builddir/storage/perfschema
/tmp/buildd/mariadb-10.0-10.0.16/builddir/storage/perfschema/CMakeFiles/perfschema.dir/DependInfo.cmake
--color=
troff: fatal error: can't find macro file m

/tmp/buildd/mariadb-10.0-10.0.16/builddir
/tmp/buildd/mariadb-10.0-10.0.16/builddir/storage/federatedx
/tmp/buildd/mariadb-10.0-10.0.16/builddir/storage/federatedx/CMakeFiles/federatedx.dir/DependInfo.cmake
--color=
troff: fatal error: can't find macro file m


Follow ups