Bug 1494099
| Summary: | Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Schorm <mschorm> | ||||
| Component: | mydns | Assignee: | Itamar Reis Peixoto <itamar> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 28 | CC: | acaringi, itamar | ||||
| Target Milestone: | --- | ||||||
| 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: | 2018-02-24 17:48:56 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 | ||||||
| Attachments: |
|
||||||
|
Description
Michal Schorm
2017-09-21 12:58:04 UTC
Hi,
I'm attaching a patch with the needed modifications to build MyDNS against this new version of MariaDB Connector/C 3.x.
The main problem is that they dropped the MYSQL_SERVER_VERSION define.
In the spec file, we need to replace the BuildRequires: mysql-devel by BuildRequires: mariadb-connector-c-devel and add a BuildRequires: zlib-devel.
I've already sent an email to upstream with my fix, asking if it's the best solution.
Buildings on copr: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/637457/
Created attachment 1339625 [details]
Patch to fix build of MyDNS against MariaDB C/C 3.x
BTW,
We can drop this from the spec file:
# Fix build with MariaDB 10.2
# https://bugzilla.redhat.com/show_bug.cgi?id=1470175
# http://bugs.mydns-ng.com/view.php?id=78
Patch1: mydns-mariadb102.patch
This patch is no longer necessary.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. fixed in rawhide |