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

connect engine builds are not "reproducible"

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              See also MDEV-7551

              Show
              elenst Elena Stepanova added a comment - See also MDEV-7551
              Hide
              bertrandop Olivier Bertrand added a comment -

              Removed for Linux versions

              Show
              bertrandop Olivier Bertrand added a comment - Removed for Linux versions

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h