Bug 1470036

Summary: mariadb library upgrade to 10.2 causes jabberd FTBFS
Product: [Fedora] Fedora Reporter: Augusto Caringi <acaringi>
Component: jabberdAssignee: Adrian Reber <adrian>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adrian, awilliam, dmaphy
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 22:35:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1467297    
Attachments:
Description Flags
Patch to allow compilation of jabberd with MariaDB 10.2 none

Description Augusto Caringi 2017-07-12 10:19:35 UTC
Created attachment 1296835 [details]
Patch to allow compilation of jabberd with MariaDB 10.2

Trying to build jabberd with the new version of MariaDB 10.2 causes a build error:

storage_mysql.c:616:9: error: 'MYSQL {aka struct st_mysql}' has no member named 'reconnect'
     conn->reconnect = 1;
         ^~
authreg_mysql.c: In function 'ar_init':
authreg_mysql.c:631:9: error: 'MYSQL {aka struct st_mysql}' has no member named 'reconnect'
     conn->reconnect = 1;
         ^~

In this new version of the library the reconnect field was moved to another struct. I think that the best approach is to set it through API. I attached a patch proposal to fix the problem.

We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297.

Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/jabberd/

Comment 2 Adrian Reber 2017-07-12 11:10:27 UTC
https://github.com/jabberd2/jabberd2/pull/152

Comment 3 Fedora Update System 2017-07-14 12:01:00 UTC
jabberd-2.6.1-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-428858445a

Comment 4 Fedora Update System 2017-07-15 20:17:00 UTC
jabberd-2.6.1-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-428858445a