Bug 2055613 - [Tracker] Rebase to 3.2 major version [3.2.6 release]
Summary: [Tracker] Rebase to 3.2 major version [3.2.6 release]
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mariadb-connector-c
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Schorm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1970502 2016345 (view as bug list)
Depends On:
Blocks: 2018652
TreeView+ depends on / blocked
 
Reported: 2022-02-17 11:23 UTC by Michal Schorm
Modified: 2022-05-05 10:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-05-05 10:08:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Schorm 2022-02-17 11:23:00 UTC
MariaDB upstream released stable versions of the 'mariadb-connector-c' project.
However the place I watch for new releases:
  https://mariadb.org/download/
has been left without updates for the connectors projects.
New releases of the connectors can be downloaded only via:
  https://mariadb.com/downloads/connectors/

That's why I missed several releases and now I'd like to jump directly from version '3.1.13' to '3.2.6'.

---

Release notes:
  https://mariadb.com/kb/en/mariadb-connector-c-326-release-notes/
mentions several big changes.

The most important, which might cause compatibility issues are:
 - Default character set is now utf8mb4
 - Character set utf8 will be mapped to utf8mb3
 - CONC-509: mysql_get_client_* api functions now return Connector version

---

To avoid compatibility issues, I've made a Fedora COPR rebuild of all dependent packages, looking for failures caused by the 'mariadb-connector-c' rebase
  https://copr.fedorainfracloud.org/coprs/mschorm/mariadb-connector-c-3.2.6/builds/

I ws able to isolate two packages that FTBFS after the rebase of 'mariadb-connector-c':
  https://copr.fedorainfracloud.org/coprs/mschorm/mariadb-connector-c-3.2.6-problems/builds/
They are:
 - perl-DBD-MariaDB
 - rubygem-mysql2

In both cases the issues seems to be tests-only.

I've contacted both package's maintainers.
We found out that the issue in both packages is known to the respective upstreams.
In 'rubygem-mysql2' package, the issue is fixed by upstream, but not yet released:
  https://github.com/brianmario/mysql2/commit/cca57b97ad6d1b1b985376be110b89d2b487dea6
In 'perl-DBD-MariaDB' package, the issue is reported from several distributions:
  https://github.com/gooddata/DBD-MariaDB/issues/164

---

In this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1970502#c7 I've raised my concerns about the change of the default character set.

---

A new sub-package is introduced by this change, containing man pages describing the API of the client library.

---

PR against Rawhide:
  https://src.fedoraproject.org/rpms/mariadb-connector-c/pull-request/13

Comment 1 Michal Schorm 2022-02-17 11:35:09 UTC
*** Bug 2016345 has been marked as a duplicate of this bug. ***

Comment 2 Michal Schorm 2022-02-17 11:35:26 UTC
*** Bug 1970502 has been marked as a duplicate of this bug. ***

Comment 3 Michal Schorm 2022-02-17 12:23:46 UTC
Update has been pushed and built:
  https://koji.fedoraproject.org/koji/taskinfo?taskID=82924886


Note You need to log in before you can comment on or make changes to this bug.