Bug #66914 MySQL-Cluster-devel does not provide mysql-delel
Submitted: 21 Sep 2012 17:43 Modified: 17 Aug 2018 10:32
Reporter: Chris Brown Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Packaging Severity:S3 (Non-critical)
Version:7.2.8-1.el6 OS:Linux (Fedora 12)
Assigned to: CPU Architecture:Any
Tags: MySQL-Cluster-devel, MySQL-devel, rpm

[21 Sep 2012 17:43] Chris Brown
Description:
The package MySQL-Cluster-devel-gpl-7.2.8-1.rhel5.x86_64.rpm does not provide mysql-devel and conflicts with MySQL-devel-5.5.27-1.rhel5.x86_64.rpm which does provide it.  Some packages (cyrus-sasl for example) require mysql-devel as a dependency.

Workaround: I created a dummy package with this as its contents:

Summary: Dummy Package to provide MySQL-devel
Name: dummy-MySQL-devel
Version: 5.5.27
Release: 1
Group: System Environment/Base
License: Beerware
BuildArch: noarch
Provides: MySQL-devel, mysql-devel
Requires: MySQL-Cluster-devel
Requires: MySQL-Cluster-shared

%description

This dummy package requires MySQL-Cluster-devel and provides MySQL-devel.

%files

Side Note: It might be a good idea with Require mysql-libs from MySQL-Cluster-devel.  While it is not strictly required, packages such as php depend on mysql-devel but not mysql-libs and then fail to build even when their dependencies exist.

How to repeat:
1 Install all needed non-mysql packages from a public repo.
2 Set up a yum repo with MySQL-Cluster RPMs in it and use that as the only available repo.
3 Attempt to build the cyrus-sasl rpm from srpm (also php).

Suggested fix:
Add Provides (and optionally Requires) to the MySQL-Cluster-devel spec file.
[10 Nov 2012 16:36] Valeriy Kravchuk
This is a Cluster bug or Server: packaging bug, not Connector/C one. Please, change category. This may help to get proper attention to this report from MySQL/Oracle engineers.
[3 Jun 2016 12:03] MySQL Verification Team
Hi,

Thanks for the report. Verified as stated.

kind regards
Bogdan Kecman
[14 Aug 2018 8:01] Balasubramanian Kandasamy
Posted by developer:
 
The MySQL-Cluster-devel-gpl and MySQL-devel rpm packages now provides mysql-devel.
[17 Aug 2018 10:32] Jon Stephens
Documented fix in the NDB 7.2.35 changelog as follows:

        The mysql-cluster-devel-gpl and mysql-devel RPM packages for NDB
        Cluster did not provide mysql-devel.
      

Closed.