+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/allegro-4.4.3.1nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/allegro-4.4.3.1nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for allegro-4.4.3.1.tar.gz
=> Checksum SHA512 OK for allegro-4.4.3.1.tar.gz
===> Installing dependencies for allegro-4.4.3.1nb5
==========================================================================
The supported build options for allegro are:

	alsa jack

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.allegro (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.0.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency glu>=7.11.2: found glu-9.0.2
=> Full dependency libX11>=1.1: found libX11-1.8.3
=> Full dependency libXext>=0.99.0: found libXext-1.3.5
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.14
=> Full dependency libXxf86dga>=1.0.1: found libXxf86dga-1.1.6
===> Overriding tools for allegro-4.4.3.1nb5
===> Extracting for allegro-4.4.3.1nb5
===> Patching for allegro-4.4.3.1nb5
=> Applying pkgsrc patches for allegro-4.4.3.1nb5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2012/02/20 15:40:55 reinoud Exp $
|
|--- CMakeLists.txt.orig	2011-03-24 23:18:50.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 429 (offset -5 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-docs_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-docs_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-docs_CMakeLists.txt,v 1.1 2012/02/20 15:40:55 reinoud Exp $
|
|--- docs/CMakeLists.txt.orig	2009-10-30 23:05:30.000000000 +0000
|+++ docs/CMakeLists.txt
--------------------------
Patching file docs/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 8.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-xdga2-include
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/allegro/patches/patch-xdga2-include
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xdga2-include,v 1.1 2012/02/20 15:40:55 reinoud Exp $
|
|--- src/x/xdga2.c.orig	2007-03-24 15:02:01.000000000 +0000
|+++ src/x/xdga2.c
--------------------------
Patching file src/x/xdga2.c using Plan A...
Hunk #1 succeeded at 23.
done
===> Creating toolchain wrappers for allegro-4.4.3.1nb5
===> Configuring for allegro-4.4.3.1nb5
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] misc/utod.sh:12:       tmpfile=`dirname "$file"`/__dtou_tmp.$RANDOM || exit 1

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] misc/dtou.sh:12:       tmpfile=`dirname "$file"`/__dtou_tmp.$RANDOM || exit 1

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

CMake Deprecation Warning at CMakeLists.txt:25 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.25/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.25/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/devel/allegro/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.25/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake:45 (include)
  CMakeLists.txt:46 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/allegro/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/devel/allegro/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/devel/allegro/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file linux/awe_voice.h
-- Looking for include file linux/awe_voice.h - not found
-- Looking for include file linux/input.h
-- Looking for include file linux/input.h - not found
-- Looking for include files sys/types.h, linux/joystick.h
-- Looking for include files sys/types.h, linux/joystick.h - not found
-- Looking for include file linux/soundcard.h
-- Looking for include file linux/soundcard.h - not found
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file sys/io.h
-- Looking for include file sys/io.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for getexecname
-- Looking for getexecname - found
-- Looking for memcmp
-- Looking for memcmp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strlwr
-- Looking for strlwr - not found
-- Looking for strupr
-- Looking for strupr - not found
-- Looking for sysconf
-- Looking for sysconf - found
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Success
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Success
-- Performing Test MAP_FAILED_DEFINED
-- Performing Test MAP_FAILED_DEFINED - Success
-- Performing Test ALLEGRO_USE_CONSTRUCTOR
-- Performing Test ALLEGRO_USE_CONSTRUCTOR - Success
-- Performing Test ALLEGRO_HAVE_POSIX_MONOTONIC_CLOCK
-- Performing Test ALLEGRO_HAVE_POSIX_MONOTONIC_CLOCK - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test OSS_COMPILES
-- Performing Test OSS_COMPILES - Success
-- Found OSS: 1  
-- Looking for alOpenPort in audio
-- Looking for alOpenPort in audio - not found
-- Found X11: /home/pbulk/build/devel/allegro/work/.buildlink/include   
-- Looking for XOpenDisplay in /home/pbulk/build/devel/allegro/work/.buildlink/lib/libX11.so;/home/pbulk/build/devel/allegro/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /home/pbulk/build/devel/allegro/work/.buildlink/lib/libX11.so;/home/pbulk/build/devel/allegro/work/.buildlink/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for XOpenIM in X11
-- Looking for XOpenIM in X11 - found
-- Looking for XDGAQueryExtension in Xxf86dga
-- Looking for XDGAQueryExtension in Xxf86dga - found
-- Found OpenGL: /home/pbulk/build/devel/allegro/work/.buildlink/lib/libGL.so   
-- Looking for glXGetProcAddress
-- Looking for glXGetProcAddress - found
-- Found ZLIB: /home/pbulk/build/devel/allegro/work/.buildlink/lib/libz.so (found version "1.2.13") 
-- Found PNG: /home/pbulk/build/devel/allegro/work/.buildlink/lib/libpng16.so (found version "1.6.39") 
CMake Warning (dev) at /opt/pkg/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (VORBIS)
  does not match the name of the calling package (Vorbis).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindVorbis.cmake:21 (find_package_handle_standard_args)
  addons/logg/CMakeLists.txt:6 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found VORBIS: /home/pbulk/build/devel/allegro/work/.buildlink/include  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/devel/allegro/work/allegro-4.4.3.1
=> Rewrite cmake Dependencies files