==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: vaultwarden-web 2024.6.2.b-1 (Thu Aug 8 12:59:04 2024) ==> Retrieving sources... -> Cloning bitwarden-clients git repo... Cloning into bare repository '/home/leming/work/vaultwarden-web/bitwarden-clients'... -> Cloning bw_web_builds git repo... Cloning into bare repository '/home/leming/work/vaultwarden-web/bw_web_builds'... ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with b2sums... bitwarden-clients ... Skipped bw_web_builds ... Skipped ==> Making package: vaultwarden-web 2024.6.2.b-1 (Thu Aug 8 13:00:49 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (4) liburing-2.6-2 mariadb-libs-11.4.2-1 postgresql-libs-16.3-3 vaultwarden-1.31.0-1 Total Download Size: 13.28 MiB Total Installed Size: 63.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... vaultwarden-1.31.0-1-aarch64 downloading... mariadb-libs-11.4.2-1-aarch64 downloading... postgresql-libs-16.3-3-aarch64 downloading... liburing-2.6-2-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing liburing... installing mariadb-libs... Optional dependencies for mariadb-libs krb5: for gssapi authentication [installed] installing postgresql-libs... installing vaultwarden... Configure the server via its environment variables in /etc/vaultwarden.env. If vaultwarden is run at ports >1024, you should apply these systemd unit options via a drop-in file: [Service] CapabilityBoundingSet= AmbientCapabilities= PrivateUsers=yes If the service produces too much noise in your journal, you can redirect stdout to /dev/null (vaultwarden will still also write to /var/log/vaultwarden.log if configured to do so): [Service] StandardOutput=null Create or edit drop-in file: # systemctl edit vaultwarden Start vaultwarden and enable its systemd service: # systemctl enable --now vaultwarden Optional dependencies for vaultwarden vaultwarden-web: for the web app [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (12) c-ares-1.29.0-1 libngtcp2-1.6.0-1 libuv-1.48.0-2 node-gyp-10.2.0-1 nodejs-nopt-7.2.0-2 perl-error-0.17029-6 perl-mailtools-2.21-8 perl-timedate-2.33-6 semver-7.6.3-1 git-2.46.0-1 nodejs-22.6.0-1 npm-10.8.2-1 Total Download Size: 16.51 MiB Total Installed Size: 123.99 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... nodejs-22.6.0-1-aarch64 downloading... npm-10.8.2-1-any downloading... node-gyp-10.2.0-1-any downloading... c-ares-1.29.0-1-aarch64 downloading... libuv-1.48.0-2-aarch64 downloading... libngtcp2-1.6.0-1-aarch64 downloading... semver-7.6.3-1-any downloading... nodejs-nopt-7.2.0-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing c-ares... installing libngtcp2... installing libuv... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager [pending] installing nodejs-nopt... installing semver... installing node-gyp... Optional dependencies for node-gyp gcc: to build C++ modules [installed] make: to build C++ modules [installed] python: to build C++ modules [installed] installing npm... Optional dependencies for npm git: for dependencies using Git URL's [installed] :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of bitwarden-clients git repo... Cloning into 'bitwarden-clients'... done. Switched to a new branch 'makepkg' -> Creating working copy of bw_web_builds git repo... Cloning into 'bw_web_builds'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... '../bw_web_builds/resources/src/images/logo-dark@2x.png' -> 'apps/web/src/images/logo-dark@2x.png' '../bw_web_builds/resources/src/images/logo-white@2x.png' -> 'apps/web/src/images/logo-white@2x.png' '../bw_web_builds/resources/src/images/icon-white.png' -> 'apps/web/src/images/icon-white.png' patching file apps/web/package.json patching file apps/web/src/app/admin-console/organizations/create/organization-information.component.html patching file apps/web/src/app/admin-console/organizations/layouts/organization-layout.component.ts patching file apps/web/src/app/admin-console/organizations/members/people.component.ts patching file apps/web/src/app/admin-console/organizations/organization-routing.module.ts patching file apps/web/src/app/admin-console/organizations/settings/account.component.html patching file apps/web/src/app/admin-console/organizations/settings/account.component.ts patching file apps/web/src/app/admin-console/organizations/users/enroll-master-password-reset.component.ts patching file apps/web/src/app/app.component.ts patching file apps/web/src/app/auth/emergency-access/accept/accept-emergency.component.html patching file apps/web/src/app/auth/login/login.component.html patching file apps/web/src/app/auth/settings/change-password.component.html patching file apps/web/src/app/auth/settings/two-factor-authenticator.component.ts patching file apps/web/src/app/billing/organizations/organization-billing-history-view.component.ts patching file apps/web/src/app/billing/organizations/organization-plans.component.html patching file apps/web/src/app/billing/organizations/organization-plans.component.ts patching file apps/web/src/app/core/router.service.ts patching file apps/web/src/app/core/web-platform-utils.service.ts patching file apps/web/src/app/layouts/frontend-layout.component.html patching file apps/web/src/app/layouts/header/web-header.component.html patching file apps/web/src/app/layouts/product-switcher/navigation-switcher/navigation-switcher.component.html patching file apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html patching file apps/web/src/app/layouts/user-layout.component.ts patching file apps/web/src/app/oss-routing.module.ts patching file apps/web/src/app/platform/web-environment.service.ts patching file apps/web/src/app/tools/send/access.component.html patching file apps/web/src/app/tools/send/add-edit.component.html patching file apps/web/src/app/vault/individual-vault/vault-filter/components/organization-options.component.ts patching file apps/web/src/index.html patching file apps/web/src/manifest.json patching file apps/web/src/scss/styles.scss patching file apps/web/tailwind.config.js patching file apps/web/webpack.config.js patching file clients.code-workspace patching file jest.config.js patching file libs/angular/src/auth/components/register.component.ts patching file libs/auth/src/angular/user-verification/user-verification-dialog.component.html patching file libs/auth/src/angular/user-verification/user-verification-dialog.component.ts patching file libs/auth/src/angular/user-verification/user-verification-dialog.types.ts patching file libs/components/src/tw-theme.css patching file libs/components/tailwind.config.js patching file tailwind.config.js patching file tsconfig.json ⠙⠹⠸⠼⠴⠦npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '@bitwarden/clients@0.0.0', npm warn EBADENGINE required: { node: '~20', npm: '~10' }, npm warn EBADENGINE current: { node: 'v22.6.0', npm: '10.8.2' } npm warn EBADENGINE } ⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. ⠏npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated ⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated ⠹⠸⠼⠴npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead ⠴npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated ⠦⠧⠇⠏⠋npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼npm warn deprecated domexception@2.0.1: Use your platform's native DOMException instead ⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs ⠇⠏⠋npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 ⠋⠙⠹⠸npm warn deprecated @wessberg/ts-evaluator@0.0.27: this package has been renamed to ts-evaluator. Please install ts-evaluator instead ⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙npm warn deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. ⠙npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. ⠹npm warn deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. ⠹npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. ⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead ⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹npm warn deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies ⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼npm warn deprecated vis@4.21.0-EOL: Please consider using https://github.com/visjs ⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸npm error code 1 ⠸npm error path /build/vaultwarden-web/src/bitwarden-clients/node_modules/utf-8-validate ⠸npm error command failed ⠸npm error command sh -c node-gyp-build ⠸npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@9.4.1 npm error gyp info using node@22.6.0 | linux | arm64 npm error (node:1018) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. npm error (Use `node --trace-deprecation ...` to show where the warning was created) npm error gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3" npm error gyp http GET https://nodejs.org/download/release/v22.6.0/node-v22.6.0-headers.tar.gz npm error gyp http 200 https://nodejs.org/download/release/v22.6.0/node-v22.6.0-headers.tar.gz npm error gyp http GET https://nodejs.org/download/release/v22.6.0/SHASUMS256.txt npm error gyp http 200 https://nodejs.org/download/release/v22.6.0/SHASUMS256.txt npm error gyp info spawn /usr/bin/python3 npm error gyp info spawn args [ npm error gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/gyp/gyp_main.py', npm error gyp info spawn args 'binding.gyp', npm error gyp info spawn args '-f', npm error gyp info spawn args 'make', npm error gyp info spawn args '-I', npm error gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/utf-8-validate/build/config.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/addon.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/build/.cache/node-gyp/22.6.0/include/node/common.gypi', npm error gyp info spawn args '-Dlibrary=shared_library', npm error gyp info spawn args '-Dvisibility=default', npm error gyp info spawn args '-Dnode_root_dir=/build/.cache/node-gyp/22.6.0', npm error gyp info spawn args '-Dnode_gyp_dir=/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp', npm error gyp info spawn args '-Dnode_lib_file=/build/.cache/node-gyp/22.6.0/<(target_arch)/node.lib', npm error gyp info spawn args '-Dmodule_root_dir=/build/vaultwarden-web/src/bitwarden-clients/node_modules/utf-8-validate', npm error gyp info spawn args '-Dnode_engine=v8', npm error gyp info spawn args '--depth=.', npm error gyp info spawn args '--no-parallel', npm error gyp info spawn args '--generator-output', npm error gyp info spawn args 'build', npm error gyp info spawn args '-Goutput_dir=.' npm error gyp info spawn args ] npm error Traceback (most recent call last): npm error File "/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> npm error import gyp # noqa: E402 npm error ^^^^^^^^^^ npm error File "/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> npm error import gyp.input npm error File "/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> npm error from distutils.version import StrictVersion npm error ModuleNotFoundError: No module named 'distutils' npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1 npm error gyp ERR! stack at ChildProcess.onCpExit (/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/lib/configure.js:325:16) npm error gyp ERR! stack at ChildProcess.emit (node:events:520:28) npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) npm error gyp ERR! System Linux 5.1.16-1-ARCH npm error gyp ERR! command "/usr/bin/node" "/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm error gyp ERR! cwd /build/vaultwarden-web/src/bitwarden-clients/node_modules/utf-8-validate npm error gyp ERR! node -v v22.6.0 npm error gyp ERR! node-gyp -v v9.4.1 npm error gyp ERR! not ok ⠸npm error A complete log of this run can be found in: /build/.npm/_logs/2024-08-08T19_00_59_673Z-debug-0.log ⠸==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Build failed, check /home/leming/armv8/leming/build