Bug 1494093

Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: apr-utilAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: acaringi, bojan, hhorak, jkaluza, jorton, luhliari
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: apr-util-1.6.1-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-10 02:05:11 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: 1486480, 1526789    
Attachments:
Description Flags
Patch to be applied on spec file
none
Patch to fix build of apr-utils with MariaDB Connector/C 3.x
none
Upstream fix none

Description Michal Schorm 2017-09-21 12:54:28 UTC
Hello, MariaDB went through big changes and your package will need a patch in order to build and work properly.

I tried to solve the issue, but I wasn't successful yet (at the time of bug creation).
I'll look into it more and post here the patch eventualy.


This change is currently applicable to the Rawhide (f28) only.


You can check builds I tried in COPR:
https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/packages/



For more information check the tracking bugzilla.

Comment 1 Michal Schorm 2017-10-19 13:13:39 UTC
*** Bug 1494092 has been marked as a duplicate of this bug. ***

Comment 2 Augusto Caringi 2017-10-19 16:42:44 UTC
Hi,

    Upstream is already aware of this problem:

    https://bz.apache.org/bugzilla/show_bug.cgi?id=61517

    I'm attaching a patch to fix the build and also a patch with small changes that must be applied to the spec file (to use mariadb-connector-c-devel and apply the other patch)

    Link to built packages:

    https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/644742/

Comment 3 Augusto Caringi 2017-10-19 16:43:42 UTC
Created attachment 1340834 [details]
Patch to be applied on spec file

Comment 4 Augusto Caringi 2017-10-19 16:45:13 UTC
Created attachment 1340835 [details]
Patch to fix build of apr-utils with MariaDB Connector/C 3.x

Comment 5 Honza Horak 2017-12-19 21:14:33 UTC
A scratch build to test:
https://koji.fedoraproject.org/koji/taskinfo?taskID=23798888

Anyway, there is another bug for this: BZ#1526789
...and PR for apr-util component: https://src.fedoraproject.org/rpms/apr-util/pull-request/1

And upstream already has fix as well: https://bz.apache.org/bugzilla/show_bug.cgi?id=61517 (used in the PR above)

Comment 6 Honza Horak 2017-12-19 21:15:15 UTC
Created attachment 1370173 [details]
Upstream fix

Taken from https://bz.apache.org/bugzilla/show_bug.cgi?id=61517

Comment 7 Joe Orton 2018-01-03 08:37:02 UTC
Package: apr-util-1.6.1-2.fc28
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1012916

Comment 8 Joe Orton 2018-01-03 08:42:58 UTC
Thanks for the PR, Honza!

Comment 9 Joe Orton 2018-01-03 08:48:03 UTC
Package: apr-util-1.6.1-2.fc27
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1012917

Comment 10 Fedora Update System 2018-01-03 08:52:52 UTC
apr-util-1.6.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b24e8679cc

Comment 11 Fedora Update System 2018-01-03 22:30:18 UTC
apr-util-1.6.1-2.fc27 has been pushed to the Fedora 27 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-2018-b24e8679cc

Comment 12 Fedora Update System 2018-01-10 02:05:11 UTC
apr-util-1.6.1-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.