+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/four-bar-rs-6.1.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/four-bar-rs-6.1.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for four-bar-rs-6.1.0
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.70
   Compiling unicode-ident v1.0.12
   Compiling quote v1.0.33
   Compiling cfg-if v1.0.0
   Compiling syn v2.0.39
   Compiling libc v0.2.150
   Compiling libm v0.2.8
   Compiling num-traits v0.2.17
   Compiling thiserror v1.0.50
   Compiling bitflags v1.3.2
   Compiling thiserror-impl v1.0.50
   Compiling scopeguard v1.2.0
   Compiling pkg-config v0.3.27
   Compiling serde v1.0.193
   Compiling serde_derive v1.0.193
   Compiling once_cell v1.18.0
   Compiling smallvec v1.11.2
   Compiling version_check v0.9.4
   Compiling bytemuck_derive v1.5.0
   Compiling num-integer v0.1.45
   Compiling bytemuck v1.14.0
   Compiling memoffset v0.6.5
   Compiling log v0.4.20
   Compiling memchr v2.6.4
   Compiling xml-rs v0.8.19
   Compiling wayland-scanner v0.29.5
   Compiling wayland-sys v0.29.5
   Compiling libloading v0.8.1
   Compiling num-bigint v0.4.4
   Compiling cfg_aliases v0.1.1
   Compiling dlib v0.5.2
error: failed to run custom build command for `wayland-sys v0.29.5`

Caused by:
  process didn't exit successfully: `/home/pbulk/build/math/four-bar-rs/work/four-bar-rs-6.1.0/target/release/build/wayland-sys-e306587abd3ae10a/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=WAYLAND_CLIENT_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-illumos
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_illumos
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=WAYLAND_CLIENT_STATIC
  cargo:rerun-if-env-changed=WAYLAND_CLIENT_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-illumos
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_illumos
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-illumos
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_illumos
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-illumos
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_illumos
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at /home/pbulk/build/math/four-bar-rs/work/vendor/wayland-sys-0.29.5/build.rs:10:47:
  called `Result::unwrap()` on an `Err` value: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" PKG_CONFIG_LIBDIR="/home/pbulk/build/math/four-bar-rs/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/math/four-bar-rs/work/.buildlink/lib/pkgconfig:/home/pbulk/build/math/four-bar-rs/work/.buildlink/share/pkgconfig" PKG_CONFIG_PATH="" "/home/pbulk/build/math/four-bar-rs/work/.tools/bin/pkg-config" "--libs" "--cflags" "wayland-client"` did not exit successfully: exit status: 1
  error: could not find system library 'wayland-client' required by the 'wayland-sys' crate

  --- stderr
  Package wayland-client was not found in the pkg-config search path.
  Perhaps you should add the directory containing `wayland-client.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'wayland-client', required by 'virtual:world', not found

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
*** Error code 101

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/four-bar-rs
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/four-bar-rs