[MDEV-7551] Debian and reproducible builds errors for MariaDB Created: 2015-02-06  Updated: 2020-06-26  Resolved: 2015-02-07

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian, Storage Engine - Connect
Affects Version/s: 10.0
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Otto Kekäläinen Assignee: Olivier Bertrand
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-7554 connect engine builds are not "reprod... Closed
Relates
relates to MDEV-23031 Make MariaDB Server build reproducibly Stalled

 Description   

(from https://lists.launchpad.net/maria-developers/msg08130.html)

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__;
                                                            ^
{{


Generated at Thu Feb 08 07:20:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.