|
Python chose to remove setuptools by default, leading to:
Traceback (most recent call last):
File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
import gyp # noqa: E402
^^^^^^^^^^
File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
import gyp.input
File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/lib/configure.js:259:16)
gyp ERR! stack at ChildProcess.emit (node:events:519:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Linux 6.8.9-arch1-2
gyp ERR! command "/usr/bin/node" "/build/thelounge-git/src/thelounge/_build/node_modules/sqlite3/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /build/thelounge-git/src/thelounge/_build/node_modules/sqlite3
gyp ERR! node -v v21.7.3
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok
|