[ODBC-254] FTBFS: Cmake libdir misconfiguration Created: 2019-06-04 Updated: 2019-06-14 Resolved: 2019-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.1 |
| Fix Version/s: | 3.1.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Michal Schorm | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora |
||
| Description |
|
That looks like a clear copy-paste error. However it leads to FTBFS on Fedora all 64-bit architectures. Here's the patch:
I use this patch downstream, in Fedora, now: commit |
| Comments |
| Comment by Lawrin Novitsky [ 2019-06-04 ] | |||||||||||
|
I am afraid that wasn't a copy-paste error, and was done in Now I will use this your report to re-iterate the problem with C/C maintainer | |||||||||||
| Comment by Michal Schorm [ 2019-06-05 ] | |||||||||||
|
So, the Idea was to have "libdir" configurable. I use following CMake arguments in Fedora:
The problem seems to be the
which should be
So that's an error on my side. Sorry. However, two question remains: 1) why this "INSTALL_LIB_SUFFIX" option does not show in "cmake -LA" ? 2) I see the code ill in general now. | |||||||||||
| Comment by Lawrin Novitsky [ 2019-06-12 ] | |||||||||||
|
I've made INSTALL_LIB_SUFFIX cache variable, so now it should appear in the cmake -LA output. The "ill" code was left in place to make it easier to return it back. |