>>> node-libpg-query: Building testing/node-libpg-query 13.1.2-r4 (using abuild 3.13.0-r5) started Mon, 30 Sep 2024 12:07:00 +0000 >>> node-libpg-query: Checking sanity of /home/buildozer/aports/testing/node-libpg-query/APKBUILD... >>> node-libpg-query: Analyzing dependencies... >>> node-libpg-query: Installing for build: build-base libpg_query-dev nodejs-dev python3 yarn (1/24) Installing protobuf-c (1.5.0-r1) (2/24) Installing libpg_query (16.5.1.0-r0) (3/24) Installing libpg_query-dev (16.5.1.0-r0) (4/24) Installing ada-libs (2.7.8-r1) (5/24) Installing libbase64 (0.5.2-r0) (6/24) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (7/24) Installing icu-libs (74.2-r0) (8/24) Installing nodejs-libs (20.15.1-r0) (9/24) Installing nodejs-dev (20.15.1-r0) (10/24) Installing libbz2 (1.0.8-r6) (11/24) Installing libffi (3.4.6-r0) (12/24) Installing gdbm (1.24-r0) (13/24) Installing xz-libs (5.6.2-r0) (14/24) Installing mpdecimal (4.0.0-r0) (15/24) Installing libpanelw (6.5_p20240601-r1) (16/24) Installing sqlite-libs (3.46.1-r0) (17/24) Installing python3 (3.12.6-r0) (18/24) Installing python3-pycache-pyc0 (3.12.6-r0) (19/24) Installing pyc (3.12.6-r0) (20/24) Installing python3-pyc (3.12.6-r0) (21/24) Installing ca-certificates (20240705-r0) (22/24) Installing nodejs (20.15.1-r0) (23/24) Installing yarn (1.22.22-r0) (24/24) Installing .makedepends-node-libpg-query (20240930.120704) Executing busybox-1.36.1-r32.trigger Executing ca-certificates-20240705-r0.trigger OK: 446 MiB in 127 packages >>> node-libpg-query: Cleaning up srcdir >>> node-libpg-query: Cleaning up pkgdir >>> node-libpg-query: Cleaning up tmpdir >>> node-libpg-query: Fetching https://distfiles.alpinelinux.org/distfiles/edge/node-libpg-query-f34989e21713a66938f559480230359b4a7d3c31.tar.gz >>> node-libpg-query: Fetching https://distfiles.alpinelinux.org/distfiles/edge/node-libpg-query-f34989e21713a66938f559480230359b4a7d3c31.tar.gz >>> node-libpg-query: Checking sha512sums... node-libpg-query-f34989e21713a66938f559480230359b4a7d3c31.tar.gz: OK gyp.patch: OK package.patch: OK bump-gyp.patch: OK >>> node-libpg-query: Unpacking /var/cache/distfiles/node-libpg-query-f34989e21713a66938f559480230359b4a7d3c31.tar.gz... >>> node-libpg-query: gyp.patch patching file binding.gyp >>> node-libpg-query: package.patch patching file package.json >>> node-libpg-query: bump-gyp.patch patching file package.json patching file yarn.lock yarn install v1.22.22 warning package.json: License should be a valid SPDX license expression warning libpg-query@13.1.2: License should be a valid SPDX license expression [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... warning Ignored scripts due to flag. Done in 1.62s. yarn run v1.22.22 warning package.json: License should be a valid SPDX license expression $ node-gyp configure rebuild --release --verbose --nodedir=/usr/include/node gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/usr/bin/node', gyp verb cli '/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/.bin/node-gyp', gyp verb cli 'configure', gyp verb cli 'rebuild', gyp verb cli '--release', gyp verb cli '--verbose', gyp verb cli '--nodedir=/usr/include/node' gyp verb cli ] gyp info using node-gyp@8.2.0 gyp info using node@20.15.1 | linux | loong64 gyp verb command configure [] gyp verb find Python Python is not set from command line or npm configuration gyp verb find Python Python is not set from environment variable PYTHON gyp verb find Python checking if "python3" can be used gyp verb find Python - executing "python3" to get executable path gyp verb find Python - executable path is "/usr/bin/python3" gyp verb find Python - executing "/usr/bin/python3" to get version gyp verb find Python - version is "3.12.6" gyp info find Python using Python version 3.12.6 found at "/usr/bin/python3" gyp verb get node dir compiling against specified --nodedir dev files: /usr/include/node gyp verb build dir attempting to create "build" dir: /home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/build gyp verb build dir "build" dir needed to be created? Yes gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/build/config.gypi gyp verb config.gypi checking for gypi file: /home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/config.gypi gyp verb common.gypi checking for gypi file: /home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr/include/node', gyp info spawn args '-Dnode_gyp_dir=/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/usr/include/node/$(Configuration)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] Traceback (most recent call last): File "/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/gyp/gyp_main.py", line 42, in import gyp # noqa: E402 ^^^^^^^^^^ File "/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in import gyp.input File "/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in 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 (/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/node-gyp/lib/configure.js:353: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.6.47-0-lts gyp ERR! command "/usr/bin/node" "/home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31/node_modules/.bin/node-gyp" "configure" "rebuild" "--release" "--verbose" "--nodedir=/usr/include/node" gyp ERR! cwd /home/buildozer/aports/testing/node-libpg-query/src/libpg-query-node-f34989e21713a66938f559480230359b4a7d3c31 gyp ERR! node -v v20.15.1 gyp ERR! node-gyp -v v8.2.0 gyp ERR! not ok error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. >>> ERROR: node-libpg-query: build failed >>> node-libpg-query: Uninstalling dependencies... (1/24) Purging .makedepends-node-libpg-query (20240930.120704) (2/24) Purging libpg_query-dev (16.5.1.0-r0) (3/24) Purging libpg_query (16.5.1.0-r0) (4/24) Purging nodejs-dev (20.15.1-r0) (5/24) Purging nodejs-libs (20.15.1-r0) (6/24) Purging python3-pyc (3.12.6-r0) (7/24) Purging python3-pycache-pyc0 (3.12.6-r0) (8/24) Purging pyc (3.12.6-r0) (9/24) Purging python3 (3.12.6-r0) (10/24) Purging yarn (1.22.22-r0) (11/24) Purging nodejs (20.15.1-r0) (12/24) Purging ca-certificates (20240705-r0) Executing ca-certificates-20240705-r0.post-deinstall (13/24) Purging ada-libs (2.7.8-r1) (14/24) Purging gdbm (1.24-r0) (15/24) Purging icu-libs (74.2-r0) (16/24) Purging libbase64 (0.5.2-r0) (17/24) Purging libbz2 (1.0.8-r6) (18/24) Purging libffi (3.4.6-r0) (19/24) Purging libpanelw (6.5_p20240601-r1) (20/24) Purging mpdecimal (4.0.0-r0) (21/24) Purging protobuf-c (1.5.0-r1) (22/24) Purging sqlite-libs (3.46.1-r0) (23/24) Purging xz-libs (5.6.2-r0) (24/24) Purging icu-data-en (74.2-r0) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 103 packages