[debian-mysql] Preparing MariaDB 1:10.11.7-2 upload

Daniel Black daniel at mariadb.org
Mon Feb 26 23:16:28 GMT 2024


This is an important post release fix for PHP (and MariaDB nodejs,
possibly others) compatibility.

https://github.com/MariaDB/server/commit/1b37cb71f44549c94acf8914cf93d43a4293a449

with change for 10.11:
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index e7cded79fd1..6885e406548 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -13362,7 +13362,7 @@ static bool
send_server_handshake_packet(MPVIO_EXT *mpvio,
       A workaround for a 2-byte collation ID: translate it into
       the ID of the primary collation of this character set.
     */
-    CHARSET_INFO *cs= get_charset_by_csname(handshake_cs->csname,
+    CHARSET_INFO *cs= get_charset_by_csname(handshake_cs->cs_name.str,
                                             MY_CS_PRIMARY, MYF(MY_WME));
     /*
       cs should not normally be NULL, however it may be possible




The alternative is to revert
https://github.com/MariaDB/server/pull/2775 (like what I did in the
Docker Official Images), but that will only rectify default
installation.



Also Chroot approaches to armhf/armel are quite broken
https://jira.mariadb.org/browse/MDEV-32975. Reporting bugs as such
without a proper cross compilation is a major drain in resources
to build something that may not actually function correctly on real hardware.

env HOST_ARCH=armhf (or armel) appears to be the necessary bit to
trigger [cross compulation](https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml).

I attempted but failed:
https://salsa.debian.org/grooverdan/mariadb-server/-/pipelines/623885

I'm sure those with better Salsa skills (and the patience to carry it
out), will have better success.

Please avoid new upstream bugs on these platforms until this is fixed.
Update existing bug reports once you have a cross compilation going.

On Sun, 25 Feb 2024 at 09:52, Otto Kekäläinen <otto at debian.org> wrote:
>
> Hi all!
>
> As the MariaDB transition from unstable to testing[1] is currently
> blocked on the armhf/armel regression, I plan to merge the fix[2] and
> upload it in a couple of days.
>
> If anybody else has something they want to have merged/included in
> this upload, please shout out so it can ensure it happens.
>
> - Otto
>
> [1] https://tracker.debian.org/pkg/mariadb
> [2] https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/71



More information about the pkg-mysql-maint mailing list