You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2025/04/02 08:28:26 UTC
[PR] HDDS-12751. native build fails with CMake 4 [ozone]
adoroszlai opened a new pull request, #8215:
URL: https://github.com/apache/ozone/pull/8215
## What changes were proposed in this pull request?
GitHub recently [upgraded](https://github.com/actions/runner-images/blob/ubuntu24/20250330.1/images/ubuntu/Ubuntu2404-Readme.md) to CMake 4, so native build fails with:
```
[INFO] [exec] -- Configuring incomplete, errors occurred!
[INFO] [exec] CMake Error at CMakeLists.txt:23 (cmake_minimum_required):
[INFO] [exec] Compatibility with CMake < 3.5 has been removed from CMake.
[INFO] [exec]
[INFO] [exec] Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
[INFO] [exec] to tell CMake that the project requires at least <min> but has been updated
[INFO] [exec] to work with policies introduced by <max> or earlier.
[INFO] [exec]
[INFO] [exec] Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
```
This change adds `...<max>` as suggested by the error message.
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
https://issues.apache.org/jira/browse/HDDS-12751
## How was this patch tested?
https://github.com/adoroszlai/ozone/actions/runs/14214764762/job/39828822507
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12751. native build fails with CMake 4 [ozone]
Posted by "peterxcli (via GitHub)" <gi...@apache.org>.
peterxcli commented on PR #8215:
URL: https://github.com/apache/ozone/pull/8215#issuecomment-2774697230
Thanks for this quick fix!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12751. native build fails with CMake 4 [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #8215:
URL: https://github.com/apache/ozone/pull/8215#issuecomment-2772095316
Thanks @dombizita for the review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12751. native build fails with CMake 4 [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #8215:
URL: https://github.com/apache/ozone/pull/8215
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org