[Pkg-javascript-devel] Bug#1067283: yarn FTBFS with node 20
    Athos Ribeiro 
    athos.ribeiro at canonical.com
       
    Fri Jun  7 21:52:53 BST 2024
    
    
  
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
    
    
More information about the Pkg-javascript-devel
mailing list