=> Checksum BLAKE2s OK for premake-5.0.0-beta2-src.zip
=> Checksum SHA512 OK for premake-5.0.0-beta2-src.zip
===> Installing dependencies for premake5-5.0.0.b2nb8
==========================================================================
The following variables will affect the build process of this package,
premake5-5.0.0.b2nb8.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = editline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency lua53-socket-[0-9]*: found lua53-socket-3.0rc1nb5
=> Full dependency curl>=8.11.0nb2: found curl-8.12.1
=> Full dependency libzip>=1.11.2nb3: found libzip-1.11.3
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6
=> Full dependency mbedtls3>=3.4.0nb1: found mbedtls3-3.6.2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libssh2>=0.18: found libssh2-1.11.1
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency xz>=5.0.0: found xz-5.8.1
===> Overriding tools for premake5-5.0.0.b2nb8
===> Extracting for premake5-5.0.0.b2nb8
===> Patching for premake5-5.0.0.b2nb8
=> Applying pkgsrc patches for premake5-5.0.0.b2nb8
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/premake5/patches/patch-aa
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/premake5/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2023/05/08 22:37:31 nikita Exp $
|
|Remove the hardcoded -L/usr/lib and -L/usr/lib64
|This is not needed, and will cause issues:
|https://github.com/gentoo/gentoo/pull/25825#issuecomment-1179497476
|
|--- modules/d/tools/dmd.lua
|+++ modules/d/tools/dmd.lua
--------------------------
Patching file modules/d/tools/dmd.lua using Plan A...
Hunk #1 succeeded at 52.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- modules/d/tools/gdc.lua
|+++ modules/d/tools/gdc.lua
--------------------------
Patching file modules/d/tools/gdc.lua using Plan A...
Hunk #1 succeeded at 228.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- modules/d/tools/ldc.lua
|+++ modules/d/tools/ldc.lua
--------------------------
Patching file modules/d/tools/ldc.lua using Plan A...
Hunk #1 succeeded at 323.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- modules/gmake/tests/cpp/test_ldflags.lua
|+++ modules/gmake/tests/cpp/test_ldflags.lua
--------------------------
Patching file modules/gmake/tests/cpp/test_ldflags.lua using Plan A...
Hunk #1 succeeded at 55.
Hunk #2 succeeded at 64.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- modules/gmake2/tests/test_gmake2_ldflags.lua
|+++ modules/gmake2/tests/test_gmake2_ldflags.lua
--------------------------
Patching file modules/gmake2/tests/test_gmake2_ldflags.lua using Plan A...
Hunk #1 succeeded at 56.
Hunk #2 succeeded at 65.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- src/tools/gcc.lua
|+++ src/tools/gcc.lua
--------------------------
Patching file src/tools/gcc.lua using Plan A...
Hunk #1 succeeded at 477.
done
===> Creating toolchain wrappers for premake5-5.0.0.b2nb8
===> Configuring for premake5-5.0.0.b2nb8
/bin/mkdir -p -p /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/build/bootstrap
cd /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src &&  USETOOLS=no GOTMPDIR=/Users/pbulk/build DL_CFLAGS= DL_LDFLAGS= DL_LIBS= MACOSX_DEPLOYMENT_TARGET=12.3 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include/lua-5.3\ -I/opt/pkg/include/readline\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 CPPFLAGS=-I/opt/pkg/include/lua-5.3\ -I/opt/pkg/include/readline\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include/lua-5.3\ -I/opt/pkg/include/readline\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-lzip\ -L/opt/pkg/lib\ -lcurl\ -L/opt/pkg/lib\ -lmbedtls\ -L/opt/pkg/lib\ -lz\ -L/opt/pkg/lib\ -L/usr/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/devel/premake5/work/.cwrapper/bin:/Users/pbulk/build/devel/premake5/work/.buildlink/bin:/Users/pbulk/build/devel/premake5/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/devel/premake5/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/devel/premake5/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/devel/premake5/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/devel/premake5/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/devel/premake5/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/devel/premake5/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/devel/premake5/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/devel/premake5/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/devel/premake5/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/devel/premake5/work/.cwrapper/config clang -o build/bootstrap/premake_bootstrap  -DPREMAKE_NO_BUILTIN_SCRIPTS  -DLUA_USE_DLOPEN -DLUA_USE_POSIX  -Icontrib/lua/src  -Icontrib/luashim  -I/usr/include/uuid  -L/opt/pkg/lib  src/host/*.c /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lapi.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lbaselib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lbitlib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lcode.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lcorolib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lctype.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ldblib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ldebug.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ldo.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ldump.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lfunc.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lgc.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/linit.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/liolib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/llex.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lmathlib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lmem.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/loadlib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lobject.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lopcodes.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/loslib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lparser.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lstate.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lstring.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lstrlib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ltable.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ltablib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/ltm.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lundump.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lutf8lib.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lvm.c  /Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lzio.c  -lm -ldl -lrt -luuid  -lzip -L/opt/pkg/lib -lcurl -L/opt/pkg/lib -lmbedtls -L/opt/pkg/lib -lz -L/opt/pkg/lib  -L/usr/lib  -pipe -Os -I/opt/pkg/include/lua-5.3 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2
/Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lundump.c:237:33: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
  checkliteral(S, LUA_SIGNATURE + 1, "not a");  /* 1st char already checked */
                  ~~~~~~~~~~~~~~^~~
/Users/pbulk/build/devel/premake5/work/premake-5.0.0-beta2-src/contrib/lua/src/lundump.c:237:33: note: use array indexing to silence this warning
  checkliteral(S, LUA_SIGNATURE + 1, "not a");  /* 1st char already checked */
                                ^
                  &             [  ]
1 warning generated.
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/premake5
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/premake5