Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-350

MariaDB Connector C builds not.reproducible (according to reproducible-builds.org)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.2
    • 3.0.7, 3.1.0
    • None
    • None

    Description

      The LInux distributions have a joint effort to get all open source software build in a reproducible manner to increase the security and auditability of that distributed binaries actually stem from the source code they claim. See https://reproducible-builds.org/ for details.

      MariaDB Connector C stores the build architecture inside mariadb_version.h which breaks the reproducibility. See details at https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/diffoscope-results/mariadb-connector-c.html

      }}
      ./usr/include/mariadb/mariadb_version.h
      Offset 17, 15 lines modified	Offset 17, 15 lines modified
      17	#define·​MARIADB_PORT»   ​·​·​·​·​·​·​·​·​»       ​3306	17	#define·​MARIADB_PORT»   ​·​·​·​·​·​·​·​·​»       ​3306
      18	#define·​MARIADB_UNIX_ADDR·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​"/​tmp/​mysql.​sock"	18	#define·​MARIADB_UNIX_ADDR·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​"/​tmp/​mysql.​sock"
      19	#define·​MYSQL_CONFIG_NAME»      ​»       ​"my"	19	#define·​MYSQL_CONFIG_NAME»      ​»       ​"my"
       	 
      20	#define·​MARIADB_PACKAGE_VERSI​ON·​"3.​0.​3"	20	#define·​MARIADB_PACKAGE_VERSI​ON·​"3.​0.​3"
      21	#define·​MARIADB_PACKAGE_VERSI​ON_ID·​30003	21	#define·​MARIADB_PACKAGE_VERSI​ON_ID·​30003
      22	#define·​MARIADB_SYSTEM_TYPE·​"Linux"	22	#define·​MARIADB_SYSTEM_TYPE·​"Linux"
      23	#define·​MARIADB_MACHINE_TYPE·​"x86_64"	23	#define·​MARIADB_MACHINE_TYPE·​"i686"
      24	#define·​MARIADB_PLUGINDIR·​"lib/​i386-​linux-​gnu/​mariadb/​plugin"	24	#define·​MARIADB_PLUGINDIR·​"lib/​i386-​linux-​gnu/​mariadb/​plugin"
       	 
      25	/​*·​mysqld·​compile·​time·​options·​*/​	25	/​*·​mysqld·​compile·​time·​options·​*/​
      26	#ifndef·​MYSQL_CHARSET	26	#ifndef·​MYSQL_CHARSET
      27	#define·​MYSQL_CHARSET»  ​»       ​»       ​""	27	#define·​MYSQL_CHARSET»  ​»       ​»       ​""
      28	#endif	28	#endif
      29	#endif	29	#endif
      {{

      Attachments

        Activity

          People

            georg Georg Richter
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.