[package - 134amd64-default][misc/koboldcpp] Failed for koboldcpp-1.89 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Apr 2025 00:41:40 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/beefy16/data/134amd64-default/dc1d367f2961/logs/koboldcpp-1.89.log
Build URL: https://pkg-status.freebsd.org/beefy16/build.html?mastername=134amd64-default&build=dc1d367f2961
Log:
=>> Building misc/koboldcpp
build started at Wed Apr 30 00:33:42 UTC 2025
port directory: /usr/ports/misc/koboldcpp
package name: koboldcpp-1.89
building for: FreeBSD 134amd64-default-job-13 13.4-RELEASE-p5 FreeBSD 13.4-RELEASE-p5 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 2247 Apr 24 01:02 /usr/ports/misc/koboldcpp/Makefile
Ports top last git commit: dc1d367f296
Ports top unclean checkout: no
Port dir last git commit: 66059e84cc2
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-11-gfa886a3d
Host OSVERSION: 1500035
Jail OSVERSION: 1304000
Job Id: 13
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1304000
UNAME_v=FreeBSD 13.4-RELEASE-p5
UNAME_r=13.4-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-11-gfa886a3d
MASTERMNT=/usr/local/poudriere/data/.m/134amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/134amd64-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-11-gfa886a3d
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=default
MAKE_ARGS= FLAVOR=default
---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=/usr/local/bin/gmake PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.cache HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.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-default XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.cache HOME=/wrkdirs/usr/ports/misc/koboldcpp/work-default TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/koboldcpp/work-default/.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="koboldcpp_default.so koboldcpp_vulkan.so" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/includ
e -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.4 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
#### ####
# 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) 33554432
stack size (kbytes, -s) 524288
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.89 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-2.1.2.pkg
[134amd64-default-job-13] Installing pkg-2.1.2...
[134amd64-default-job-13] Extracting pkg-2.1.2: .......... done
===> koboldcpp-1.89 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of koboldcpp-1.89
===========================================================================
=======================<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.89 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.89 for building
=> SHA256 Checksum OK for LostRuins-koboldcpp-v1.89_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.89 for building
===> Extracting for koboldcpp-1.89
=> SHA256 Checksum OK for LostRuins-koboldcpp-v1.89_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.89
===> Applying FreeBSD patches for koboldcpp-1.89 from /usr/ports/misc/koboldcpp/files
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> koboldcpp-1.89 depends on executable: glslc - not found
===> Installing existing package /packages/All/shaderc-2025.2.pkg
[134amd64-default-job-13] Installing shaderc-2025.2...
[134amd64-default-job-13] Extracting shaderc-2025.2: .......... done
===> koboldcpp-1.89 depends on executable: glslc - found
===> Returning to build of koboldcpp-1.89
===> koboldcpp-1.89 depends on package: gmake>=4.4.1 - not found
===> Installing existing package /packages/All/gmake-4.4.1.pkg
[134amd64-default-job-13] Installing gmake-4.4.1...
[134amd64-default-job-13] `-- Installing gettext-runtime-0.23.1...
[134amd64-default-job-13] | `-- Installing indexinfo-0.3.1_1...
[134amd64-default-job-13] | `-- Extracting indexinfo-0.3.1_1: .... done
[134amd64-default-job-13] `-- Extracting gettext-runtime-0.23.1: .......... done
[134amd64-default-job-13] Extracting gmake-4.4.1: .......... done
===> koboldcpp-1.89 depends on package: gmake>=4.4.1 - found
===> Returning to build of koboldcpp-1.89
===> koboldcpp-1.89 depends on file: /usr/local/bin/python3.11 - not found
===> Installing existing package /packages/All/python311-3.11.12.pkg
[134amd64-default-job-13] Installing python311-3.11.12...
[134amd64-default-job-13] `-- Installing libffi-3.4.8...
[134amd64-default-job-13] `-- Extracting libffi-3.4.8: .......... done
[134amd64-default-job-13] `-- Installing mpdecimal-4.0.0...
[134amd64-default-job-13] `-- Extracting mpdecimal-4.0.0: .......... done
[134amd64-default-job-13] `-- Installing readline-8.2.13_2...
[134amd64-default-job-13] `-- Extracting readline-8.2.13_2: .......... done
[134amd64-default-job-13] Extracting python311-3.11.12: .......... done
<snip>
string_to_spv: rwkv_wkv7_f32
string_to_spv: opt_step_adamw_f32
Vulkan Shaders Rebuilt for Linux...
gmake[1]: Leaving directory '/wrkdirs/usr/ports/misc/koboldcpp/work-default/koboldcpp-1.89'
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -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]
In file included from otherarch/sdcpp/sdtype_adapter.cpp:17:
otherarch/sdcpp/stable-diffusion.cpp:316:65: warning: comparison of different enumeration types ('ggml_type' and 'sd_type_t') [-Wenum-compare]
316 | LOG_INFO("Weight type: %s", model_wtype != SD_TYPE_COUNT ? ggml_type_name(model_wtype) : "??");
| ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
otherarch/sdcpp/util.h:60:36: note: expanded from macro 'LOG_INFO'
60 | #define LOG_INFO(...) log_message(__VA_ARGS__)
| ^~~~~~~~~~~
In file included from otherarch/sdcpp/sdtype_adapter.cpp:17:
otherarch/sdcpp/stable-diffusion.cpp:317:71: warning: comparison of different enumeration types ('ggml_type' and 'sd_type_t') [-Wenum-compare]
317 | LOG_INFO("Conditioner weight type: %s", conditioner_wtype != SD_TYPE_COUNT ? ggml_type_name(conditioner_wtype) : "??");
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
otherarch/sdcpp/util.h:60:36: note: expanded from macro 'LOG_INFO'
60 | #define LOG_INFO(...) log_message(__VA_ARGS__)
| ^~~~~~~~~~~
In file included from otherarch/sdcpp/sdtype_adapter.cpp:17:
otherarch/sdcpp/stable-diffusion.cpp:318:75: warning: comparison of different enumeration types ('ggml_type' and 'sd_type_t') [-Wenum-compare]
318 | LOG_INFO("Diffusion model weight type: %s", diffusion_model_wtype != SD_TYPE_COUNT ? ggml_type_name(diffusion_model_wtype) : "??");
| ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
otherarch/sdcpp/util.h:60:36: note: expanded from macro 'LOG_INFO'
60 | #define LOG_INFO(...) log_message(__VA_ARGS__)
| ^~~~~~~~~~~
In file included from otherarch/sdcpp/sdtype_adapter.cpp:17:
otherarch/sdcpp/stable-diffusion.cpp:319:63: warning: comparison of different enumeration types ('ggml_type' and 'sd_type_t') [-Wenum-compare]
319 | LOG_INFO("VAE weight type: %s", vae_wtype != SD_TYPE_COUNT ? ggml_type_name(vae_wtype) : "??");
| ~~~~~~~~~ ^ ~~~~~~~~~~~~~
otherarch/sdcpp/util.h:60:36: note: expanded from macro 'LOG_INFO'
60 | #define LOG_INFO(...) log_message(__VA_ARGS__)
| ^~~~~~~~~~~
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -pthread -Wno-multichar -Wno-write-strings -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-variable -pthread -DGGML_USE_VULKAN -DSD_USE_VULKAN -c examples/llava/clip.cpp -o llavaclip_vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
In file included from examples/llava/clip.cpp:28:
./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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from otherarch/sdcpp/sdtype_adapter.cpp:21:
In file included from ./otherarch/sdcpp/thirdparty/zip.c:40:
./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( \
| ^
otherarch/sdcpp/sdtype_adapter.cpp:285:73: warning: result of comparison of constant 244 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
285 | if (static_cast<unsigned char>(ch) <= 0x7F || (ch >= 0xC2 && ch <= 0xF4)) {
| ~~ ^ ~~~~
otherarch/sdcpp/sdtype_adapter.cpp:285:59: warning: result of comparison of constant 194 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
285 | if (static_cast<unsigned char>(ch) <= 0x7F || (ch >= 0xC2 && ch <= 0xF4)) {
| ~~ ^ ~~~~
35 warnings generated.
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -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-backend.cpp -o ggml-backend_vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -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-backend-reg.cpp -o ggml-backend-reg_vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -pthread -Wno-multichar -Wno-write-strings -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-variable -pthread ggml.o ggml-cpu.o ggml-ops.o ggml-vec.o ggml-binops.o ggml-unops.o ggml_v3.o ggml_v2.o ggml_v1.o expose.o gpttype_adapter.o sdcpp_default.o whispercpp_default.o tts_default.o embeddings_default.o llavaclip_default.o llava.o ggml-backend_default.o ggml-backend-reg_default.o ggml-alloc.o ggml-cpu-traits.o ggml-quants.o ggml-cpu-quants.o ggml-cpu-aarch64.o unicode.o unicode-data.o ggml-threading.o
ggml-cpu-cpp.o gguf.o sgemm.o common.o sampling.o kcpputils.o -shared -o koboldcpp_default.so -fstack-protector-strong -L/usr/local/lib
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I. -Iggml/include -Iggml/src -Iggml/src/ggml-cpu -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++17 -fPIC -DLOG_DISABLE_LOGS -D_GNU_SOURCE -DGGML_USE_CPU -DGGML_USE_CPU_AARCH64 -DNDEBUG -s -DGGML_USE_LLAMAFILE -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/ggml-vulkan.cpp -o ggml-vulkan.o
c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
1 warning generated.
7 warnings generated.
ggml/src/ggml-vulkan/ggml-vulkan.cpp:2375:103: error: use of undeclared identifier 'get_rows_iq1_m_len'; did you mean 'get_rows_iq1_s_len'?
2375 | ggml_vk_create_pipeline(device, device->pipeline_get_rows[GGML_TYPE_IQ1_M], "get_rows_iq1_m", get_rows_iq1_m_len, get_rows_iq1_m_data, "main", 3, sizeof(vk_op_binary_push_constants), {1024, 1, 1}, {}, 1);
| ^~~~~~~~~~~~~~~~~~
| get_rows_iq1_s_len
ggml/src/ggml-vulkan-shaders.hpp:316:16: note: 'get_rows_iq1_s_len' declared here
316 | const uint64_t get_rows_iq1_s_len = 25676;
| ^
ggml/src/ggml-vulkan/ggml-vulkan.cpp:2375:125: error: use of undeclared identifier 'get_rows_iq1_m_data'; did you mean 'get_rows_iq1_s_data'?
2375 | ggml_vk_create_pipeline(device, device->pipeline_get_rows[GGML_TYPE_IQ1_M], "get_rows_iq1_m", get_rows_iq1_m_len, get_rows_iq1_m_data, "main", 3, sizeof(vk_op_binary_push_constants), {1024, 1, 1}, {}, 1);
| ^~~~~~~~~~~~~~~~~~~
| get_rows_iq1_s_data
ggml/src/ggml-vulkan-shaders.cpp:130454:15: note: 'get_rows_iq1_s_data' declared here
130454 | unsigned char get_rows_iq1_s_data[25676] = {
| ^
ggml/src/ggml-vulkan/ggml-vulkan.cpp:2392:111: error: use of undeclared identifier 'get_rows_iq1_m_f32_len'; did you mean 'get_rows_iq1_s_f32_len'?
2392 | ggml_vk_create_pipeline(device, device->pipeline_get_rows_f32[GGML_TYPE_IQ1_M], "get_rows_iq1_m_f32", get_rows_iq1_m_f32_len, get_rows_iq1_m_f32_data, "main", 3, sizeof(vk_op_binary_push_constants), {1024, 1, 1}, {}, 1);
| ^~~~~~~~~~~~~~~~~~~~~~
| get_rows_iq1_s_f32_len
ggml/src/ggml-vulkan-shaders.hpp:319:16: note: 'get_rows_iq1_s_f32_len' declared here
319 | const uint64_t get_rows_iq1_s_f32_len = 25660;
| ^
ggml/src/ggml-vulkan/ggml-vulkan.cpp:2392:137: error: use of undeclared identifier 'get_rows_iq1_m_f32_data'; did you mean 'get_rows_iq1_s_f32_data'?
2392 | ggml_vk_create_pipeline(device, device->pipeline_get_rows_f32[GGML_TYPE_IQ1_M], "get_rows_iq1_m_f32", get_rows_iq1_m_f32_len, get_rows_iq1_m_f32_data, "main", 3, sizeof(vk_op_binary_push_constants), {1024, 1, 1}, {}, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~
| get_rows_iq1_s_f32_data
ggml/src/ggml-vulkan-shaders.cpp:132597:15: note: 'get_rows_iq1_s_f32_data' declared here
132597 | unsigned char get_rows_iq1_s_f32_data[25660] = {
| ^
4 errors generated.
gmake: *** [Makefile:605: ggml-vulkan.o] Error 1
===> 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