+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/luanti-5.10.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/luanti-5.10.0/work.log
=> Checksum BLAKE2s OK for luanti-5.10.0.tar.gz
=> Checksum SHA512 OK for luanti-5.10.0.tar.gz
===> Installing dependencies for luanti-5.10.0
==========================================================================
The following variables will affect the build process of this package,
luanti-5.10.0.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency curl>=8.11.0nb2: found curl-8.11.0nb2
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency jsoncpp>=1.8.4nb1: found jsoncpp-1.9.6
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.0.4
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.47.1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libssh2>=0.18: found libssh2-1.11.1
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for luanti-5.10.0
===> Extracting for luanti-5.10.0
===> Patching for luanti-5.10.0
=> Applying pkgsrc patches for luanti-5.10.0
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-irr_src_CIrrDeviceLinux.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
|
|Use FreeBSD's support for NetBSD
|
|--- irr/src/CIrrDeviceLinux.cpp.orig	2024-11-12 15:24:41.476828138 +0000
|+++ irr/src/CIrrDeviceLinux.cpp
--------------------------
Patching file irr/src/CIrrDeviceLinux.cpp using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 54.
Hunk #3 succeeded at 1573.
Hunk #4 succeeded at 1596.
Hunk #5 succeeded at 1628.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-irr_src_os.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-irr_src_os.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-irr_src_os.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
|
|Add NetBSD's endian functions
|
|--- irr/src/os.cpp.orig	2024-08-12 14:23:31.809803900 +0000
|+++ irr/src/os.cpp
--------------------------
Patching file irr/src/os.cpp using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-src_util_string.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/luanti/patches/patch-src_util_string.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_util_string.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
|
|Support non-POSIX iconv on NetBSD before 10 and SunOS.
|
|--- src/util/string.cpp.orig	2024-08-11 15:54:55.000000000 +0000
|+++ src/util/string.cpp
--------------------------
Patching file src/util/string.cpp using Plan A...
Hunk #1 succeeded at 24 (offset -15 lines).
Hunk #2 succeeded at 69 (offset -15 lines).
done
===> Creating toolchain wrappers for luanti-5.10.0
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/games/luanti/work/.cwrapper/specs.pkgsrc
===> Configuring for luanti-5.10.0
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/luanti/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/games/luanti/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- *** Will build version 5.10.0 ***
-- BUILD_CLIENT: TRUE
-- BUILD_SERVER: TRUE
-- BUILD_UNITTESTS: TRUE
-- BUILD_BENCHMARKS: FALSE
-- BUILD_DOCUMENTATION: TRUE
-- RUN_IN_PLACE: FALSE
-- Using imported IrrlichtMt at subdirectory 'irr'
-- *** Building IrrlichtMt ***
-- Device: X11
-- OpenGL: ON
-- OpenGL 3: FALSE
-- OpenGL ES 2: OFF
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.3.1")
-- Found JPEG: /opt/local/lib/libjpeg.so (found version "80")
-- Found PNG: /opt/local/lib/libpng16.so (found version "1.6.44")
-- Found OpenGL: /opt/local/lib/libGL.so
-- Found X11: /opt/local/include
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/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
-- LTO/IPO was requested but is not supported by the compiler: Change Dir: '/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin'

Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /home/pbulk/build/games/luanti/work/.tools/bin/make -f Makefile
/opt/local/bin/cmake -S/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src -B/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin//CMakeFiles/progress.marks
/home/pbulk/build/games/luanti/work/.tools/bin/make  -f CMakeFiles/Makefile2 all
/home/pbulk/build/games/luanti/work/.tools/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
cd /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake
Dependee "/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake" is newer than depender "/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal".
Dependee "/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal".
Scanning dependencies of target foo
/home/pbulk/build/games/luanti/work/.tools/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
[ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o
/home/pbulk/build/games/luanti/work/.cwrapper/bin/g++   -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/libdrm -I/usr/include -DLDAP_DEPRECATED -flto=auto -fno-fat-lto-objects -o CMakeFiles/foo.dir/foo.cpp.o -c /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp
cc1plus: error: '-fno-fat-lto-objects' are supported only with linker plugin
*** Error code 1

Stop.
make[2]: stopped making "CMakeFiles/foo.dir/build" in /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin
*** Error code 1

Stop.
make[1]: stopped making "all" in /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin
*** Error code 1

Stop.
make: stopped making "default_target" in /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin


-- Using GMP provided by system.
-- Found GMP: /opt/local/lib/libgmp.so
-- Using JsonCpp provided by system.
-- Found Json: /opt/local/lib/libjsoncpp.so (Required is at least version "1.0.0")
-- LuaJIT detection disabled! (ENABLE_LUAJIT=0)
-- LuaJIT not found, using bundled Lua.
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Check size of int
-- Check size of int - done
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found CURL: /opt/local/lib/libcurl.so (Required is at least version "7.28.0")
-- cURL support enabled.
-- Found Intl: built in to C library
-- Found GettextLib: /home/pbulk/build/games/luanti/work/.tools/bin/msgfmt
-- GetText enabled; locales found: ar;be;bg;ca;cs;cy;da;de;dv;el;eo;es;es_US;et;eu;fa;fi;fil;fr;ga;gd;gl;he;hi;hu;ia;id;it;ja;jbo;jv;kk;kn;ko;kv;ky;lt;lv;lzh;mi;mn;mr;ms;ms_Arab;nb;nl;nn;oc;pl;pt;pt_BR;ro;ru;sk;sl;sr_Cyrl;sr_Latn;sv;sw;th;tok;tr;tt;uk;vi;yue;zh_CN;zh_TW
-- Found OpenAL: /opt/local/lib/libopenal.so
-- Found Vorbis: /opt/local/include
-- Sound enabled.
-- Found Freetype: /opt/local/lib/libfreetype.so (found version "2.13.3")
-- Found Curses: /usr/lib/64/libcurses.so
-- ncurses console enabled.
-- Found SQLite3: /opt/local/lib/libsqlite3.so
-- Prometheus client disabled.
-- Looking for ZSTD_initCStream
-- Looking for ZSTD_initCStream - found
-- Found Zstd: /opt/local/lib/libzstd.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test HAVE_LINK_ATOMIC
-- Performing Test HAVE_LINK_ATOMIC - Success
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for malloc_trim
-- Looking for malloc_trim - not found
-- Locale blacklist applied; Locales used: be;bg;ca;cs;cy;da;de;el;eo;es;es_US;et;eu;fa;fi;fil;fr;ga;gd;gl;hu;ia;id;it;ja;jbo;jv;kk;ko;kv;ky;lt;lv;lzh;mi;mn;mr;ms;nb;nl;nn;oc;pl;pt;pt_BR;ro;ru;sk;sl;sr_Cyrl;sr_Latn;sv;sw;tok;tr;tt;uk;vi;yue;zh_CN;zh_TW
-- Performing Test HAVE_ATCCALL
-- Performing Test HAVE_ATCCALL - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done (20.0s)
-- Generating done (0.6s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/games/luanti/work/minetest-5.10.0/cmake-pkgsrc-build