Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7554

connect engine builds are not "reproducible"

    XMLWordPrintable

Details

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

      Attachments

        Issue Links

          Activity

            People

              bertrandop Olivier Bertrand
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.