[MDEV-7554] connect engine builds are not "reproducible" Created: 2015-02-06  Updated: 2015-02-07  Resolved: 2015-02-07

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

Type: Bug Priority: Minor
Reporter: Sergei Golubchik Assignee: Olivier Bertrand
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-7551 Debian and reproducible builds errors... Closed

 Description   

Debian has introduced a concept of "reproducible" builds — a build that one can reproduce, repeating the build with same options and getting identical — byte per byte — binaries. See https://wiki.debian.org/ReproducibleBuilds/About

Connect engine uses __DATE__ and __TIME__ macros, which fails reproducible builds as follows:

/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__;



 Comments   
Comment by Elena Stepanova [ 2015-02-06 ]

See also MDEV-7551

Comment by Olivier Bertrand [ 2015-02-07 ]

Removed for Linux versions

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