On 4/21/25 4:15 AM, Pocket wrote:
I am building packages following DeveloperWiki:Building in a clean chrootWhen building packages that are associated with gnome I get the following error:CMake Error at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updatedto work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. Adding export CMAKE_POLICY_VERSION_MINIMUM=3.5 doesn't correct my problem. Is there another way to get past this without adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to the PKGBUILD?
You can patch the upstream CMakeLists.txt to raise the "cmake_minimum_required". See https://lists.archlinux.org/archives/list/arch-dev-pub...@lists.archlinux.org/thread/EIKWRES2CMTO5D3GRIATVQ5YFUQMGQKZ/
-- Regards, Robin Candau / Antiz
OpenPGP_0xFDC3040B92ACA748.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature