>>> zigbee2mqtt: Building community/zigbee2mqtt 1.42.0-r0 (using abuild 3.15.0_rc3-r1) started Sun, 04 May 2025 01:35:42 +0000 >>> zigbee2mqtt: Validating /home/buildozer/aports/community/zigbee2mqtt/APKBUILD... >>> zigbee2mqtt: Analyzing dependencies... >>> zigbee2mqtt: Installing for build: build-base nodejs linux-headers npm python3 (1/21) Installing ca-certificates (20241121-r2) (2/21) Installing ada-libs (2.9.2-r3) (3/21) Installing icu-data-en (76.1-r0) Executing icu-data-en-76.1-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (4/21) Installing icu-libs (76.1-r0) (5/21) Installing simdjson (3.12.0-r0) (6/21) Installing simdutf (6.4.1-r0) (7/21) Installing sqlite-libs (3.49.1-r1) (8/21) Installing nodejs (22.13.1-r4) (9/21) Installing linux-headers (6.14.2-r0) (10/21) Installing npm (11.3.0-r0) (11/21) Installing libbz2 (1.0.8-r6) (12/21) Installing libffi (3.4.8-r0) (13/21) Installing gdbm (1.24-r0) (14/21) Installing xz-libs (5.8.1-r0) (15/21) Installing mpdecimal (4.0.0-r0) (16/21) Installing libpanelw (6.5_p20250412-r0) (17/21) Installing python3 (3.12.10-r0) (18/21) Installing python3-pycache-pyc0 (3.12.10-r0) (19/21) Installing pyc (3.12.10-r0) (20/21) Installing python3-pyc (3.12.10-r0) (21/21) Installing .makedepends-zigbee2mqtt (20250504.013555) Executing busybox-1.37.0-r16.trigger Executing ca-certificates-20241121-r2.trigger OK: 368 MiB in 123 packages >>> zigbee2mqtt: Cleaning up srcdir >>> zigbee2mqtt: Cleaning up pkgdir >>> zigbee2mqtt: Cleaning up tmpdir >>> zigbee2mqtt: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/zigbee2mqtt-1.42.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.22/zigbee2mqtt-1.42.0.tar.gz.part' zigbee2mqtt-1.42.0.t 100% |********************************| 548k 0:00:00 ETA '/var/cache/distfiles/v3.22/zigbee2mqtt-1.42.0.tar.gz.part' saved >>> zigbee2mqtt: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/zigbee2mqtt-1.42.0.tar.gz >>> zigbee2mqtt: Checking sha512sums... zigbee2mqtt-1.42.0.tar.gz: OK dont-build-on-start.patch: OK ungit.patch: OK pan_id-secret.patch: OK configuration.yaml: OK zigbee2mqtt.initd: OK zigbee2mqtt.confd: OK >>> zigbee2mqtt: Unpacking /var/cache/distfiles/v3.22/zigbee2mqtt-1.42.0.tar.gz... >>> zigbee2mqtt: dont-build-on-start.patch patching file index.js patching file package.json >>> zigbee2mqtt: ungit.patch patching file lib/util/utils.ts patching file test/utils.test.js Hunk #1 succeeded at 17 (offset 6 lines). >>> zigbee2mqtt: pan_id-secret.patch patching file lib/util/settings.ts Hunk #1 succeeded at 258 (offset 44 lines). Hunk #2 succeeded at 415 (offset 62 lines). patching file test/settings.test.js npm warn Unknown builtin config "globalignorefile". This will stop working in the next major version of npm. npm warn Unknown builtin config "python". This will stop working in the next major version of npm. npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported > @serialport/bindings-cpp@12.0.1 install > node-gyp-build > sd-notify@2.8.0 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@11.2.0 gyp info using node@22.13.1 | linux | arm gyp info find Python using Python version 3.12.10 found at "/usr/bin/python3" gyp http GET https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz gyp http 200 https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz gyp http GET https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt gyp http 200 https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/npm/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/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/sd-notify/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/buildozer/.cache/node-gyp/22.13.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/buildozer/.cache/node-gyp/22.13.1', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/buildozer/.cache/node-gyp/22.13.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/sd-notify', 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 ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 80 ] make: Entering directory '/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/sd-notify/build' CXX(target) Release/obj.target/notify/notify.o ../notify.cc:5:10: fatal error: systemd/sd-daemon.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [notify.target.mk:103: Release/obj.target/notify/notify.o] Error 1 make: Leaving directory '/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/sd-notify/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23) gyp ERR! System Linux 6.1.90-0-lts gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/sd-notify gyp ERR! node -v v22.13.1 gyp ERR! node-gyp -v v11.2.0 gyp ERR! not ok > unix-dgram@2.0.6 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@11.2.0 gyp info using node@22.13.1 | linux | arm gyp info find Python using Python version 3.12.10 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/npm/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/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/unix-dgram/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/buildozer/.cache/node-gyp/22.13.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/buildozer/.cache/node-gyp/22.13.1', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/buildozer/.cache/node-gyp/22.13.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/unix-dgram', 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 ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 80 ] make: Entering directory '/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:62, from ../src/unix_dgram.cc:5: /home/buildozer/.cache/node-gyp/22.13.1/include/node/node.h:1226:7: warning: cast between incompatible function types from 'void (*)(v8::Local)' to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1226 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/.cache/node-gyp/22.13.1/include/node/node.h:1260:3: note: in expansion of macro 'NODE_MODULE_X' 1260 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE' 404 | NODE_MODULE(unix_dgram, Initialize) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Leaving directory '/home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/unix-dgram/build' gyp info ok added 648 packages, and audited 649 packages in 11s 3 vulnerabilities (2 moderate, 1 high) To address all issues, run: npm audit fix Run `npm audit` for details. npm warn Unknown builtin config "globalignorefile". This will stop working in the next major version of npm. npm warn Unknown builtin config "python". This will stop working in the next major version of npm. gyp info it worked if it ends with ok gyp info using node-gyp@11.2.0 gyp info using node@22.13.1 | linux | arm gyp info find Python using Python version 3.12.10 found at "/usr/bin/python3" gyp http GET https://nodejs.org/dist/v24.0.0/node-v24.0.0-headers.tar.gz gyp http 404 https://nodejs.org/dist/v24.0.0/node-v24.0.0-headers.tar.gz gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: 404 response downloading https://nodejs.org/dist/v24.0.0/node-v24.0.0-headers.tar.gz gyp ERR! stack at go (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:223:21) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5) gyp ERR! stack at async install (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:63:18) gyp ERR! stack at async getNodeDir (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:79:7) gyp ERR! stack at async run (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18) gyp ERR! System Linux 6.1.90-0-lts gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild" "--target=24.0.0" "--devdir=/tmp/prebuildify/node" "--arch=arm" "--release" gyp ERR! cwd /home/buildozer/aports/community/zigbee2mqtt/src/zigbee2mqtt-1.42.0/node_modules/@serialport/bindings-cpp gyp ERR! node -v v22.13.1 gyp ERR! node-gyp -v v11.2.0 gyp ERR! not ok node-gyp exited with 1 >>> ERROR: zigbee2mqtt: build failed >>> zigbee2mqtt: Uninstalling dependencies... (1/21) Purging .makedepends-zigbee2mqtt (20250504.013555) (2/21) Purging linux-headers (6.14.2-r0) (3/21) Purging npm (11.3.0-r0) (4/21) Purging nodejs (22.13.1-r4) (5/21) Purging ca-certificates (20241121-r2) Executing ca-certificates-20241121-r2.post-deinstall (6/21) Purging python3-pyc (3.12.10-r0) (7/21) Purging python3-pycache-pyc0 (3.12.10-r0) (8/21) Purging pyc (3.12.10-r0) (9/21) Purging python3 (3.12.10-r0) (10/21) Purging ada-libs (2.9.2-r3) (11/21) Purging gdbm (1.24-r0) (12/21) Purging icu-libs (76.1-r0) (13/21) Purging libbz2 (1.0.8-r6) (14/21) Purging libffi (3.4.8-r0) (15/21) Purging libpanelw (6.5_p20250412-r0) (16/21) Purging mpdecimal (4.0.0-r0) (17/21) Purging simdjson (3.12.0-r0) (18/21) Purging simdutf (6.4.1-r0) (19/21) Purging sqlite-libs (3.49.1-r1) (20/21) Purging xz-libs (5.8.1-r0) (21/21) Purging icu-data-en (76.1-r0) Executing busybox-1.37.0-r16.trigger OK: 274 MiB in 102 packages