Bug 1494098 - 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
Alias: None
Product: Fedora
Classification: Fedora
Component: mapserver
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Pavel Lisý
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1486480
TreeView+ depends on / blocked
Reported: 2017-09-21 12:57 UTC by Michal Schorm
Modified: 2017-10-05 20:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-10-05 20:13:52 UTC
Type: Bug

Attachments (Terms of Use)

Description Michal Schorm 2017-09-21 12:57:32 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:

For more information check the tracking bugzilla.

Comment 1 Michal Schorm 2017-10-05 14:24:07 UTC
Hello again,

I managed to build your package succesfully:

Please apply following in order to build with updated MariaDB:

diff --git a/mapserver.spec b/mapserver.spec
index 56fe543..ce023d2 100644
--- a/mapserver.spec
+++ b/mapserver.spec
@@ -38,7 +38,7 @@ BuildRequires:  libtiff-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libXpm-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  mysql-devel
+BuildRequires:  mariadb-connector-c-devel openssl-devel
 BuildRequires:  harfbuzz-devel
 BuildRequires:  pam-devel
 BuildRequires:  perl-generators
@@ -200,7 +200,6 @@ cmake -DINSTALL_LIB_DIR=%{_libdir} \

Comment 2 Julien Enselme 2017-10-05 20:13:52 UTC
Thanks for the patch. I have performed the update.

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