Hello,
TurrisOS 6 is based on OpenWRT 21.02. This version of OpenWRT contains a CMake package version 3.19.1. Unfortunately this version of CMake wasn’t the best release and it contains bugs that at least two people (me being one of them) ran into. I submitted a upstream pull request to update the package. I also attempted to submit a merge request in your GitLab to patch upstream to fix this in the mean time, but it looks like I don’t have the permissions do that.
So here’s the patch generated from the PR above:
commit 62ced158cf229c973730ffaeee86d8bb190e7886
Author: Adam Konrad <git@adamkonrad.com>
Date: Sat Nov 26 22:23:20 2022 -0600
cmake version 3.19.8
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 006934466a..54ac6891a7 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -7,14 +7,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cmake
-PKG_VERSION:=3.19.1
+PKG_VERSION:=3.19.8
PKG_RELEASE:=1
PKG_CPE_ID:=cpe:/a:kitware:cmake
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/Kitware/CMake/releases/download/v$(PKG_VERSION)/ \
https://cmake.org/files/v3.19/
-PKG_HASH:=1d266ea3a76ef650cdcf16c782a317cb4a7aa461617ee941e389cb48738a3aba
+PKG_HASH:=09b4fa4837aae55c75fb170f6a6e2b44818deba48335d1969deddfbb34e30369
HOST_BUILD_PARALLEL:=1
HOST_CONFIGURE_PARALLEL:=1
Thanks!