diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2023-10-19 00:07:54 +0200 | 
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-10-30 07:14:02 -0400 | 
| commit | 61c47294c971b648d7282cfeb09ef9acfbd324b1 (patch) | |
| tree | 1ea463efb4cbd3fae62ece84985c217b0a792301 /meta-python/recipes-devtools/python/python3-dbussy | |
| parent | ef38c490da8ccd6216fa91ec5e194de01c9f2e94 (diff) | |
| download | meta-openembedded-61c47294c971b648d7282cfeb09ef9acfbd324b1.tar.gz | |
nodejs: Revert io_uring support from bundled libuv-1.46.0
* Pseudo fails to intercept some of the syscalls used by the
  new version as documented in:
  https://github.com/shr-project/com.webos.app.minimal/tree/recipes
Now we have 3 options:
1) every use of nodejs-native where io_uring might be used (like in webpack)
   needs to export UV_USE_IO_URING=0 before using node, but be aware that
   the PR says it's only temporary and this variable might be removed in future.
   Unfortunately many people are lucky enough not to know what pseudo even is,
   so they might not realize that host-user-contamination QA issues or
   "KeyError: 'getpwuid(): uid not found" might be related to this (and they
   probably won't find this e-mail as well:
   https://lists.openembedded.org/g/openembedded-devel/message/105583
2) revert the io_uring changes from bundled libuv, to make sure it stays disabled.
   The changes are massive and it will be PIA to update them for every nodejs release
   I've already separated them for nodejs-20.3.0 where I've initialy tested this
   on top of libuv-1.45.0 and for 20.4.0 this need another patch for changes
   from libuv-1.46.0.
   Patch for keeping UV_USE_IO_URING support after it's removed from upstream libuv
   will be much smaller, but PIA to use UV_USE_IO_URING whenever using nodejs-native
   during build.
3) fix pseudo to correctly work with io_uring calls, definitely best long-term solution
   as more and more tools will now switch to io_uring, but without active maintainer
   of pseudo it might be _very_ difficult to implement this and there aren't many
   people willing to touch this beast.
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d08453978c31ee41d28206c6ff198d7d9d701d88)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-dbussy')
0 files changed, 0 insertions, 0 deletions
