[package - 133i386-default][misc/koboldcpp] Failed for koboldcpp-1.73.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 16:34:18 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/133i386-default/59e63aec278e/logs/koboldcpp-1.73.1.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=133i386-default&build=59e63aec278e
Log:

=>> Building misc/koboldcpp
build started at Sun Sep  1 16:28:31 UTC 2024
port directory: /usr/ports/misc/koboldcpp
package name: koboldcpp-1.73.1
building for: FreeBSD 133i386-default-job-11 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1405 Aug 24 01:02 /usr/ports/misc/koboldcpp/Makefile
Ports top last git commit: 59e63aec278
Ports top unclean checkout: no
Port dir last git commit: dde7e837a7a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1303001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.3-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.3-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/133i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/133i386-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work/.cache  HOME=/wrkdirs/usr/ports/misc/koboldcpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/koboldcpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/koboldcpp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work/.cache  HOME=/wrkdirs/usr/ports/misc/koboldcpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/koboldcpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/koboldcpp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -
m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/koboldcpp"  EXAMPLESDIR="share/examples/koboldcpp"  DATADIR="share/koboldcpp"  WWWDIR="www/koboldcpp"  ETCDIR="etc/koboldcpp"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/koboldcpp DOCSDIR=/usr/local/share/doc/koboldcpp EXAMPLESDIR=/usr/local/share/examples/koboldcpp  WWWDIR=/usr/local/www/koboldcpp ETCDIR=/usr/local/etc/koboldcpp
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   koboldcpp-1.73.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-default-job-11] Installing pkg-1.21.3...
[133i386-default-job-11] Extracting pkg-1.21.3: .......... done
===>   koboldcpp-1.73.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of koboldcpp-1.73.1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by koboldcpp-1.73.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by koboldcpp-1.73.1 for building
=> SHA256 Checksum OK for LostRuins-koboldcpp-v1.73.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by koboldcpp-1.73.1 for building
===>  Extracting for koboldcpp-1.73.1
=> SHA256 Checksum OK for LostRuins-koboldcpp-v1.73.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for koboldcpp-1.73.1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   koboldcpp-1.73.1 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[133i386-default-job-11] Installing gmake-4.4.1...
[133i386-default-job-11] `-- Installing gettext-runtime-0.22.5...
[133i386-default-job-11] |   `-- Installing indexinfo-0.3.1...
[133i386-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[133i386-default-job-11] `-- Extracting gettext-runtime-0.22.5: .......... done
[133i386-default-job-11] Extracting gmake-4.4.1: .......... done
===>   koboldcpp-1.73.1 depends on package: gmake>=4.4.1 - found
===>   Returning to build of koboldcpp-1.73.1
===>   koboldcpp-1.73.1 depends on file: /usr/local/bin/python3.11 - not found
===>   Installing existing package /packages/All/python311-3.11.9_1.pkg
[133i386-default-job-11] Installing python311-3.11.9_1...
[133i386-default-job-11] `-- Installing libffi-3.4.6...
[133i386-default-job-11] `-- Extracting libffi-3.4.6: .......... done
[133i386-default-job-11] `-- Installing mpdecimal-4.0.0...
[133i386-default-job-11] `-- Extracting mpdecimal-4.0.0: .......... done
[133i386-default-job-11] `-- Installing readline-8.2.10...
[133i386-default-job-11] `-- Extracting readline-8.2.10: .......... done
[133i386-default-job-11] Extracting python311-3.11.9_1: .......... done
=====
Message from python311-3.11.9_1:
<snip>
gpttype_adapter.cpp:1549:90: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
 1549 |             printf("\nRWKV old Init: State Buffer:%lu, Logit Buffer:%lu\n", statebufsiz, logitbufsiz);
      |                                                                     ~~~                  ^~~~~~~~~~~
      |                                                                     %u
gpttype_adapter.cpp:1575:73: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
 1575 |             printf("\nRWKV Init: State Buffer:%lu, Logit Buffer:%lu\n", statebufsiz, logitbufsiz);
      |                                               ~~~                       ^~~~~~~~~~~
      |                                               %u
gpttype_adapter.cpp:1575:86: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
 1575 |             printf("\nRWKV Init: State Buffer:%lu, Logit Buffer:%lu\n", statebufsiz, logitbufsiz);
      |                                                                 ~~~                  ^~~~~~~~~~~
      |                                                                 %u
c++ -I. -Iggml/include -Iggml/src -Iinclude -Isrc -I./common -I./include -I./include/CL -I./otherarch -I./otherarch/tools -I./otherarch/sdcpp -I./otherarch/sdcpp/thirdparty -I./include/vulkan -O3 -fno-finite-math-only -std=c++11 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_LLAMAFILE -DNDEBUG -s -pthread -Wno-multichar -Wno-write-strings -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-variable -pthread -DGGML_USE_VULKAN -DSD_USE_VULKAN -c ggml/src/ggml-vulkan.cpp -o ggml-vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
16 warnings generated.
c++ -I. -Iggml/include -Iggml/src -Iinclude -Isrc -I./common -I./include -I./include/CL -I./otherarch -I./otherarch/tools -I./otherarch/sdcpp -I./otherarch/sdcpp/thirdparty -I./include/vulkan -O3 -fno-finite-math-only -std=c++11 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_LLAMAFILE -DNDEBUG -s -pthread -Wno-multichar -Wno-write-strings -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-variable -pthread -DGGML_USE_VULKAN -DSD_USE_VULKAN -c otherarch/sdcpp/sdtype_adapter.cpp -o sdcpp_vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
ggml/src/ggml-vulkan.cpp:2622:5: error: no matching function for call to 'vkCmdCopyBuffer'
 2622 |     vkCmdCopyBuffer(subctx->s->buffer, staging->buffer, dst->buffer, 1, &buf_copy);
      |     ^~~~~~~~~~~~~~~
./include/vulkan/vulkan/vulkan_core.h:4598:28: note: candidate function not viable: no known conversion from 'vk::Buffer' to 'VkBuffer' (aka 'unsigned long long') for 2nd argument
 4598 | VKAPI_ATTR void VKAPI_CALL vkCmdCopyBuffer(
      |                            ^
 4599 |     VkCommandBuffer                             commandBuffer,
 4600 |     VkBuffer                                    srcBuffer,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml/src/ggml-vulkan.cpp:2697:5: error: no matching function for call to 'vkCmdCopyBuffer'
 2697 |     vkCmdCopyBuffer(subctx->s->buffer, staging_buffer->buffer, dst->buffer, 1, &buf_copy);
      |     ^~~~~~~~~~~~~~~
./include/vulkan/vulkan/vulkan_core.h:4598:28: note: candidate function not viable: no known conversion from 'vk::Buffer' to 'VkBuffer' (aka 'unsigned long long') for 2nd argument
 4598 | VKAPI_ATTR void VKAPI_CALL vkCmdCopyBuffer(
      |                            ^
 4599 |     VkCommandBuffer                             commandBuffer,
 4600 |     VkBuffer                                    srcBuffer,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml/src/ggml-vulkan.cpp:2829:5: error: no matching function for call to 'vkCmdCopyBuffer'
 2829 |     vkCmdCopyBuffer(ctx->s->buffer, src->buffer, dst->buffer, 1, &bc);
      |     ^~~~~~~~~~~~~~~
./include/vulkan/vulkan/vulkan_core.h:4598:28: note: candidate function not viable: no known conversion from 'vk::Buffer' to 'VkBuffer' (aka 'unsigned long long') for 2nd argument
 4598 | VKAPI_ATTR void VKAPI_CALL vkCmdCopyBuffer(
      |                            ^
 4599 |     VkCommandBuffer                             commandBuffer,
 4600 |     VkBuffer                                    srcBuffer,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml/src/ggml-vulkan.cpp:6710:61: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
 6710 |         snprintf(name, sizeof(name), "%s%ld", GGML_VK_NAME, i);
      |                                         ~~~                 ^
      |                                         %zu
In file included from otherarch/sdcpp/sdtype_adapter.cpp:15:
In file included from otherarch/sdcpp/stable-diffusion.cpp:1:
otherarch/sdcpp/ggml_extend.hpp:88:43: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
   88 |     printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
      |                   ~~~                     ^~~~~~~~~~~~~
      |                   %lld
otherarch/sdcpp/ggml_extend.hpp:88:58: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
   88 |     printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
      |                        ~~~                               ^~~~~~~~~~~~~
      |                        %lld
otherarch/sdcpp/ggml_extend.hpp:88:73: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
   88 |     printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
      |                             ~~~                                         ^~~~~~~~~~~~~
      |                             %lld
otherarch/sdcpp/ggml_extend.hpp:88:88: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
   88 |     printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
      |                                  ~~~                                                   ^~~~~~~~~~~~~
      |                                  %lld
1 warning and 3 errors generated.
gmake: *** [Makefile:530: ggml-vulkan.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from otherarch/sdcpp/sdtype_adapter.cpp:15:
In file included from otherarch/sdcpp/stable-diffusion.cpp:14:
otherarch/sdcpp/tae.hpp:194:17: warning: field 'decode_only' is uninitialized when used here [-Wuninitialized]
  194 |           taesd(decode_only),
      |                 ^
In file included from otherarch/sdcpp/sdtype_adapter.cpp:19:
In file included from ./otherarch/sdcpp/thirdparty/zip.c:39:
./otherarch/sdcpp/thirdparty/miniz.h:4988:9: warning: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files. [-W#pragma-messages]
 4988 | #pragma message(                                                               \
      |         ^
In file included from otherarch/sdcpp/sdtype_adapter.cpp:34:
./otherarch/sdcpp/thirdparty/stb_image_resize.h:760:31: warning: expression result unused [-Wunused-value]
  760 |     STBIR__DEBUG_ASSERT(scale <= 1);
      |                         ~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:778:31: warning: expression result unused [-Wunused-value]
  778 |     STBIR__DEBUG_ASSERT(scale <= 1);
      |                         ~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1041:56: warning: expression result unused [-Wunused-value]
 1041 |     STBIR__DEBUG_ASSERT(in_last_pixel - in_first_pixel <= (int)ceil(stbir__filter_info_table[filter].support(1/scale) * 2)); // Taken directly from stbir__get_coefficient_width() which we can't call because we don't know if we're horizontal or vertical.
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1046:41: warning: expression result unused [-Wunused-value]
 1046 |     STBIR__DEBUG_ASSERT(contributor->n1 >= contributor->n0);
      |                         ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1064:128: warning: expression result unused [-Wunused-value]
 1064 |     STBIR__DEBUG_ASSERT(stbir__filter_info_table[filter].kernel((float)(in_last_pixel + 1) + 0.5f - in_center_of_out, 1/scale) == 0);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1066:38: warning: expression result unused [-Wunused-value]
 1066 |     STBIR__DEBUG_ASSERT(total_filter > 0.9);
      |                         ~~~~~~~~~~~~ ^ ~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1067:38: warning: expression result unused [-Wunused-value]
 1067 |     STBIR__DEBUG_ASSERT(total_filter < 1.1f); // Make sure it's not way off.
      |                         ~~~~~~~~~~~~ ^ ~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1089:59: warning: expression result unused [-Wunused-value]
 1089 |      STBIR__DEBUG_ASSERT(out_last_pixel - out_first_pixel <= (int)ceil(stbir__filter_info_table[filter].support(scale_ratio) * 2)); // Taken directly from stbir__get_coefficient_width() which we can't call because we don't know if we're horizontal or vertical.
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1094:41: warning: expression result unused [-Wunused-value]
 1094 |     STBIR__DEBUG_ASSERT(contributor->n1 >= contributor->n0);
      |                         ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1103:133: warning: expression result unused [-Wunused-value]
 1103 |     STBIR__DEBUG_ASSERT(stbir__filter_info_table[filter].kernel((float)(out_last_pixel + 1) + 0.5f - out_center_of_in, scale_ratio) == 0);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1138:35: warning: expression result unused [-Wunused-value]
 1138 |         STBIR__DEBUG_ASSERT(total > 0.9f);
      |                             ~~~~~ ^ ~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1139:35: warning: expression result unused [-Wunused-value]
 1139 |         STBIR__DEBUG_ASSERT(total < 1.1f);
      |                             ~~~~~ ^ ~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1427:47: warning: expression result unused [-Wunused-value]
 1427 |         STBIR__DEBUG_ASSERT(ring_buffer_index != stbir_info->ring_buffer_begin_index);
      |                             ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1459:32: warning: expression result unused [-Wunused-value]
 1459 |         STBIR__DEBUG_ASSERT(n1 >= n0);
      |                             ~~ ^  ~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1460:32: warning: expression result unused [-Wunused-value]
 1460 |         STBIR__DEBUG_ASSERT(n0 >= -stbir_info->horizontal_filter_pixel_margin);
      |                             ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1461:32: warning: expression result unused [-Wunused-value]
 1461 |         STBIR__DEBUG_ASSERT(n1 >= -stbir_info->horizontal_filter_pixel_margin);
      |                             ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1462:32: warning: expression result unused [-Wunused-value]
 1462 |         STBIR__DEBUG_ASSERT(n0 < stbir_info->input_w + stbir_info->horizontal_filter_pixel_margin);
      |                             ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1463:32: warning: expression result unused [-Wunused-value]
 1463 |         STBIR__DEBUG_ASSERT(n1 < stbir_info->input_w + stbir_info->horizontal_filter_pixel_margin);
      |                             ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1471:53: warning: expression result unused [-Wunused-value]
 1471 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1480:53: warning: expression result unused [-Wunused-value]
 1480 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1490:53: warning: expression result unused [-Wunused-value]
 1490 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1501:53: warning: expression result unused [-Wunused-value]
 1501 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1514:53: warning: expression result unused [-Wunused-value]
 1514 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1537:25: warning: expression result unused [-Wunused-value]
 1537 |     STBIR__DEBUG_ASSERT(!stbir__use_width_upsampling(stbir_info));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1555:53: warning: expression result unused [-Wunused-value]
 1555 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1576:53: warning: expression result unused [-Wunused-value]
 1576 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1598:53: warning: expression result unused [-Wunused-value]
 1598 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1621:53: warning: expression result unused [-Wunused-value]
 1621 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:1646:53: warning: expression result unused [-Wunused-value]
 1646 |                     STBIR__DEBUG_ASSERT(coefficient != 0);
      |                                         ~~~~~~~~~~~ ^  ~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2005:25: warning: expression result unused [-Wunused-value]
 2005 |     STBIR__DEBUG_ASSERT(!stbir__use_height_upsampling(stbir_info));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2079:66: warning: expression result unused [-Wunused-value]
 2079 |         STBIR__DEBUG_ASSERT(in_last_scanline - in_first_scanline <= stbir_info->vertical_filter_pixel_width);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2171:25: warning: expression result unused [-Wunused-value]
 2171 |     STBIR__DEBUG_ASSERT(!stbir__use_height_upsampling(stbir_info));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2180:68: warning: expression result unused [-Wunused-value]
 2180 |         STBIR__DEBUG_ASSERT(out_last_scanline - out_first_scanline <= stbir_info->vertical_filter_pixel_width);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2382:92: warning: expression result unused [-Wunused-value]
 2382 |         STBIR__DEBUG_ASSERT((size_t)STBIR__NEXT_MEMPTR(info->encode_buffer, unsigned char) == (size_t)tempmem + tempmem_size_in_bytes);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./otherarch/sdcpp/thirdparty/stb_image_resize.h:2390:90: warning: expression result unused [-Wunused-value]
 2390 |         STBIR__DEBUG_ASSERT((size_t)STBIR__NEXT_MEMPTR(info->ring_buffer, unsigned char) == (size_t)tempmem + tempmem_size_in_bytes);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
otherarch/sdcpp/sdtype_adapter.cpp:267:73: warning: result of comparison of constant 244 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
  267 |         if (static_cast<unsigned char>(ch) <= 0x7F || (ch >= 0xC2 && ch <= 0xF4)) {
      |                                                                      ~~ ^  ~~~~
otherarch/sdcpp/sdtype_adapter.cpp:267:59: warning: result of comparison of constant 194 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
  267 |         if (static_cast<unsigned char>(ch) <= 0x7F || (ch >= 0xC2 && ch <= 0xF4)) {
      |                                                        ~~ ^  ~~~~
43 warnings generated.
16 warnings generated.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/koboldcpp