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

Multi-Arch support for Debian packages

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0, 5.5
    • Fix Version/s: 10.1
    • Component/s: Platform Debian
    • Labels:
      None

      Description

      Hi! Your Debian packages are built without Multi-Arch support, so it's not possible to install say 64-bit MariaDB in a 32-bit Debian system (for example I want to do it to experiment with TokuDB on my 32-bit server; I use 32-bit because it consumes considerably less memory compared to 64).

      I suggest you to make libmariadbclient18 Multi-Arch: same (and place libraries in /usr/lib/i386-linux-gnu or /usr/lib/x86_64-linux_gnu, not just in /usr/lib) (Multi-Arch: same means both 32-bit and 64-bit versions of package can coexist), and mysql-common and mariadb-common Multi-Arch: foreign (this means such package can satisfy the dependency of a package of a different architecture).

      That's a rather simple packaging improvement.

      More info is on https://wiki.debian.org/Multiarch/HOWTO

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              Assigning to Otto Kekäläinen for consideration/feedback.

              Show
              elenst Elena Stepanova added a comment - Assigning to Otto Kekäläinen for consideration/feedback.
              Hide
              vitalif Vitaliy Filippov added a comment -

              P.S: mariadb-server-10.0 also depends on perl and libdbi-perl; libdbi-perl is not "multi-arch: foreign", so it should also be changed to "libdbi-perl:amd64 | libdbi-perl:i386" so 64-bit MariaDB could coexist with 32-bit Perl...

              Show
              vitalif Vitaliy Filippov added a comment - P.S: mariadb-server-10.0 also depends on perl and libdbi-perl; libdbi-perl is not "multi-arch: foreign", so it should also be changed to "libdbi-perl:amd64 | libdbi-perl:i386" so 64-bit MariaDB could coexist with 32-bit Perl...
              Hide
              otto Otto Kekäläinen added a comment -

              At the moment in Debian mariadb-common is defined as Multi-arch: foreign (https://github.com/ottok/mariadb-10.0/blob/master/debian/control#L47). Libmariadbclient18 does not exist as it conflicts with the libmysqlclient18 present in Debian repositories.

              The packaging at upstream mariadb.org has not yet meen updated to match the newer packaging standards that the official Debian project packages have. At that point this and other improvements will be merged upstream.

              Besides the control file stanzas, another thing to consider is the file locations and e.g. https://mariadb.atlassian.net/browse/MDEV-6135 is still open.

              Show
              otto Otto Kekäläinen added a comment - At the moment in Debian mariadb-common is defined as Multi-arch: foreign ( https://github.com/ottok/mariadb-10.0/blob/master/debian/control#L47 ). Libmariadbclient18 does not exist as it conflicts with the libmysqlclient18 present in Debian repositories. The packaging at upstream mariadb.org has not yet meen updated to match the newer packaging standards that the official Debian project packages have. At that point this and other improvements will be merged upstream. Besides the control file stanzas, another thing to consider is the file locations and e.g. https://mariadb.atlassian.net/browse/MDEV-6135 is still open.
              Hide
              vitalif Vitaliy Filippov added a comment -

              >At that point this and other improvements will be merged upstream.
              ...At what point?..

              Show
              vitalif Vitaliy Filippov added a comment - >At that point this and other improvements will be merged upstream. ...At what point?..

                People

                • Assignee:
                  otto Otto Kekäläinen
                  Reporter:
                  vitalif Vitaliy Filippov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: