[MDEV-25959] cpack doesn't work with Ninja Created: 2021-06-18 Updated: 2021-06-21 Resolved: 2021-06-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Anel Husakovic | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS7 |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
I tested on 10.5. Maybe it is reproducible even earlier.
In CPackGenerator -> set(CPACK_CMAKE_GENERATOR "Ninja") . |
| Comments |
| Comment by Sergei Golubchik [ 2021-06-18 ] |
|
cpack -G RPM . was never tested, ninja or not, and we don't use it. It's not supposed to work. Use make package instead (or ninja package). |
| Comment by Daniel Black [ 2021-06-21 ] |
|
From: https://cmake.org/cmake/help/v3.20/guide/user-interaction/index.html#selecting-a-target $ cmake --build . --target package From https://cmake.org/cmake/help/v3.20/guide/tutorial/index.html#building-an-installer-step-7 cpack isn't a builder, just a packager. |