Bug 1494098

Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: mapserverAssignee: Pavel Lisý <pavel.lisy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: devrim, jujens, oliver, pavel.lisy
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: 2017-10-05 20:13:52 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    

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:
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-05 14:24:07 UTC
Hello again,

I managed to build your package succesfully:
https://koji.fedoraproject.org/koji/taskinfo?taskID=22267531

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} \
       -DWITH_POINT_Z_M=TRUE \
       -DWITH_APACHE_MODULE=FALSE \
       -DWITH_SVGCAIRO=FALSE \
-      -DWITH_MYSQL=FALSE \
       -DWITH_CSHARP=FALSE \
       -DWITH_ORACLESPATIAL=FALSE \
       -DWITH_ORACLE_PLUGIN=FALSE \

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