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 1494100 - 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 RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1486480
TreeView+ depends on / blocked
 
Reported: 2017-09-21 12:58 UTC by Michal Schorm
Modified: 2017-12-14 13:44 UTC (History)
4 users (show)

Fixed In Version: net-snmp-5.7.3-28.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-14 05:38:29 UTC
Type: Bug
Embargoed:
jridky: needinfo+


Attachments (Terms of Use)
patch to use mariadb-connector-c-devel instead of mysql-devel (deleted)
2017-10-16 14:39 UTC, Augusto Caringi
no flags Details | Diff

Description Michal Schorm 2017-09-21 12:58:46 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 Augusto Caringi 2017-10-16 14:39:16 UTC
Created attachment 1339272 [details]
patch to use mariadb-connector-c-devel instead of mysql-devel

Comment 2 Augusto Caringi 2017-10-16 14:40:15 UTC
The main issue is that mariadb-connector-c dropped some header files. As far as I understand, the idea now is to include just the mysql.h.

I'm attaching a patch to replace the dependency (mariadb-connector-c-devel instead of mysql-devel) in spec file and also fix the building.

I didn't test the library, just the build.

Comment 4 Josef Ridky 2017-12-14 05:38:29 UTC
Fixed in rawhide. If it should be used even in older versions of fedora, please, let me know.

Comment 5 Michal Schorm 2017-12-14 13:44:23 UTC
No, it is only applicable to Rawhide.

Thanks :)


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