Building package "waveterm" :: Synchronizing package databases... core downloading... extra downloading... multilib downloading... chaotic-aur downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Packages (4) libelf-0.191-2 ncurses-6.4_20230520-3 pcre2-10.43-4 zlib-1:1.3.1-2 Total Installed Size: 13.53 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... upgrading zlib... upgrading ncurses... upgrading libelf... upgrading pcre2... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... warning: gcc-13.2.1-6 is up to date -- skipping warning: base-devel-1-1 is up to date -- skipping resolving dependencies... :: There are 2 providers available for libegl: :: Repository extra 1) libglvnd :: Repository chaotic-aur 2) nvidia-340xx-utils Enter a number (default=1): looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency warning: dependency cycle detected: warning: mesa will be installed before its libglvnd dependency Packages (118) adobe-source-code-pro-fonts-2.042u+1.062i+1.026vf-1 adwaita-cursors-46.0-1 adwaita-icon-theme-46.0-1 alsa-lib-1.2.11-1 alsa-topology-conf-1.2.5.1-3 alsa-ucm-conf-1.2.11-1 at-spi2-core-2.52.0-1 avahi-1:0.8+r194+g3f79789-2 c-ares-1.28.1-1 cairo-1.18.0-2 cantarell-fonts-1:0.303.1-1 dav1d-1.4.1-1 dconf-0.40.0-2 default-cursors-2-1 desktop-file-utils-0.27-1 duktape-2.7.0-6 flac-1.4.3-1 fontconfig-2:2.15.0-2 freetype2-2.13.2-1 fribidi-1.0.14-1 gdk-pixbuf2-2.42.11-2 giflib-5.2.2-1 glib-networking-1:2.80.0-1 graphite-1:1.3.14-3 gsettings-desktop-schemas-46.0-1 gtk-update-icon-cache-1:4.14.4-1 gtk3-1:3.24.41-1 harfbuzz-8.4.0-2 hicolor-icon-theme-0.17-3 iso-codes-4.16.0-1 jbigkit-2.1-7 json-glib-1.8.0-1 lame-3.100-4 lcms2-2.16-1 libasyncns-1:0.8+r3+g68cd5af-2 libcloudproviders-0.3.6-1 libcolord-1.4.7-2 libcups-1:2.4.8-1 libdaemon-0.14-5 libdatrie-0.2.13-4 libdrm-2.4.120-1 libedit-20230828_3.1-1 libei-1.2.1-1 libepoxy-1.5.10-2 libevdev-1.13.1-1 libglvnd-1.7.0-1 libjpeg-turbo-3.0.2-2 libngtcp2-1.4.0-1 libogg-1.3.5-1 libomxil-bellagio-0.9.3-4 libpciaccess-0.18.1-2 libpng-1.6.43-1 libproxy-0.5.6-1 libpulse-17.0-3 librsvg-2:2.58.0-1 libsndfile-1.2.2-2 libsoup3-3.4.4-1 libstemmer-2.2.0-2 libthai-0.1.29-3 libtiff-4.6.0-4 libuv-1.48.0-2 libvorbis-1.3.7-3 libwebp-1.4.0-1 libx11-1.8.9-1 libxau-1.0.11-2 libxcb-1.17.0-1 libxcomposite-0.4.6-1 libxcursor-1.2.2-1 libxdamage-1.1.6-1 libxdmcp-1.1.5-1 libxext-1.3.6-1 libxfixes-6.0.1-1 libxft-2.3.8-1 libxi-1.8.1-1 libxinerama-1.1.5-1 libxkbcommon-1.7.0-2 libxrandr-1.5.4-1 libxrender-0.9.11-1 libxshmfence-1.3.2-1 libxslt-1.1.39-2 libxtst-1.2.4-1 libxxf86vm-1.1.5-1 llvm-libs-17.0.6-4 lm_sensors-1:3.6.0.r41.g31d1f125-2 lzo-2.10-5 mesa-1:24.0.6-2 minizip-1:1.3.1-2 mpdecimal-4.0.0-2 mpg123-1.32.5-1 node-gyp-10.1.0-2 nodejs-nopt-7.2.0-1 nspr-4.35-2 nss-3.99-1 opus-1.5.2-1 pango-1:1.52.2-1 perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 pixman-0.43.4-1 python-3.12.3-1 semver-7.6.0-1 shared-mime-info-2.4-1 tracker3-3.7.3-1 wayland-1.22.0-1 xcb-proto-1.17.0-2 xkeyboard-config-2.41-1 xorg-xprop-1.2.7-1 xorgproto-2024.1-2 electron29-29.3.1-2 gendesk-1.0.9-4 git-2.45.0-1 go-2:1.22.2-1 nodejs-21.7.3-1 npm-10.5.2-1 nvm-0.39.7-1 scripthaus-git-0.5.1.r0.g03c4760-1 yarn-1.22.22-1 zip-3.0-11 Total Installed Size: 1059.88 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing c-ares... installing hicolor-icon-theme... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libpng... installing jbigkit... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing shared-mime-info... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif libheif: Load .heif, .heic, and .avif libjxl: Load .jxl librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxext... installing libxrender... installing lzo... installing pixman... installing cairo... installing fribidi... installing libdatrie... installing libthai... installing libxft... installing pango... installing librsvg... installing gtk-update-icon-cache... installing adwaita-cursors... installing adwaita-icon-theme... installing adobe-source-code-pro-fonts... installing cantarell-fonts... installing dconf... installing gsettings-desktop-schemas... installing libevdev... installing libei... installing libxfixes... installing libxi... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 wayland: xkbcli interactive-wayland [pending] installing libxtst... installing xorg-xprop... installing at-spi2-core... Optional dependencies for at-spi2-core dbus-broker: Alternative bus implementation [installed] installing desktop-file-utils... installing iso-codes... installing libcloudproviders... installing lcms2... installing libcolord... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc [pending] libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks qt5-base: qt5 bindings installing libcups... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool [installed] installing libxshmfence... installing libxxf86vm... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme [installed] installing wayland... installing libomxil-bellagio... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libepoxy... installing libxcomposite... installing libxcursor... installing libxdamage... installing libxinerama... installing libxrandr... installing json-glib... installing duktape... installing libproxy... installing glib-networking... installing libsoup3... Optional dependencies for libsoup3 samba: Windows Domain SSO installing libstemmer... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing tracker3... Optional dependencies for tracker3 libsoup: Alternative remoting backend installing gtk3... Optional dependencies for gtk3 evince: Default print preview command installing libasyncns... installing libogg... installing flac... installing lame... installing libvorbis... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing mpg123... Optional dependencies for mpg123 sdl2: for sdl audio support jack: for jack audio support libpulse: for pulse audio support [pending] perl: for conplay [installed] installing opus... installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing libpulse... Optional dependencies for libpulse glib2: mainloop integration [installed] pulse-native-provider: PulseAudio backend installing nspr... installing nss... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing giflib... installing libwebp... installing minizip... installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing electron29... Optional dependencies for electron29 kde-cli-tools: file deletion support (kioclient5) pipewire: WebRTC desktop sharing under Wayland qt5-base: enable Qt5 with --enable-features=AllowQt gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland) trash-cli: file deletion support (trash-put) xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open) installing libuv... installing libngtcp2... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager [pending] installing yarn... installing gendesk... installing nodejs-nopt... installing semver... installing node-gyp... installing npm... Optional dependencies for npm git: for dependencies using Git URL's [pending] 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 go... installing scripthaus-git... installing zip... installing nvm... You need to source nvm before you can use it. Do one of the following or similar depending on your shell (and then restart your shell): echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc You can now install node.js versions (e.g. nvm install 10) and activate them (e.g. nvm use 10). init-nvm.sh is a convenience script which does the following: [ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm" source /usr/share/nvm/nvm.sh source /usr/share/nvm/bash_completion source /usr/share/nvm/install-nvm-exec You may wish to customize and put these lines directly in your .bashrc (or similar) if, for example, you would like an NVM_DIR other than ~/.nvm or you don't want bash completion. See the nvm readme for more information: https://github.com/creationix/nvm Optional dependencies for nvm bash: bash completion [installed] :: Running post-transaction hooks... ( 1/15) Creating system user accounts... Creating group 'avahi' with GID 973. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 973 and GID 973. Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. ( 2/15) Reloading system manager configuration... Skipped: Current root is not booted. ( 3/15) Reloading user manager configuration... Skipped: Current root is not booted. ( 4/15) Arming ConditionNeedsUpdate... ( 5/15) Updating the MIME type database... ( 6/15) Updating fontconfig configuration... ( 7/15) Reloading system bus configuration... Skipped: Current root is not booted. ( 8/15) Warn about old perl modules ( 9/15) Updating fontconfig cache... (10/15) Probing GDK-Pixbuf loader modules... (11/15) Updating GIO module cache... (12/15) Compiling GSettings XML schema files... (13/15) Probing GTK3 input method modules... (14/15) Updating icon theme caches... (15/15) Updating the desktop file MIME type cache... ==> Making package: waveterm 0.7.4-2 (Fri 03 May 2024 09:01:08 AM -05) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating waveterm.git git repo... -> Found waveterm.sh ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... waveterm.git ... Passed waveterm.sh ... Passed ==> Extracting sources... -> Creating working copy of waveterm.git git repo... Cloning into 'waveterm.git'... done. Switched to a new branch 'makepkg' ==> Starting build()... Downloading and installing node v20.12.2... Downloading https://nodejs.org/dist/v20.12.2/node-v20.12.2-linux-x64.tar.xz... #=#=# 0.1% 0.7% ## 3.6% ####### 10.8% ##################### 30.3% ######################################## 56.1% ########################################################## 81.5% ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v20.12.2 (npm v10.5.0) Creating default alias: default -> 20 (-> v20.12.2 *) Now using node v20.12.2 (npm v10.5.0) [2499:0503/090112.701278:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory Your network is OK. yarn install v1.22.22 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning "@lexical/react > @lexical/yjs@0.14.5" has unmet peer dependency "yjs@>=13.5.22". [4/4] Building fresh packages... $ electron-builder install-app-deps • electron-builder version=24.13.3 • loaded configuration file=package.json ("build" field) Done in 23.21s. yarn add v1.22.22 [1/4] Resolving packages... warning electron-rebuild@3.2.9: Please use @electron/rebuild moving forward. There is no API change, just a package name change [2/4] Fetching packages... [3/4] Linking dependencies... warning "@lexical/react > @lexical/yjs@0.14.5" has unmet peer dependency "yjs@>=13.5.22". [4/4] Building fresh packages... error /home/main-builder/pkgwork/src/waveterm.git/node_modules/lzma-native: Command failed. Exit code: 1 Command: node-gyp-build Arguments: Directory: /home/main-builder/pkgwork/src/waveterm.git/node_modules/lzma-native Output: gyp info it worked if it ends with ok gyp info using node-gyp@9.4.1 gyp info using node@20.12.2 | linux | x64 gyp info find Python using Python version 3.12.3 found at "/usr/sbin/python3" gyp http GET https://electronjs.org/headers/v29.3.1/node-v29.3.1-headers.tar.gz gyp http 200 https://artifacts.electronjs.org/headers/v29.3.1/node-v29.3.1-headers.tar.gz?force_headers_dist=1 gyp http GET https://electronjs.org/headers/v29.3.1/SHASUMS256.txt gyp http 200 https://artifacts.electronjs.org/headers/v29.3.1/SHASUMS256.txt?force_headers_dist=1 gyp info spawn /usr/sbin/python3 gyp info spawn args [ gyp info spawn args '/home/main-builder/pkgwork/src/waveterm.git/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/main-builder/pkgwork/src/waveterm.git/node_modules/lzma-native/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/main-builder/pkgwork/src/.electron-gyp/.cache/node-gyp/29.3.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/main-builder/pkgwork/src/.electron-gyp/.cache/node-gyp/29.3.1', gyp info spawn args '-Dnode_gyp_dir=/home/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/main-builder/pkgwork/src/.electron-gyp/.cache/node-gyp/29.3.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/main-builder/pkgwork/src/waveterm.git/node_modules/lzma-native', 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/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp/gyp/gyp_main.py", line 42, in import gyp # noqa: E402 ^^^^^^^^^^ File "/home/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in import gyp.input File "/home/main-builder/pkgwork/src/waveterm.git/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/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp/lib/configure.js:325:16) gyp ERR! stack at ChildProcess.emit (node:events:518:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) gyp ERR! System Linux 6.8.8-2-cachyos-lto gyp ERR! command "/home/main-builder/pkgwork/src/.nvm/versions/node/v20.12.2/bin/node" "/home/main-builder/pkgwork/src/waveterm.git/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/main-builder/pkgwork/src/waveterm.git/node_modules/lzma-native gyp ERR! node -v v20.12.2 gyp ERR! node-gyp -v v9.4.1 gyp ERR! not ok info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting... umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root/var/pkgdest unmounted umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root/var/cache/pacman/pkg unmounted umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root/home/main-builder/pkgsrc unmounted umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root/home/main-builder/.ccache unmounted umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root/home/main-builder/pkgwork unmounted umount: /var/cache/chaotic/routines/hourly/waveterm/machine/root (overlay) unmounted real 1m1.141s user 0m28.911s sys 0m15.760s