==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: rutabaga-ffi 0.1.6-2 (Tue May 20 22:57:53 2025)
==> Retrieving sources...
  -> Cloning crosvm git repo...
Cloning into bare repository '/home/leming/work/rutabaga-ffi/crosvm'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    crosvm ... Skipped
==> Making package: rutabaga-ffi 0.1.6-2 (Tue May 20 22:58:37 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency

Packages (32) default-cursors-3-1  freeglut-3.6.0-2  glm-1.0.1-1  glu-9.0.3-2
              libaemu-0.1.2-5  libdrm-2.4.124-1  libedit-20250104_3.1-1
              libepoxy-1.5.10-3  libglvnd-1.7.0-1  libpciaccess-0.18.1-2
              libva-2.22.0-1  libx11-1.8.12-1  libxau-1.0.12-1  libxcb-1.17.0-1
              libxdmcp-1.1.5-1.1  libxext-1.3.6-1  libxfixes-6.0.1-2
              libxi-1.8.2-1  libxrandr-1.5.4-1  libxrender-0.9.12-1
              libxshmfence-1.3.3-1  libxxf86vm-1.1.6-1  llvm-libs-19.1.7-2
              lm_sensors-1:3.6.2-1  mesa-1:25.0.5-1  spirv-tools-1:1.4.313.0-1
              vulkan-icd-loader-1.4.313.0-1  wayland-1.23.1-2
              xcb-proto-1.17.0-3  xorgproto-2024.1-2  gfxstream-0.1.2-2
              virglrenderer-1.1.1-1

Total Download Size:     2.04 MiB
Total Installed Size:  282.43 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gfxstream-0.1.2-2-aarch64 downloading...
 virglrenderer-1.1.1-1-aarch64 downloading...
 libepoxy-1.5.10-3-aarch64 downloading...
 libva-2.22.0-1-aarch64 downloading...
 vulkan-icd-loader-1.4.313.0-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
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 spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libepoxy...
installing libxfixes...
installing libva...
Optional dependencies for libva
    intel-media-driver: backend for Intel GPUs (>= Broadwell)
    libva-intel-driver: backend for Intel GPUs (<= Haswell)
    libva-mesa-driver: backend for AMD and NVIDIA GPUs [installed]
installing vulkan-icd-loader...
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan driver
installing virglrenderer...
installing libaemu...
installing glu...
installing libxi...
installing libxrender...
installing libxrandr...
installing freeglut...
installing glm...
installing gfxstream...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (9) ninja-1.12.1-2  perl-error-0.17030-1  perl-mailtools-2.22-1
             perl-timedate-2.33-7  python-tqdm-4.67.1-2  zlib-ng-2.2.4-1
             git-2.49.0-2  meson-1.8.0-1  rust-1:1.87.0-1

Total Download Size:    55.21 MiB
Total Installed Size:  290.55 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rust-1:1.87.0-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing rust...
Optional dependencies for rust
    gdb: rust-gdb script
    lldb: rust-lldb script
installing ninja...
installing python-tqdm...
Optional dependencies for python-tqdm
    python-requests: telegram
installing meson...
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]
:: 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 crosvm git repo...
Cloning into 'crosvm'...
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 . build -Dgfxstream=true
The Meson build system
Version: 1.8.0
Source dir: /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi
Build dir: /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build
Build type: native build
Project name: rutabaga_gfx_ffi
Project version: 0.1.6
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
Rust compiler for the host machine: rustc -C linker=cc (rustc 1.87.0 "1.87.0")
Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.44
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program build.sh found: YES (/bin/bash /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build.sh)
Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3
Build targets in project: 1

rutabaga_gfx_ffi 0.1.6

  User defined options
    auto_features     : enabled
    b_lto             : false
    b_pie             : true
    buildtype         : plain
    gfxstream         : true
    libexecdir        : lib
    prefix            : /usr
    python.bytecompile: 1
    sbindir           : bin
    wrap_mode         : nodownload

Found ninja-1.12.1 at /usr/bin/ninja

Generating targets:   0%|                                            | 0/1 eta ?
                                                                                

Writing build.ninja:   0%|                                          | 0/31 eta ?
                                                                                
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build
ninja: Entering directory `/build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build'

[0/1] Generating rutabaga_gfx_ffi_build with a custom command
[1/1] Generating rutabaga_gfx_ffi_build with a custom command
    Updating crates.io index
     Locking 85 packages to latest compatible versions
 Downloading crates ...
  Downloaded cfg-if v1.0.0
  Downloaded anyhow v1.0.98
  Downloaded log v0.4.27
  Downloaded thiserror-impl v1.0.69
  Downloaded unicode-ident v1.0.18
  Downloaded zerocopy-derive v0.8.25
  Downloaded serde_derive v1.0.219
  Downloaded serde v1.0.219
  Downloaded proc-macro2 v1.0.95
  Downloaded ryu v1.0.20
  Downloaded quote v1.0.40
  Downloaded syn v2.0.101
  Downloaded nix v0.29.0
  Downloaded zerocopy v0.8.25
  Downloaded bitflags v2.9.1
  Downloaded thiserror v1.0.69
  Downloaded pkg-config v0.3.32
  Downloaded libc v0.2.172
  Downloaded memoffset v0.9.1
  Downloaded remain v0.2.15
  Downloaded memchr v2.7.4
  Downloaded itoa v1.0.15
  Downloaded autocfg v1.4.0
  Downloaded cfg_aliases v0.2.1
  Downloaded serde_json v1.0.140
   Compiling proc-macro2 v1.0.95
   Compiling unicode-ident v1.0.18
   Compiling autocfg v1.4.0
   Compiling anyhow v1.0.98
   Compiling serde v1.0.219
   Compiling libc v0.2.172
   Compiling cfg_aliases v0.2.1
   Compiling thiserror v1.0.69
   Compiling nix v0.29.0
   Compiling zerocopy v0.8.25
   Compiling pkg-config v0.3.32
   Compiling serde_json v1.0.140
   Compiling bitflags v2.9.1
   Compiling ryu v1.0.20
   Compiling cfg-if v1.0.0
   Compiling memoffset v0.9.1
   Compiling memchr v2.7.4
   Compiling itoa v1.0.15
   Compiling rutabaga_gfx_ffi v0.1.6 (/build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi)
   Compiling log v0.4.27
   Compiling rutabaga_gfx v0.1.6 (/build/rutabaga-ffi/src/crosvm/rutabaga_gfx)
   Compiling quote v1.0.40
   Compiling syn v2.0.101
   Compiling serde_derive v1.0.219
   Compiling zerocopy-derive v0.8.25
   Compiling thiserror-impl v1.0.69
   Compiling remain v0.2.15
warning: field `render_server_fd` is never read
  --> /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/src/renderer_utils.rs:32:9
   |
31 | pub struct RutabagaCookie {
   |            -------------- field in this struct
32 |     pub render_server_fd: Option<OwnedDescriptor>,
   |         ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `rutabaga_gfx` (lib) generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
==> Entering fakeroot environment...
==> Starting package()...
Dropping privileges to 'root' before running ninja...
ninja: Entering directory `/build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build'
ninja: no work to do.
Installing librutabaga_gfx_ffi.so to /build/rutabaga-ffi/pkg/rutabaga-ffi/usr/lib
Warning: trying to copy a symlink that points to a file. This currently copies
the file by default, but will be changed in a future version of Meson to copy
the link instead.  Set follow_symlinks to true to preserve current behavior, or
false to copy the link.
Installing librutabaga_gfx_ffi.so.0 to /build/rutabaga-ffi/pkg/rutabaga-ffi/usr/lib
Warning: trying to copy a symlink that points to a file. This currently copies
the file by default, but will be changed in a future version of Meson to copy
the link instead.  Set follow_symlinks to true to preserve current behavior, or
false to copy the link.
Installing librutabaga_gfx_ffi.so.0.1.6 to /build/rutabaga-ffi/pkg/rutabaga-ffi/usr/lib
Installing /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/src/include/rutabaga_gfx_ffi.h to /build/rutabaga-ffi/pkg/rutabaga-ffi/usr/include/rutabaga_gfx
Installing /build/rutabaga-ffi/src/crosvm/rutabaga_gfx/ffi/build/meson-private/rutabaga_gfx_ffi.pc to /build/rutabaga-ffi/pkg/rutabaga-ffi/usr/lib/pkgconfig
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/librutabaga_gfx_ffi.so.0.1.6
==> Creating package "rutabaga-ffi"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rutabaga-ffi 0.1.6-2 (Tue May 20 23:00:08 2025)
==> Cleaning up...