Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.3
-
None
-
None
-
None
Description
The Fedora18 MariaDB-connect-engine package for MariaDB 10.0 is asserting ownership of /usr/lib (on Fedora18 x86) and /usr/lib64 (on Fedora18 x86_64). This causes a conflict with the filesystem package which (rightly) owns those directories.
The packages need to be updated to not try and own those directories.
Logs from two recent builds (and the relevant bits):
Transaction Check Error:
file /usr/lib from install of MariaDB-connect-engine-10.0.2-1.i686 conflicts with file from package filesystem-3.1-2.fc18.i686
Transaction Check Error:
file /usr/lib64 from install of MariaDB-connect-engine-10.0.2-1.x86_64 conflicts with file from package filesystem-3.1-2.fc18.x86_64
I suspect that it fails because of this line in storage/connect/CMakeLists.txt
SET(CPACK_RPM_connect_engine_USER_FILELIST ${ignored} "%config(noreplace) /etc/my.cnf.d/*" PARENT_SCOPE)
because ${ignored} is empty.
As a fix, it should be renamed (in cmake/cpack_rpm.cc) to, for example, RPM_IGNORED_FILES and set with PARENT_SCOPE, so that it would be visible in plugins' CMakeLists.txt files too.