Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1494093 - Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: apr-util
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luboš Uhliarik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1494092 (view as bug list)
Depends On:
Blocks: 1486480 1526789
TreeView+ depends on / blocked
 
Reported: 2017-09-21 12:54 UTC by Michal Schorm
Modified: 2018-01-10 02:05 UTC (History)
6 users (show)

Fixed In Version: apr-util-1.6.1-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-10 02:05:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to be applied on spec file (1023 bytes, patch)
2017-10-19 16:43 UTC, Augusto Caringi
no flags Details | Diff
Patch to fix build of apr-utils with MariaDB Connector/C 3.x (1.24 KB, patch)
2017-10-19 16:45 UTC, Augusto Caringi
no flags Details | Diff
Upstream fix (5.12 KB, patch)
2017-12-19 21:15 UTC, Honza Horak
no flags Details | Diff

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.


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