==> Building on shellder ==> Attempt to run pkgver()... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 700 45% 0.00kB/s 0:00:00 1,529 100% 809.57kB/s 0:00:00 (xfr#1, to-chk=2/4) vaultwarden-web-2023.4.2-1.log 247 100% 241.21kB/s 0:00:00 247 100% 241.21kB/s 0:00:00 (xfr#2, to-chk=1/4) vaultwarden-web.install 224 100% 218.75kB/s 0:00:00 224 100% 218.75kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 409 bytes received 106 bytes 206.00 bytes/sec total size is 2,000 speedup is 3.88 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root18 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root18]...done ==> Making package: vaultwarden-web 2023.4.2-1 (Sun May 14 05:22:39 2023) ==> Retrieving sources...  -> Updating bitwarden-clients git repo...  -> Updating bw_web_builds git repo... ==> Validating source files with b2sums... bitwarden-clients ... Skipped bw_web_builds ... Skipped ==> Making package: vaultwarden-web 2023.4.2-1 (Sun May 14 05:22:55 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/liburing 2.3-1 0.23 MiB extra/mariadb-libs 10.11.2-2 22.66 MiB extra/postgresql-libs 15.2-2 7.04 MiB community/vaultwarden 1.28.1-1 31.53 MiB Total Installed Size: 61.46 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing liburing... installing mariadb-libs... Optional dependencies for mariadb-libs krb5: for gssapi authentication [installed] installing postgresql-libs... installing vaultwarden... !NOTE! bitwarden_rs is now vaultwarden: https://github.com/dani-garcia/vaultwarden/discussions/1642 If upgrading from bitwarden_rs, do not to leave around files/directories owned by the old bitwarden_rs user/group before removing the old bitwarden_rs user/group. 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... Package (13) New Version Net Change extra/c-ares 1.19.0-1 0.44 MiB core/libnsl 2.0.0-3 0.06 MiB extra/libuv 1.44.2-1 0.52 MiB community/node-gyp 9.3.1-1 4.43 MiB community/nodejs-nopt 7.1.0-1 0.03 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB core/python 3.11.3-1 104.68 MiB community/semver 7.3.8-1 0.11 MiB extra/git 2.40.1-1 33.31 MiB community/nodejs-lts-gallium 16.20.0-1 33.77 MiB community/npm 8.19.2-2 6.49 MiB Total Installed Size: 184.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui 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 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing libnsl... installing libuv... installing c-ares... installing nodejs-lts-gallium... Optional dependencies for nodejs-lts-gallium npm: nodejs package manager [pending] installing nodejs-nopt... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing semver... installing node-gyp... installing npm... :: 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()... '/build/vaultwarden-web/src/bw_web_builds/resources/src/images/logo-dark@2x.png' -> 'apps/web/src/images/logo-dark@2x.png' '/build/vaultwarden-web/src/bw_web_builds/resources/src/images/logo-white@2x.png' -> 'apps/web/src/images/logo-white@2x.png' '/build/vaultwarden-web/src/bw_web_builds/resources/src/images/icon-white.png' -> 'apps/web/src/images/icon-white.png' patching file apps/web/src/404.html patching file apps/web/src/app/admin-console/organizations/create/organization-information.component.html patching file apps/web/src/app/admin-console/organizations/settings/account.component.html patching file apps/web/src/app/app.component.ts patching file apps/web/src/app/billing/organizations/organization-billing-history-view.component.ts patching file apps/web/src/app/core/init.service.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/footer.component.html patching file apps/web/src/app/layouts/frontend-layout.component.html patching file apps/web/src/app/layouts/navbar.component.html patching file apps/web/src/app/settings/settings.component.ts patching file apps/web/src/app/tools/generator.component.ts patching file apps/web/src/app/tools/send/access.component.html patching file apps/web/src/app/vault/individual-vault/vault.component.ts patching file apps/web/src/app/vault/org-vault/vault.component.ts patching file apps/web/src/auth/settings/two-factor-authenticator.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 libs/angular/src/components/register.component.ts patching file libs/components/src/menu/menu.component.html 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 trim@0.0.1: Use String.prototype.trim() instead npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 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 sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated electron-osx-sign@0.6.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different npm WARN deprecated electron-notarize@1.2.2: Please use @electron/notarize moving forward. There is no API change, just a package name change npm WARN deprecated dommatrix@1.0.3: dommatrix is no longer maintained. Please use @thednp/dommatrix. npm WARN deprecated asar@3.2.0: Please use @electron/asar moving forward. There is no API change, just a package name change npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs 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 uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs 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 electron-rebuild@3.2.9: Please use @electron/rebuild moving forward. There is no API change, just a package name change 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 core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm notice npm notice New major version of npm available! 8.19.2 -> 9.6.6 npm notice Changelog: npm notice Run `npm install -g npm@9.6.6` to update! npm notice npm ERR! code 1 npm ERR! path /build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native npm ERR! command failed npm ERR! command sh -c -- node-gyp-build npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@16.20.0 | linux | riscv64 npm ERR! gyp info find Python using Python version 3.11.3 found at "/usr/bin/python3" npm ERR! gyp http GET https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz npm ERR! gyp http 200 https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz npm ERR! gyp http GET https://nodejs.org/download/release/v16.20.0/SHASUMS256.txt npm ERR! gyp http 200 https://nodejs.org/download/release/v16.20.0/SHASUMS256.txt npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/build/.cache/node-gyp/16.20.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/build/.cache/node-gyp/16.20.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/build/.cache/node-gyp/16.20.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: Call to 'sh liblzma-config.sh "/build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native/build" "/build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native/deps/xz-5.2.3.tar.bz2"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/build/vaultwarden-web/src/bitwarden-clients/node_modules/node-gyp/lib/configure.js:325:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) npm ERR! gyp ERR! System Linux 6.2.10-arch1-1 npm ERR! gyp ERR! command "/usr/bin/node" "/build/vaultwarden-web/src/bitwarden-clients/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /build/vaultwarden-web/src/bitwarden-clients/node_modules/lzma-native npm ERR! gyp ERR! node -v v16.20.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /build/.npm/_logs/2023-05-13T21_23_27_177Z-debug-0.log ==> ERROR: A failure occurred in prepare().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root18/build receiving incremental file list vaultwarden-web-2023.4.2-1-riscv64-prepare.log sent 43 bytes received 2,698 bytes 1,096.40 bytes/sec total size is 8,657 speedup is 3.16