[MDEV-22053] Missing support for Debian Install Layout in C/C subproject Created: 2020-03-26 Updated: 2020-04-14 Resolved: 2020-04-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.5.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Building the server package with cmake parameter -DINSTALL_LAYOUT=DEB will result in wrong installation directories for Connector/C. How to fix:
|
| Comments |
| Comment by Otto Kekäläinen [ 2020-03-26 ] | |||||||
|
You can't change this on 10.2, that would change the file paths and break packaging in stable releases 10.2, 10.3 and 10.4. This is OK to do in 10.5 and I am already working on it. However, this change does not seem to be enough, I'll post you more details later.. Assigned to myself, no point in Sergei putting time on this now when he did not have time to do this in the past month. I have enough info from Georg to complete this. | |||||||
| Comment by Otto Kekäläinen [ 2020-03-26 ] | |||||||
|
It does not work because in libmariadb/install.cmake there is at the bottom the section that starts like this:
The server passes a value for INSTALL_PLUGINDIR, so the INSTALL_PLUGINDIR_DEB has no function. | |||||||
| Comment by Otto Kekäläinen [ 2020-03-26 ] | |||||||
|
Related PR: https://github.com/mariadb-corporation/mariadb-connector-c/pull/130 | |||||||
| Comment by Otto Kekäläinen [ 2020-03-26 ] | |||||||
|
Fixing PR: https://github.com/MariaDB/server/pull/1468/commits Follow-up PR: https://github.com/MariaDB/server/pull/1478 | |||||||
| Comment by Otto Kekäläinen [ 2020-04-14 ] | |||||||
|
This was closed via https://github.com/MariaDB/server/commit/4bc31a904f22290801075deed949733ba2133974 |