After some investigation with sergidj, we found out that this happens
because the off_t type is being configured to be 72-bit long by cmake.
After some investigation, we found out that the build of an embedded
library injects a hook into cmake to call "node" (JS) with the
"--experimental-wasm-threads" option (this is a Debian patch).

This option has been removed from node 20 and node now exits with a code
9 error. This error code ends up being propageted during the embeded
library cmake checks, which ends up being set as the size of off_t (9
bytes), leading to a build failure later on.

This is also reported in Ubuntu in 
https://bugs.launchpad.net/debian/+source/node-yarnpkg/+bug/2068769

--
Athos Ribeiro

Reply via email to