archlinux: cmake 3.29 assertion failure
This is on archlinux, ever since the 3.29 version of cmake dropped I can no longer compile anything, I just get a core dump. I tried to report the issue when the update happened but this site kept not sending the registration email so I had to make new email to open the issue.
For example here I'm trying to build fastfetch:
~/fastfetch/build/ cmake ..
cmake: src/unix/process.c:972: uv_spawn: Assertion `!(options->flags & ~(UV_PROCESS_DETACHED | UV_PROCESS_SETGID | UV_PROCESS_SETUID | UV_PROCESS_WINDOWS_HIDE | UV_PROCESS_WINDOWS_HIDE_CONSOLE | UV_PROCESS_WINDOWS_HIDE_GUI | UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS))' failed.
zsh: IOT instruction (core dumped) cmake ..
Then I downgrade back to 3.28.4:
~/fastfetch/build/ cmake ..
-- The C compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Build type: RelWithDebInfo
-- Threads type: pthread
...
My CPU is an intel broadwell xeon e5 2640 v4.