+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dynamips-0.2.23/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dynamips-0.2.23/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for dynamips-0.2.23.tar.gz
=> Checksum SHA512 OK for dynamips-0.2.23.tar.gz
===> Installing dependencies for dynamips-0.2.23
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libelf>=0.8.5: found libelf-0.8.13nb1
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.5
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
===> Overriding tools for dynamips-0.2.23
===> Extracting for dynamips-0.2.23
===> Patching for dynamips-0.2.23
===> Creating toolchain wrappers for dynamips-0.2.23
===> Configuring for dynamips-0.2.23
=> Fix libelf header file path
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at CMakeLists.txt:11 (cmake_policy):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- CMAKE_MODULE_PATH=/home/pbulk/build/emulators/dynamips/work/.buildlink/cmake-Modules;/home/pbulk/build/emulators/dynamips/work/dynamips-0.2.23/cmake
-- The C compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/emulators/dynamips/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- dependencies - BEGIN
-- Performing Test ARCH_AMD64
-- Performing Test ARCH_AMD64 - Success
-- Performing Test ARCH_X86
-- Performing Test ARCH_X86 - Failed
-- ARCH_AMD64=1
-- ARCH_X86=
-- DYNAMIPS_ARCH=amd64
-- Performing Test FLAG__MDYNAMIC_NO_PIC
-- Performing Test FLAG__MDYNAMIC_NO_PIC - Failed
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- USE_LIBRT=1
-- Looking for connect in socket
-- Looking for connect in socket - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
CMake Error at /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find LibElf (missing: LIBELF_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindLibElf.cmake:52 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/dependencies.cmake:137 (find_package)
  CMakeLists.txt:32 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dynamips
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dynamips