+ 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/twitch-tui-2.6.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/twitch-tui-2.6.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for twitch-tui-2.6.2
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling quote v1.0.32
   Compiling syn v2.0.28
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.149
   Compiling autocfg v1.1.0
   Compiling once_cell v1.19.0
   Compiling serde v1.0.192
   Compiling serde_derive v1.0.192
   Compiling pin-project-lite v0.2.12
   Compiling log v0.4.20
   Compiling futures-core v0.3.28
   Compiling num_cpus v1.16.0
   Compiling scopeguard v1.2.0
   Compiling cc v1.0.82
   Compiling futures-sink v0.3.28
   Compiling memchr v2.6.4
   Compiling mio v0.8.9
   Compiling bytes v1.4.0
   Compiling bitflags v2.4.0
   Compiling smallvec v1.11.0
   Compiling lock_api v0.4.10
   Compiling socket2 v0.5.5
   Compiling tokio-macros v2.2.0
   Compiling crossbeam-utils v0.8.16
   Compiling vcpkg v0.2.15
   Compiling pkg-config v0.3.27
   Compiling openssl-sys v0.9.96
   Compiling tokio v1.35.0
   Compiling tracing-core v0.1.31
   Compiling slab v0.4.8
   Compiling memoffset v0.9.0
   Compiling simd-adler32 v0.3.7
   Compiling futures-task v0.3.28
   Compiling futures-channel v0.3.28
error: failed to run custom build command for `openssl-sys v0.9.96`

Caused by:
  process didn't exit successfully: `/home/pbulk/build/chat/twitch-tui/work/twitch-tui-2.6.2/target/release/build/openssl-sys-343b40c8f17d3190/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_ILLUMOS_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_ILLUMOS_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_ILLUMOS_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_ILLUMOS_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_ILLUMOS_OPENSSL_DIR
  X86_64_UNKNOWN_ILLUMOS_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_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=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_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
  run pkg_config fail: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_LIBDIR="/home/pbulk/build/chat/twitch-tui/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/chat/twitch-tui/work/.buildlink/lib/pkgconfig:/home/pbulk/build/chat/twitch-tui/work/.buildlink/share/pkgconfig" PKG_CONFIG_PATH="" "/home/pbulk/build/chat/twitch-tui/work/.tools/bin/pkg-config" "--libs" "--cflags" "openssl"` did not exit successfully: exit status: 1
  error: could not find system library 'openssl' required by the 'openssl-sys' crate


  --- stderr
  thread 'main' panicked at /home/pbulk/build/chat/twitch-tui/work/vendor/openssl-sys-0.9.96/build/find_normal.rs:190:5:


  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-illumos
  $TARGET = x86_64-unknown-illumos
  openssl-sys = 0.9.96


  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/chat/twitch-tui
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/twitch-tui