[MDEV-26438] cmake < 3.6.0 produced RPMs with invalid names Created: 2021-08-19 Updated: 2021-08-27 Resolved: 2021-08-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexey Bychko (Inactive) | Assignee: | Alexey Bychko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
RPMs created by cmake 2.8.12.2 on Centos-7, note missing version:
internal version is set properly:
main CMakeLists.txt contains CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12), so 2.8.12.2 must produce RPMs with well-formed names |
| Comments |
| Comment by Alexey Bychko (Inactive) [ 2021-08-26 ] |
|
exactly the same issue here: https://cmake.org/pipermail/cmake/2013-October/056011.html if CPACK_* variables are used before INCLUDE(CPack) - they will be empty because they are set at the end from CPack.cmake. |
| Comment by Alexey Bychko (Inactive) [ 2021-08-27 ] |
|
it's fixed in 4b6ef03dcda608109f0455732ab9ed65f32b06bb |