system/cmake: (armv7) FTBFS: error: ‘CPU_SETSIZE’ undeclared (first use in this function)
...
/root/packages/system/cmake/src/cmake-3.23.1/Utilities/cmlibuv/src/unix/core.c: In function ‘uv_cpumask_size’:
/root/packages/system/cmake/src/cmake-3.23.1/Utilities/cmlibuv/src/unix/core.c:1407:10: error: ‘CPU_SETSIZE’ undeclared (first use in this function); did you mean ‘FD_SETSIZE’?
return CPU_SETSIZE;
^~~~~~~~~~~
FD_SETSIZE
/root/packages/system/cmake/src/cmake-3.23.1/Utilities/cmlibuv/src/unix/core.c:1407:10: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:494: uv-src-unix-core.c.o] Error 1
make: *** Waiting for unfinished jobs....
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /root/packages/system/cmake/src/cmake-3.23.1/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
>>> ERROR: cmake: build failed
20220506-00_10_43.683162180_cmake.log
cmake_bootstrap.log