Bug 1494091

Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: amarokAssignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: affix, jgrulich, kde-sig, rdieter
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 15:31:10 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:53:29 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:27:09 UTC
Hello again,

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

Please apply following in order to build with updated MariaDB:

diff --git a/amarok.spec b/amarok.spec
index da0b0c7..d5bd440 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -72,7 +72,7 @@ BuildRequires: kdelibs4-webkit-devel
 BuildRequires: libappstream-glib
 %endif
 ## FIXME/TODO: consider adjusting to explicitly use mariadb -- rex
-BuildRequires: mysql-devel
+BuildRequires: mariadb-connector-c-devel openssl-devel
 BuildRequires: mysql-embedded-devel
 BuildRequires: perl-generators
 BuildRequires: pkgconfig(gdk-pixbuf-2.0)

Comment 2 Rex Dieter 2017-10-05 15:22:58 UTC
Why is openssl-devel needed to be added?

(I'm looking into that now, mysql_embedded library detection fails)

Comment 3 Rex Dieter 2017-10-05 15:29:17 UTC
Ah, nevermind, mariadb-embedded-devel fail on my part

Comment 4 Rex Dieter 2017-10-05 15:31:10 UTC
%changelog
* Thu Oct 05 2017 Rex Dieter <rdieter> - 2.8.90-15
- use mariadb-connector-c-devel on f28+ (#1494091)