+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/twitch-tui-2.6.5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/twitch-tui-2.6.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for twitch-tui-2.6.5
   Compiling proc-macro2 v1.0.78
   Compiling unicode-ident v1.0.11
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.153
   Compiling quote v1.0.35
   Compiling syn v2.0.48
   Compiling autocfg v1.1.0
   Compiling once_cell v1.19.0
   Compiling serde v1.0.196
   Compiling log v0.4.20
   Compiling cc v1.0.82
   Compiling pin-project-lite v0.2.12
   Compiling num_cpus v1.16.0
   Compiling scopeguard v1.2.0
   Compiling futures-core v0.3.30
   Compiling futures-sink v0.3.30
   Compiling memchr v2.7.1
   Compiling pkg-config v0.3.27
   Compiling mio v0.8.9
   Compiling serde_derive v1.0.196
   Compiling bytes v1.4.0
   Compiling smallvec v1.11.0
   Compiling version_check v0.9.4
   Compiling ahash v0.8.3
   Compiling lock_api v0.4.10
   Compiling crossbeam-utils v0.8.16
   Compiling tokio-macros v2.2.0
   Compiling memoffset v0.9.0
   Compiling socket2 v0.5.5
   Compiling simd-adler32 v0.3.7
   Compiling vcpkg v0.2.15
   Compiling openssl-sys v0.9.96
   Compiling tokio v1.36.0
   Compiling bitflags v2.4.0
   Compiling tracing-core v0.1.31
   Compiling slab v0.4.8
   Compiling crossbeam-epoch v0.9.15
   Compiling itoa v1.0.9
   Compiling allocator-api2 v0.2.16
   Compiling hashbrown v0.14.0
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.5/target/release/build/openssl-sys-a18b9f0f5129053a/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_NETBSD_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_NETBSD_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_NETBSD_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_NETBSD_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_NETBSD_OPENSSL_DIR
  X86_64_UNKNOWN_NETBSD_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-netbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_netbsd
  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-netbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_netbsd
  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-netbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_netbsd
  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-netbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_netbsd
  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/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-netbsd
  $TARGET = x86_64-unknown-netbsd
  openssl-sys = 0.9.96


  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
*** Error code 101

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/chat/twitch-tui
*** Error code 1

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