[CONC-249] /usr/bin/mariadb_config conflicts between MariaDB-devel and mariadb_connector_c Created: 2017-04-27  Updated: 2019-01-02

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.3.2
Fix Version/s: 2.3.3

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The mariadb_connector_c RPM was build from cpack -G RPM from the source. Installing MariaDB-devel resulted in:

Transaction check error:
  file /usr/bin/mariadb_config from install of MariaDB-devel-10.2.4-1.ael7b.ppc64le conflicts with file from package mariadb_connector_c-2.3.2-1.ppc64le



 Comments   
Comment by Sergei Golubchik [ 2017-04-27 ]

It doesn't look like C/C is doing anything for RPM packages at all, CpackRPM is run with default settings.

At the very least C/C should specify that it conflicts with MariaDB-devel and MariaDB-shared, may be more.
Perhaps C/C itself should be packaged in shared/devel rpms too...

Comment by Michal Schorm [ 2019-01-02 ]

In Fedora, with MariaDB 10.3 and CONC/C 3.0, I let only CONC/C provide the "mariadb_config".

In Fedora, MariaDB and CONC/C are complementary, and "mariadb-devel" requires "mariadb-connector-c-devel". By that I can be sure I will have the "mariadb_config" installed and not conflicting.

Generated at Thu Feb 08 03:03:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.