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

Multi-Arch support for Debian packages

Details

    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

      Attachments

        Issue Links

          Activity

            Upstream 10.2 has deprecated libmariadbclient18 in favour of libmariadb3. To get multi-arch working georg could maybe look into the patches at https://anonscm.debian.org/cgit/pkg-mysql/mariadb-client-lgpl.git/tree/debian/patches and import them, so that we could start installing libmariadb.so.3 in a multi-arch path instead of the current /usr/lib/mariadb/ path?

            otto Otto Kekäläinen added a comment - Upstream 10.2 has deprecated libmariadbclient18 in favour of libmariadb3. To get multi-arch working georg could maybe look into the patches at https://anonscm.debian.org/cgit/pkg-mysql/mariadb-client-lgpl.git/tree/debian/patches and import them, so that we could start installing libmariadb.so.3 in a multi-arch path instead of the current /usr/lib/mariadb/ path?

            I already sorted this out in MariaDB 10.3 packaging.

            oerdnj Ondřej Surý (Inactive) added a comment - I already sorted this out in MariaDB 10.3 packaging.
            danblack Daniel Black added a comment -

            so closeable?

            debian_no_indirect_dependencies.patch didn't seem to be upstream in connector-c

            danblack Daniel Black added a comment - so closeable? debian_no_indirect_dependencies.patch didn't seem to be upstream in connector-c
            otto Otto Kekäläinen added a comment - Related: https://jira.mariadb.org/browse/CONC-456
            otto Otto Kekäläinen added a comment - Final bits closed via https://github.com/MariaDB/server/commit/87a7968c23d32880920d129c0e3f467495dce10d and https://github.com/MariaDB/server/commit/4bc31a904f22290801075deed949733ba2133974

            People

              otto Otto Kekäläinen
              vitalif Vitaliy Filippov
              Votes:
              1 Vote for this issue
              Watchers:
              8 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.