Le mar. 29 oct. 2024 à 03:35, Ben Grant <[email protected]> a
écrit :

> Public bug reported:
>
> Ubuntu version: 24.04.1 aarch64
> Package version: 18.19.1+dfsg-6ubuntu5
>
> Expected to happen: Node.js ABI version is the same as other copies of
> the same version of Node, or an Ubuntu-specific ABI version if Ubuntu
> has made an ABI-incompatible change.
>
> What actually happened: Ubuntu's copy of Node.js 18 reports the ABI
> version assigned to Electron 21.
>
> Ubuntu 24.04 includes Node.js 18.19.1. However, the ABI version number
> reported does not match:
>
> $ node
> Welcome to Node.js v18.19.1.
> Type ".help" for more information.
> > process.versions.modules
> '109'
>
> According to the registry [1], Node 18.x should have ABI version 108,
> and version 109 is assigned to Electron 21. In the official binaries for
> 18.x, process.versions.modules == '108'.
>
> I did find this Debian bug [2] where it seems that they bumped the ABI
> version due to a t64-related change, but I don't understand exactly what
> the change is. Also their change doesn't seem to have made it into a
> release of Debian (Bookworm ships Node 18.19.0 with the correct ABI
> version 108, while testing has upgraded to 20.x). If that's the change
> that is affecting Ubuntu too then "Node 18 with some t64 change" should
> be assigned a new ABI version number instead of using the one for
> Electron 21.


That was my mistake.
Indeed, now that Ubuntu has it, it should request
a NODE_EMBEDDER_MODULE_VERSION
at https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json
See src/node_version.h

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085804

Title:
  Node.js reports wrong ABI version number

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/2085804/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to