=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ggml-0.15.3.tar.gz => Checksum SHA512 OK for ggml-0.15.3.tar.gz ===> Installing dependencies for ggml-0.15.3 ========================================================================== The supported build options for ggml are: vulkan You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ggml (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ggml-0.15.3. Their current value is shown below: * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp Based on these variables, the following variables have been set: * BLAS_INCLUDES = -I/usr/pkg/include/openblas64_pthread * BLAS_LIBS = -lopenblas64_pthread * BLAS_PC = openblas64_pthread * BLAS_TYPE = openblas_pthread * CBLAS_LIBS = -lopenblas64_pthread * CBLAS_PC = openblas64_pthread * LAPACKE_LIBS = -lopenblas64_pthread * LAPACKE_PC = openblas64_pthread * LAPACK_LIBS = -lopenblas64_pthread * LAPACK_PC = openblas64_pthread 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-4.3.4 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.5.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency openblas64_pthread>=0.3.5: found openblas64_pthread-0.3.31nb1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ggml-0.15.3 ===> Extracting for ggml-0.15.3 ===> Patching for ggml-0.15.3 => Applying pkgsrc patches for ggml-0.15.3 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/ggml/patches/patch-include_ggml.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/ggml/patches/patch-include_ggml.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_ggml.h,v 1.1 2026/07/02 10:58:21 wiz Exp $ | |Needed by stable-diffusion.cpp. | |--- include/ggml.h.orig 2026-07-01 15:09:07.213680840 +0000 |+++ include/ggml.h -------------------------- Patching file include/ggml.h using Plan A... Hunk #1 succeeded at 226. done ===> Creating toolchain wrappers for ggml-0.15.3 ===> Configuring for ggml-0.15.3 => Fixing libpci soname => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- The ASM compiler identification is GNU -- Found assembler: /tmp/math/ggml/work/.cwrapper/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/math/ggml/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: /tmp/math/ggml/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- GGML_SYSTEM_ARCH: x86 -- Could NOT find OpenMP_C (missing: OpenMP_gomp_LIBRARY OpenMP_pthread_LIBRARY) (found version "4.5") -- Could NOT find OpenMP_CXX (missing: OpenMP_gomp_LIBRARY OpenMP_pthread_LIBRARY) (found version "4.5") -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) CMake Warning at src/CMakeLists.txt:231 (message): OpenMP not found -- Including CPU backend -- x86 detected -- Adding CPU backend variant ggml-cpu: -march=native -- Found BLAS: -lopenblas64_pthread -- BLAS found, Libraries: -lopenblas64_pthread -- Found PkgConfig: /tmp/math/ggml/work/.tools/bin/pkg-config (found version "2.5.1") -- Checking for module 'openblas64_pthread' -- Found openblas64_pthread, version 0.3.31 -- BLAS found, Includes: /usr/pkg/include/openblas64_pthread -- Including BLAS backend -- x86 detected -- ggml version: 0.15.3 -- ggml commit: unknown -- Configuring done (5.5s) -- Generating done (0.4s) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /tmp/math/ggml/work/ggml-0.15.3/cmake-pkgsrc-build