==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: switcheroo-control 3.0-1 (Mon Sep  1 04:30:25 2025)
==> Retrieving sources...
  -> Cloning switcheroo-control git repo...
Cloning into bare repository '/home/leming/work/switcheroo-control/switcheroo-control'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    switcheroo-control ... Skipped
==> Making package: switcheroo-control 3.0-1 (Mon 01 Sep 2025 04:30:34 AM MDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (6) gobject-introspection-runtime-1.84.0-2  libgirepository-1.84.0-2
             libpciaccess-0.18.1-2  libdrm-2.4.125-1  libgudev-238-3
             python-gobject-3.52.3-3

Total Download Size:   0.32 MiB
Total Installed Size:  5.83 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-gobject-3.52.3-3-aarch64 downloading...
 libgudev-238-3-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libgudev...
installing libgirepository...
installing gobject-introspection-runtime...
installing python-gobject...
Optional dependencies for python-gobject
    python-cairo: Cairo bindings
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (19) docbook-xml-4.5-11  docbook-xsl-1.79.2-9  glib2-docs-2.84.4-2
              libxslt-1.1.43-2  ninja-1.12.1-2  perl-error-0.17030-2
              perl-mailtools-2.22-2  perl-timedate-2.33-8  python-lxml-6.0.1-1
              python-packaging-25.0-1  python-pygments-2.19.2-1
              python-tqdm-4.67.1-2  zlib-ng-2.2.5-1  git-2.51.0-1
              glib2-devel-2.84.4-2  gtk-doc-1.34.0-3  meson-1.9.0-1
              python-dbus-1.4.0-1  python-dbusmock-0.36.0-1

Total Download Size:     0.23 MiB
Total Installed Size:  182.24 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-dbusmock-0.36.0-1-any downloading...
 python-dbus-1.4.0-1-aarch64 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 zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    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]
    less: the default pager for git [installed]
installing python-packaging...
installing glib2-devel...
installing docbook-xml...
installing libxslt...
Optional dependencies for libxslt
    python: Python bindings [installed]
installing docbook-xsl...
installing glib2-docs...
installing python-lxml...
Optional dependencies for python-lxml
    python-beautifulsoup4: support for beautifulsoup parser to parse not well
    formed HTML
    python-cssselect: support for cssselect
    python-html5lib: support for html5lib parser
    python-lxml-docs: offline docs
    python-lxml-html-clean: enable htmlclean feature
installing python-pygments...
installing gtk-doc...
Optional dependencies for gtk-doc
    dblatex: PDF support
installing ninja...
installing python-tqdm...
Optional dependencies for python-tqdm
    python-requests: telegram
installing meson...
installing python-dbus...
Optional dependencies for python-dbus
    python-gobject: D-Bus services via PyGI [installed]
installing python-dbusmock...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of switcheroo-control git repo...
Cloning into 'switcheroo-control'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=false -D b_pie=true -D python.bytecompile=1 switcheroo-control build -D gtk_doc=true -D tests=true
The Meson build system
Version: 1.9.0
Source dir: /build/switcheroo-control/src/switcheroo-control
Build dir: /build/switcheroo-control/src/build
Build type: native build
Project name: switcheroo-control
Project version: 3.0
C compiler for the host machine: cc (gcc 14.2.1 "aarch64-unknown-linux-gnu-gcc (GCC) 14.2.1 20250207")
C linker for the host machine: cc ld.bfd 2.44
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gio-2.0 found: YES 2.84.4
Run-time dependency gudev-1.0 found: YES 238
Run-time dependency libdrm found: YES 2.4.125
Run-time dependency libdrm_nouveau found: YES 2.4.125
Run-time dependency libdrm_amdgpu found: YES 2.4.125
Has header "drm/xe_drm.h" with dependency libdrm: YES 
Run-time dependency systemd found: YES 257
Run-time dependency udev found: YES 257
Dependency udev found: YES 257 (cached)
Configuring switcheroo-control.service using configuration
Configuring 30-discrete-gpu.rules using configuration
Dependency gio-2.0 found: YES 2.84.4 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program python3 found: YES (/usr/bin/python3)
Configuring switcherooctl using configuration
Configuring version.xml using configuration
Dependency gio-2.0 found: YES 2.84.4 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program python3 found: YES (/usr/bin/python3)
Program python3 found: YES (/usr/bin/python3)
Program unittest_inspector.py found: YES (/build/switcheroo-control/src/switcheroo-control/tests/unittest_inspector.py)

switcheroo-control/tests/meson.build:6:4: ERROR: Command `/build/switcheroo-control/src/switcheroo-control/tests/unittest_inspector.py /build/switcheroo-control/src/switcheroo-control/tests/integration-test.py` failed with status 1.

A full log can be found at /build/switcheroo-control/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build