<86>Aug 28 03:35:14 userdel[1608054]: delete user 'rooter' <86>Aug 28 03:35:14 userdel[1608054]: removed group 'rooter' owned by 'rooter' <86>Aug 28 03:35:14 userdel[1608054]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 28 03:35:14 groupadd[1608062]: group added to /etc/group: name=rooter, GID=1808 <86>Aug 28 03:35:14 groupadd[1608062]: group added to /etc/gshadow: name=rooter <86>Aug 28 03:35:14 groupadd[1608062]: new group: name=rooter, GID=1808 <86>Aug 28 03:35:14 useradd[1608069]: new user: name=rooter, UID=1808, GID=1808, home=/root, shell=/bin/bash, from=none <86>Aug 28 03:35:14 userdel[1608087]: delete user 'builder' <86>Aug 28 03:35:14 userdel[1608087]: removed group 'builder' owned by 'builder' <86>Aug 28 03:35:14 userdel[1608087]: removed shadow group 'builder' owned by 'builder' <86>Aug 28 03:35:14 groupadd[1608101]: group added to /etc/group: name=builder, GID=1809 <86>Aug 28 03:35:14 groupadd[1608101]: group added to /etc/gshadow: name=builder <86>Aug 28 03:35:14 groupadd[1608101]: new group: name=builder, GID=1809 <86>Aug 28 03:35:14 useradd[1608107]: new user: name=builder, UID=1809, GID=1809, home=/usr/src, shell=/bin/bash, from=none <13>Aug 28 03:35:20 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Aug 28 03:35:20 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Aug 28 03:35:20 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Aug 28 03:35:20 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Aug 28 03:35:20 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Aug 28 03:35:20 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Aug 28 03:35:20 rpmi: libstdc++13-devel-13.2.1-alt4 sisyphus+354645.100.1.1 1723060849 installed <13>Aug 28 03:35:21 rpmi: gcc13-c++-13.2.1-alt4 sisyphus+354645.100.1.1 1723060849 installed <13>Aug 28 03:35:21 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Aug 28 03:35:21 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed <13>Aug 28 03:35:21 rpmi: libngtcp2.16-1.6.0-alt1 sisyphus+351909.200.1.1 1719836983 installed <13>Aug 28 03:35:21 rpmi: libngtcp2_crypto_gnutls8-1.6.0-alt1 sisyphus+351909.200.1.1 1719836983 installed <13>Aug 28 03:35:22 rpmi: golang-src-1.23.0-alt1 sisyphus+356108.100.1.1 1724684051 installed <13>Aug 28 03:35:22 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672118 installed <13>Aug 28 03:35:22 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Aug 28 03:35:22 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Aug 28 03:35:22 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Aug 28 03:35:22 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Aug 28 03:35:23 rpmi: cmake-modules-3.29.3-alt1 sisyphus+348648.100.2.1 1716590540 installed <13>Aug 28 03:35:23 rpmi: libuv-1.48.0-alt1 sisyphus+340945.100.1.1 1708265066 installed <13>Aug 28 03:35:23 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Aug 28 03:35:23 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+346331.200.2.1 1716448551 installed <13>Aug 28 03:35:23 rpmi: publicsuffix-list-dafsa-20240701-alt1 sisyphus+352081.100.1.1 1720015477 installed <13>Aug 28 03:35:23 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Aug 28 03:35:23 rpmi: libnghttp3.9-1.4.0-alt1 sisyphus+351909.100.1.1 1719836924 installed <13>Aug 28 03:35:23 rpmi: libnghttp2-1.62.1-alt1 sisyphus+347555.100.1.1 1716185760 installed <13>Aug 28 03:35:23 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Aug 28 03:35:23 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Aug 28 03:35:23 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Aug 28 03:35:23 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Aug 28 03:35:23 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed <13>Aug 28 03:35:23 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Aug 28 03:35:23 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Aug 28 03:35:23 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Aug 28 03:35:23 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Aug 28 03:35:23 rpmi: rpm-macros-cmake-3.29.1-alt1 sisyphus+344518.300.3.1 1712379787 installed <13>Aug 28 03:35:23 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Aug 28 03:35:23 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Aug 28 03:35:23 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Aug 28 03:35:23 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Aug 28 03:35:23 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Aug 28 03:35:23 rpmi: libcrypto3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <13>Aug 28 03:35:23 rpmi: libssl3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <86>Aug 28 03:35:23 groupadd[1638384]: group added to /etc/group: name=_keytab, GID=999 <86>Aug 28 03:35:23 groupadd[1638384]: group added to /etc/gshadow: name=_keytab <86>Aug 28 03:35:23 groupadd[1638384]: new group: name=_keytab, GID=999 <13>Aug 28 03:35:23 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Aug 28 03:35:23 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696954 installed <86>Aug 28 03:35:23 groupadd[1638718]: group added to /etc/group: name=sasl, GID=998 <86>Aug 28 03:35:23 groupadd[1638718]: group added to /etc/gshadow: name=sasl <86>Aug 28 03:35:23 groupadd[1638718]: new group: name=sasl, GID=998 <13>Aug 28 03:35:23 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Aug 28 03:35:23 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Aug 28 03:35:23 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326379 installed <13>Aug 28 03:35:23 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Aug 28 03:35:23 rpmi: libcurl-8.9.1-alt1 sisyphus+353987.100.1.1 1722417670 installed <13>Aug 28 03:35:23 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <86>Aug 28 03:35:23 groupadd[1639326]: group added to /etc/group: name=sshagent, GID=997 <86>Aug 28 03:35:23 groupadd[1639326]: group added to /etc/gshadow: name=sshagent <86>Aug 28 03:35:23 groupadd[1639326]: new group: name=sshagent, GID=997 <13>Aug 28 03:35:23 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <13>Aug 28 03:35:23 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689497333 installed <13>Aug 28 03:35:23 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721632 installed <13>Aug 28 03:35:24 rpmi: cmake-3.29.3-alt1 sisyphus+348648.100.2.1 1716590540 installed <13>Aug 28 03:35:25 rpmi: golang-1.23.0-alt1 sisyphus+356108.100.1.1 1724684051 installed <13>Aug 28 03:35:25 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ollama-0.1.46-alt1.nosrc.rpm (w1.gzdio) Installing ollama-0.1.46-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47139 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ollama-0.1.46 + echo 'Source #0 (ollama-0.1.46.tar):' Source #0 (ollama-0.1.46.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ollama-0.1.46.tar + cd ollama-0.1.46 + /bin/chmod -c -Rf u+rwX,go-w . + tar xf /usr/src/RPM/SOURCES/llama.cpp-0.tar -C llm + tar xf /usr/src/RPM/SOURCES/kompute-0.tar -C llm/llama.cpp + cd llm/llama.cpp + git init -q + git config user.name builder + git config user.email builder + git add -Af . + git commit -q -m /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp + git tag 0.1.46-alt1 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.22930 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ollama-0.1.46 + export NPROCS=16 + NPROCS=16 + export OLLAMA_SKIP_PATCHING=1 + OLLAMA_SKIP_PATCHING=1 + go generate ./... + set -o pipefail + echo 'Starting linux generate script' Starting linux generate script + '[' -z '' ']' + '[' -x /usr/local/cuda/bin/nvcc ']' ++ command -v nvcc + export CUDACXX= + CUDACXX= + COMMON_CMAKE_DEFS='-DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_AVX=on -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DLLAMA_OPENMP=off' ++ dirname ./gen_linux.sh + source ./gen_common.sh + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '' ']' + CMAKE_CUDA_ARCHITECTURES='50;52;61;70;75;80' + git_module_setup + '[' -n 1 ']' + echo 'Skipping submodule initialization' Skipping submodule initialization + return + apply_patches + grep ollama ../llama.cpp/CMakeLists.txt + echo 'add_subdirectory(../ext_server ext_server) # ollama' ++ ls -A ../patches/01-load-progress.diff ../patches/02-clip-log.diff ../patches/03-load_exception.diff ../patches/04-metal.diff ../patches/05-default-pretokenizer.diff ../patches/06-qwen2.diff + '[' -n '../patches/01-load-progress.diff ../patches/02-clip-log.diff ../patches/03-load_exception.diff ../patches/04-metal.diff ../patches/05-default-pretokenizer.diff ../patches/06-qwen2.diff' ']' + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/01-load-progress.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout common/common.cpp Updated 0 paths from the index + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout common/common.h Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/02-clip-log.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout examples/llava/clip.cpp Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/03-load_exception.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/04-metal.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout ggml-metal.m Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/05-default-pretokenizer.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/06-qwen2.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 0 paths from the index + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/01-load-progress.diff + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/02-clip-log.diff + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/03-load_exception.diff + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/04-metal.diff + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/05-default-pretokenizer.diff + for patch in ../patches/*.diff + cd ../llama.cpp + git apply ../patches/06-qwen2.diff + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + '[' -z '' -o '' = static ']' + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + CMAKE_TARGETS='--target llama --target ggml' + CMAKE_DEFS='-DBUILD_SHARED_LIBS=off -DLLAMA_NATIVE=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DLLAMA_OPENMP=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + BUILD_DIR=../build/linux/x86_64_static + echo 'Building static library' Building static library + build + cmake -S ../llama.cpp -B ../build/linux/x86_64_static -DBUILD_SHARED_LIBS=off -DLLAMA_NATIVE=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DLLAMA_OPENMP=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.42.2") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- x86 detected -- Configuring done (0.7s) -- Generating done (0.1s) -- Build files have been written to: /usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static + cmake --build ../build/linux/x86_64_static --target llama --target ggml -j16 gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 16%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 33%] Building CXX object CMakeFiles/ggml.dir/sgemm.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 0%] Building C object CMakeFiles/ggml.dir/ggml-backend.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 50%] Building C object CMakeFiles/ggml.dir/ggml-quants.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 0%] Building C object CMakeFiles/ggml.dir/ggml.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 50%] Built target ggml gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 83%] Building CXX object CMakeFiles/llama.dir/unicode-data.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 83%] Building CXX object CMakeFiles/llama.dir/unicode.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [ 66%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [100%] Linking CXX static library libllama.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [100%] Built target llama gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' [100%] Built target ggml gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64_static' + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + '[' -z '' ']' + '[' -n '' ']' + COMMON_CPU_DEFS='-DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off' + '[' -z '' -o '' = cpu ']' + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + CMAKE_DEFS='-DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + BUILD_DIR=../build/linux/x86_64/cpu + echo 'Building LCD CPU' Building LCD CPU + build + cmake -S ../llama.cpp -B ../build/linux/x86_64/cpu -DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.42.2") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- x86 detected -- Configuring done (0.7s) -- Generating done (0.1s) -- Build files have been written to: /usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu + cmake --build ../build/linux/x86_64/cpu --target ollama_llama_server -j16 gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 0%] Generating build details from Git -- Found Git: /usr/bin/git (found version "2.42.2") gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 26%] Building CXX object common/CMakeFiles/build_info.dir/build-info.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 26%] Built target build_info gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 6%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 13%] Building CXX object CMakeFiles/ggml.dir/sgemm.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 6%] Building C object CMakeFiles/ggml.dir/ggml-backend.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 20%] Building C object CMakeFiles/ggml.dir/ggml-quants.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 0%] Building C object CMakeFiles/ggml.dir/ggml.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 26%] Built target ggml gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 40%] Building CXX object CMakeFiles/llama.dir/unicode-data.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 40%] Building CXX object CMakeFiles/llama.dir/unicode.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 33%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 46%] Linking CXX static library libllama.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 46%] Built target llama gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 60%] Building CXX object common/CMakeFiles/common.dir/console.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 73%] Building CXX object common/CMakeFiles/common.dir/grammar-parser.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 73%] Building CXX object common/CMakeFiles/common.dir/ngram-cache.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 46%] Building CXX object examples/llava/CMakeFiles/llava.dir/llava.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 66%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 66%] Building CXX object common/CMakeFiles/common.dir/train.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 53%] Building CXX object examples/llava/CMakeFiles/llava.dir/clip.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 80%] Built target llava gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 80%] Building CXX object common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 66%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 86%] Linking CXX static library libcommon.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 86%] Built target common gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [ 93%] Building CXX object ext_server/CMakeFiles/ollama_llama_server.dir/server.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [100%] Linking CXX executable ../bin/ollama_llama_server gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' [100%] Built target ollama_llama_server gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu' + compress + echo 'Compressing payloads to reduce overall binary size...' Compressing payloads to reduce overall binary size... + pids= + rm -rf '../build/linux/x86_64/cpu/bin/*.gz' + for f in ${BUILD_DIR}/bin/* + pids+=' 1909225' + '[' -d ../build/linux/x86_64/cpu/lib ']' + gzip -n --best -f ../build/linux/x86_64/cpu/bin/ollama_llama_server + echo + for pid in ${pids} + wait 1909225 + echo 'Finished compression' Finished compression + '[' x86_64 == x86_64 ']' + '[' -z '' -o '' = cpu_avx ']' + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + CMAKE_DEFS='-DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=on -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + BUILD_DIR=../build/linux/x86_64/cpu_avx + echo 'Building AVX CPU' Building AVX CPU + build + cmake -S ../llama.cpp -B ../build/linux/x86_64/cpu_avx -DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=on -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.42.2") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- x86 detected -- Configuring done (0.8s) -- Generating done (0.1s) -- Build files have been written to: /usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx + cmake --build ../build/linux/x86_64/cpu_avx --target ollama_llama_server -j16 gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 6%] Building CXX object common/CMakeFiles/build_info.dir/build-info.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 26%] Built target build_info gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 20%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 6%] Building C object CMakeFiles/ggml.dir/ggml-backend.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 26%] Building CXX object CMakeFiles/ggml.dir/sgemm.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 20%] Building C object CMakeFiles/ggml.dir/ggml-quants.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 6%] Building C object CMakeFiles/ggml.dir/ggml.c.o /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp/ggml.c: In function 'ggml_vec_mad_f16': /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp/ggml.c:2044:45: warning: passing argument 1 of '__avx_f32cx8_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2044 | ax[j] = GGML_F16_VEC_LOAD(x + i + j*GGML_F16_EPR, j); | ^ /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp/ggml.c:1224:51: note: in definition of macro 'GGML_F32Cx8_LOAD' 1224 | #define GGML_F32Cx8_LOAD(x) __avx_f32cx8_load(x) | ^ /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp/ggml.c:2044:21: note: in expansion of macro 'GGML_F16_VEC_LOAD' 2044 | ax[j] = GGML_F16_VEC_LOAD(x + i + j*GGML_F16_EPR, j); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/ollama-0.1.46/llm/llama.cpp/ggml.c:1207:53: note: expected 'ggml_fp16_t *' {aka 'short unsigned int *'} but argument is of type 'const ggml_fp16_t *' {aka 'const short unsigned int *'} 1207 | static inline __m256 __avx_f32cx8_load(ggml_fp16_t *x) { | ~~~~~~~~~~~~~^ gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 26%] Built target ggml gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 33%] Building CXX object CMakeFiles/llama.dir/unicode-data.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 33%] Building CXX object CMakeFiles/llama.dir/unicode.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 40%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 46%] Linking CXX static library libllama.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 46%] Built target llama gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 73%] Building CXX object common/CMakeFiles/common.dir/console.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 46%] Building CXX object examples/llava/CMakeFiles/llava.dir/llava.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 80%] Building CXX object common/CMakeFiles/common.dir/ngram-cache.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 60%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 53%] Building CXX object common/CMakeFiles/common.dir/grammar-parser.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 73%] Building CXX object common/CMakeFiles/common.dir/train.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 53%] Building CXX object examples/llava/CMakeFiles/llava.dir/clip.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 80%] Built target llava gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 66%] Building CXX object common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 53%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 86%] Linking CXX static library libcommon.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 86%] Built target common gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [ 93%] Building CXX object ext_server/CMakeFiles/ollama_llama_server.dir/server.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [100%] Linking CXX executable ../bin/ollama_llama_server gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' [100%] Built target ollama_llama_server gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx' + compress + echo 'Compressing payloads to reduce overall binary size...' Compressing payloads to reduce overall binary size... + pids= + rm -rf '../build/linux/x86_64/cpu_avx/bin/*.gz' + for f in ${BUILD_DIR}/bin/* + pids+=' 1945122' + '[' -d ../build/linux/x86_64/cpu_avx/lib ']' + echo + for pid in ${pids} + wait 1945122 + gzip -n --best -f ../build/linux/x86_64/cpu_avx/bin/ollama_llama_server + echo 'Finished compression' Finished compression + '[' -z '' -o '' = cpu_avx2 ']' + init_vars + case "${GOARCH}" in + ARCH=x86_64 + LLAMACPP_DIR=../llama.cpp + CMAKE_DEFS= + CMAKE_TARGETS='--target ollama_llama_server' + echo '' + grep -- -g + CMAKE_DEFS='-DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + case $(uname -s) in ++ uname -s + LIB_EXT=so + WHOLE_ARCHIVE=-Wl,--whole-archive + NO_WHOLE_ARCHIVE=-Wl,--no-whole-archive + GCC_ARCH= + '[' -z '50;52;61;70;75;80' ']' + CMAKE_DEFS='-DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=on -DLLAMA_AVX2=on -DLLAMA_AVX512=off -DLLAMA_FMA=on -DLLAMA_F16C=on -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off ' + BUILD_DIR=../build/linux/x86_64/cpu_avx2 + echo 'Building AVX2 CPU' Building AVX2 CPU + build + cmake -S ../llama.cpp -B ../build/linux/x86_64/cpu_avx2 -DCMAKE_POSITION_INDEPENDENT_CODE=on -DLLAMA_NATIVE=off -DLLAMA_OPENMP=off -DLLAMA_AVX=on -DLLAMA_AVX2=on -DLLAMA_AVX512=off -DLLAMA_FMA=on -DLLAMA_F16C=on -DCMAKE_BUILD_TYPE=Release -DLLAMA_SERVER_VERBOSE=off -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.42.2") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- x86 detected -- Configuring done (0.6s) -- Generating done (0.1s) -- Build files have been written to: /usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2 + cmake --build ../build/linux/x86_64/cpu_avx2 --target ollama_llama_server -j16 gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 6%] Building CXX object common/CMakeFiles/build_info.dir/build-info.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 26%] Built target build_info gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 20%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 6%] Building C object CMakeFiles/ggml.dir/ggml-backend.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 26%] Building CXX object CMakeFiles/ggml.dir/sgemm.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 20%] Building C object CMakeFiles/ggml.dir/ggml-quants.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 0%] Building C object CMakeFiles/ggml.dir/ggml.c.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 26%] Built target ggml gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 33%] Building CXX object CMakeFiles/llama.dir/unicode-data.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 40%] Building CXX object CMakeFiles/llama.dir/unicode.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 33%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 46%] Linking CXX static library libllama.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 46%] Built target llama gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 53%] Building CXX object common/CMakeFiles/common.dir/console.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 80%] Building CXX object common/CMakeFiles/common.dir/grammar-parser.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 60%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 60%] Building CXX object examples/llava/CMakeFiles/llava.dir/llava.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 80%] Building CXX object common/CMakeFiles/common.dir/ngram-cache.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 80%] Building CXX object common/CMakeFiles/common.dir/train.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 73%] Building CXX object examples/llava/CMakeFiles/llava.dir/clip.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 80%] Built target llava gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 66%] Building CXX object common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 46%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 86%] Linking CXX static library libcommon.a gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 86%] Built target common gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [ 93%] Building CXX object ext_server/CMakeFiles/ollama_llama_server.dir/server.cpp.o gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[3]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [100%] Linking CXX executable ../bin/ollama_llama_server gmake[3]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' gmake[2]: Entering directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' [100%] Built target ollama_llama_server gmake[2]: Leaving directory '/usr/src/RPM/BUILD/ollama-0.1.46/llm/build/linux/x86_64/cpu_avx2' + compress + echo 'Compressing payloads to reduce overall binary size...' Compressing payloads to reduce overall binary size... + pids= + rm -rf '../build/linux/x86_64/cpu_avx2/bin/*.gz' + for f in ${BUILD_DIR}/bin/* + pids+=' 2059246' + '[' -d ../build/linux/x86_64/cpu_avx2/lib ']' + echo + for pid in ${pids} + wait 2059246 + gzip -n --best -f ../build/linux/x86_64/cpu_avx2/bin/ollama_llama_server + echo 'Finished compression' Finished compression + '[' -z '' ']' + '[' -d /usr/local/cuda/lib64 ']' + '[' -z '' ']' + '[' -d /opt/cuda/targets/x86_64-linux/lib ']' + '[' -z '' ']' + CUDART_LIB_DIR= + '[' -z '' -a -d '' ']' + '[' -z '' ']' + ONEAPI_ROOT=/opt/intel/oneapi + '[' -z '' -a -d /opt/intel/oneapi ']' + '[' -z '' ']' + ROCM_PATH=/opt/rocm + '[' -z '' ']' + '[' -d /usr/lib/cmake/CLBlast ']' + '[' -z '' -a -d /opt/rocm ']' + cleanup + cd ../llama.cpp/ + git checkout CMakeLists.txt Updated 1 path from the index ++ ls -A ../patches/01-load-progress.diff ../patches/02-clip-log.diff ../patches/03-load_exception.diff ../patches/04-metal.diff ../patches/05-default-pretokenizer.diff ../patches/06-qwen2.diff + '[' -n '../patches/01-load-progress.diff ../patches/02-clip-log.diff ../patches/03-load_exception.diff ../patches/04-metal.diff ../patches/05-default-pretokenizer.diff ../patches/06-qwen2.diff' ']' + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/01-load-progress.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout common/common.cpp Updated 1 path from the index + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout common/common.h Updated 1 path from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/02-clip-log.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout examples/llava/clip.cpp Updated 1 path from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/03-load_exception.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 1 path from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/04-metal.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout ggml-metal.m Updated 1 path from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/05-default-pretokenizer.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 0 paths from the index + for patch in ../patches/*.diff ++ grep '^+++ ' ../patches/06-qwen2.diff ++ cut -f2 '-d ' ++ cut -f2- -d/ + for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/) + cd ../llama.cpp + git checkout llama.cpp Updated 0 paths from the index ++ cd ../build/linux/x86_64/cpu_avx2/.. ++ echo cpu cpu_avx cpu_avx2 + echo 'go generate completed. LLM runners: cpu cpu_avx cpu_avx2' go generate completed. LLM runners: cpu cpu_avx cpu_avx2 + go build -v -buildmode=pie '-ldflags= -X=github.com/ollama/ollama/version.Version=0.1.46 -X=github.com/ollama/ollama/server.mode=release ' internal/godebugs internal/msan internal/race internal/unsafeheader internal/itoa internal/profilerecord internal/asan internal/goos internal/goexperiment internal/byteorder internal/goarch internal/coverage/rtcov internal/runtime/atomic internal/cpu internal/runtime/syscall sync/atomic unicode/utf8 cmp unicode math/bits crypto/subtle crypto/internal/alias crypto/internal/boring/sig encoding unicode/utf16 internal/abi runtime/internal/math runtime/internal/sys internal/chacha8rand log/internal log/slog/internal internal/nettrace github.com/ollama/ollama/version container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias github.com/rivo/uniseg golang.org/x/crypto/internal/alias golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal github.com/gin-gonic/gin/internal/bytesconv golang.org/x/net/html/atom github.com/go-playground/locales/currency github.com/leodido/go-urn/scim/schema github.com/pelletier/go-toml/v2/internal/characters google.golang.org/protobuf/internal/flags github.com/d4l3k/go-bfloat16 internal/runtime/exithook google.golang.org/protobuf/internal/set github.com/apache/arrow/go/arrow/internal/debug golang.org/x/xerrors/internal hash/maphash internal/bytealg gonum.org/v1/gonum/blas math gonum.org/v1/gonum/internal/asm/f64 golang.org/x/exp/maps github.com/agnivade/levenshtein internal/stringslite gonum.org/v1/gonum/lapack runtime gonum.org/v1/gonum/internal/math32 gorgonia.org/vecf64 math/cmplx github.com/chewxy/math32 gonum.org/v1/gonum/internal/cmplx64 gonum.org/v1/gonum/internal/asm/f32 gonum.org/v1/gonum/internal/asm/c64 gonum.org/v1/gonum/internal/asm/c128 gorgonia.org/vecf32 internal/weak internal/reflectlite iter sync maps slices internal/bisect log/slog/internal/buffer google.golang.org/protobuf/internal/pragma internal/singleflight internal/testlog gonum.org/v1/gonum/blas/gonum runtime/cgo errors internal/godebug sort internal/oserror io vendor/golang.org/x/net/dns/dnsmessage crypto/internal/edwards25519/field path math/rand/v2 strconv crypto/internal/nistec/fiat syscall math/rand golang.org/x/text/internal/tag github.com/xtgo/set github.com/google/flatbuffers/go crypto/internal/edwards25519 internal/concurrent hash bytes crypto/internal/randutil strings internal/saferio unique hash/crc32 hash/adler32 hash/fnv reflect crypto crypto/rc4 golang.org/x/crypto/blowfish crypto/cipher vendor/golang.org/x/text/transform bufio regexp/syntax net/http/internal/ascii net/netip crypto/md5 golang.org/x/text/transform html github.com/pdevine/tensor/internal/serialization/fb github.com/apache/arrow/go/arrow/float16 gonum.org/v1/gonum/floats/scalar github.com/x448/float16 crypto/internal/boring crypto/des gonum.org/v1/gonum/floats golang.org/x/text/encoding golang.org/x/text/runes github.com/ollama/ollama/util/bufioutil crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 crypto/aes golang.org/x/text/encoding/internal golang.org/x/text/encoding/unicode/utf32 vendor/golang.org/x/crypto/hkdf time internal/syscall/unix internal/syscall/execenv golang.org/x/text/encoding/unicode regexp golang.org/x/crypto/ssh/internal/bcrypt_pbkdf context github.com/go-playground/locales io/fs internal/poll gonum.org/v1/gonum/blas/blas64 gonum.org/v1/gonum/blas/cblas128 internal/filepathlite embed golang.org/x/sync/semaphore internal/fmtsort github.com/pdevine/tensor/internal/storage encoding/binary crypto/internal/nistec gonum.org/v1/gonum/lapack/gonum google.golang.org/protobuf/internal/editiondefaults os encoding/base64 github.com/apache/arrow/go/arrow/endian vendor/golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20 golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/sha3 golang.org/x/sys/unix encoding/pem crypto/ecdh golang.org/x/crypto/curve25519 google.golang.org/protobuf/internal/detrand github.com/mattn/go-runewidth os/signal io/ioutil github.com/apache/arrow/go/arrow/internal/cpu fmt go4.org/unsafe/assume-no-moving-gc vendor/golang.org/x/sys/cpu path/filepath golang.org/x/sys/cpu net github.com/apache/arrow/go/arrow/memory vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 os/exec github.com/apache/arrow/go/arrow/bitutil encoding/hex encoding/csv github.com/ollama/ollama/format net/url log compress/flate mime/quotedprintable encoding/json mime net/http/internal math/big vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/norm github.com/ollama/ollama/parser github.com/emirpasic/gods/utils encoding/xml flag github.com/olekukonko/tablewriter vendor/golang.org/x/text/unicode/bidi github.com/emirpasic/gods/containers golang.org/x/net/html debug/dwarf github.com/gabriel-vasile/mimetype/internal/json github.com/emirpasic/gods/lists golang.org/x/text/internal/language archive/zip compress/gzip github.com/containerd/console golang.org/x/term compress/zlib github.com/pelletier/go-toml/v2/internal/danger vendor/golang.org/x/text/secure/bidirule encoding/gob github.com/pelletier/go-toml/v2/unstable go/token text/template/parse google.golang.org/protobuf/internal/errors log/slog github.com/emirpasic/gods/lists/arraylist github.com/gin-gonic/gin/internal/json github.com/go-playground/universal-translator github.com/ollama/ollama/progress vendor/golang.org/x/net/idna github.com/leodido/go-urn debug/macho github.com/ollama/ollama/readline github.com/pelletier/go-toml/v2/internal/tracker google.golang.org/protobuf/encoding/protowire gopkg.in/yaml.v3 github.com/pelletier/go-toml/v2 github.com/gabriel-vasile/mimetype/internal/charset crypto/rand crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig crypto/ed25519 encoding/asn1 crypto/internal/hpke crypto/internal/mlkem768 crypto/dsa github.com/gabriel-vasile/mimetype/internal/magic golang.org/x/text/internal/language/compact text/template google.golang.org/protobuf/reflect/protoreflect crypto/rsa github.com/mattn/go-isatty golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack os/user golang.org/x/text/language github.com/nlpodyssey/gopickle/types google.golang.org/protobuf/internal/version golang.org/x/sync/errgroup github.com/apache/arrow/go/arrow/decimal128 vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix golang.org/x/xerrors github.com/pkg/errors github.com/gabriel-vasile/mimetype github.com/gogo/protobuf/proto gonum.org/v1/gonum/lapack/lapack64 golang.org/x/text/secure/bidirule github.com/ollama/ollama/templates github.com/nlpodyssey/gopickle/pickle google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid crypto/ecdsa google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/runtime/protoiface html/template google.golang.org/protobuf/internal/descopts github.com/apache/arrow/go/arrow google.golang.org/protobuf/reflect/protoregistry github.com/chewxy/hm github.com/pdevine/tensor/internal/execution google.golang.org/protobuf/internal/encoding/text golang.org/x/net/idna gonum.org/v1/gonum/mat github.com/ollama/ollama/types/errtypes github.com/ollama/ollama/types/model google.golang.org/protobuf/proto google.golang.org/protobuf/internal/encoding/defval github.com/apache/arrow/go/arrow/array google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc archive/tar google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl github.com/nlpodyssey/gopickle/pytorch github.com/apache/arrow/go/arrow/tensor github.com/gogo/protobuf/protoc-gen-gogo/descriptor github.com/ollama/ollama/envconfig vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 github.com/go-playground/validator/v10 github.com/spf13/pflag github.com/ollama/ollama/gpu vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts mime/multipart github.com/gogo/protobuf/gogoproto github.com/spf13/cobra crypto/tls golang.org/x/crypto/ssh google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl github.com/ollama/ollama/convert/sentencepiece google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/internal/editionssupport google.golang.org/protobuf/types/gofeaturespb google.golang.org/protobuf/reflect/protodesc github.com/ollama/ollama/auth github.com/golang/protobuf/proto net/http/httptrace net/http github.com/pdevine/tensor/internal/serialization/pb github.com/pdevine/tensor github.com/gin-contrib/sse net/rpc github.com/ollama/ollama/api net/http/httputil golang.org/x/net/http2 github.com/ollama/ollama/llm github.com/ugorji/go/codec golang.org/x/net/http2/h2c github.com/pdevine/tensor/native github.com/ollama/ollama/convert github.com/gin-gonic/gin/binding github.com/gin-gonic/gin/render github.com/gin-gonic/gin github.com/ollama/ollama/openai github.com/gin-contrib/cors github.com/ollama/ollama/server github.com/ollama/ollama/cmd github.com/ollama/ollama + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.63296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ollama-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ollama-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd ollama-0.1.46 + install -Dp ollama /usr/src/tmp/ollama-buildroot/usr/bin/ollama + install -Dpm644 /usr/src/RPM/SOURCES/ollama-user.conf /usr/src/tmp/ollama-buildroot/usr/lib/sysusers.d/ollama.conf + install -Dpm644 .gear/ollama.service -t /usr/src/tmp/ollama-buildroot/usr/lib/systemd/system + mkdir -p /usr/src/tmp/ollama-buildroot/var/lib/ollama + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ollama-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ollama-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ollama-buildroot/ (default) Compressing files in /usr/src/tmp/ollama-buildroot (auto) Verifying systemd units in /usr/src/tmp/ollama-buildroot Adjusting library links in /usr/src/tmp/ollama-buildroot ./var/lib: (from :0) ./usr/lib: (from :0) debugedit: ./usr/bin/ollama: DWARF version 0 unhandled [47] .debug_gdb_scripts NOT compressed, wouldn't be smaller Verifying ELF objects in /usr/src/tmp/ollama-buildroot (arch=strict,fhs=strict,lfs=strict,lint=relaxed,rpath=strict,stack=strict,textrel=strict,unresolved=strict) phdr[8]: unknown object file note type 4 with owner name 'Go' at offset 168 section [ 5] '.note.go.buildid': unknown object file note type 4 with owner name 'Go' at offset 100 verify-elf: WARNING: ./usr/bin/ollama: eu-elflint failed Splitting links to aliased files under /{,s}bin in /usr/src/tmp/ollama-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.11757 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ollama-0.1.46 + go test ./... ? github.com/ollama/ollama [no test files] ? github.com/ollama/ollama/app [no test files] ? github.com/ollama/ollama/app/assets [no test files] ok github.com/ollama/ollama/api 0.007s ? github.com/ollama/ollama/app/store [no test files] ? github.com/ollama/ollama/app/tray [no test files] ? github.com/ollama/ollama/app/tray/commontray [no test files] ? github.com/ollama/ollama/auth [no test files] ok github.com/ollama/ollama/app/lifecycle 0.008s ? github.com/ollama/ollama/convert [no test files] ? github.com/ollama/ollama/convert/sentencepiece [no test files] ? github.com/ollama/ollama/examples/go-chat [no test files] ? github.com/ollama/ollama/examples/go-generate [no test files] ? github.com/ollama/ollama/examples/go-generate-streaming [no test files] ? github.com/ollama/ollama/examples/go-http-generate [no test files] ok github.com/ollama/ollama/cmd 0.016s ok github.com/ollama/ollama/envconfig 0.007s ? github.com/ollama/ollama/examples/go-multimodal [no test files] ? github.com/ollama/ollama/examples/go-pull-progress [no test files] ok github.com/ollama/ollama/format 0.003s ? github.com/ollama/ollama/llm/generate [no test files] ? github.com/ollama/ollama/openai [no test files] ? github.com/ollama/ollama/progress [no test files] ? github.com/ollama/ollama/readline [no test files] ok github.com/ollama/ollama/gpu 0.007s ok github.com/ollama/ollama/llm 0.007s ok github.com/ollama/ollama/parser 0.009s ? github.com/ollama/ollama/types/errtypes [no test files] ? github.com/ollama/ollama/version [no test files] ok github.com/ollama/ollama/server 0.139s ok github.com/ollama/ollama/templates 0.432s ok github.com/ollama/ollama/types/model 0.008s ok github.com/ollama/ollama/util/bufioutil 0.005s + /usr/src/tmp/ollama-buildroot/usr/bin/ollama --version + grep -Pw 'version is \Q0.1.46\E$' Warning: client version is 0.1.46 + exit 0 Processing files: ollama-0.1.46-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.5207 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ollama-0.1.46 + DOCDIR=/usr/src/tmp/ollama-buildroot/usr/share/doc/ollama + export DOCDIR + /bin/mkdir -p /usr/src/tmp/ollama-buildroot/usr/share/doc/ollama + cp -prL LICENSE README.md docs examples /usr/src/tmp/ollama-buildroot/usr/share/doc/ollama + chmod -R go-w /usr/src/tmp/ollama-buildroot/usr/share/doc/ollama + chmod -R a+rX /usr/src/tmp/ollama-buildroot/usr/share/doc/ollama + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.swkKFY find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LvkEwB find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qsrYpO shell.req: /usr/src/tmp/ollama-buildroot/.pre:ollama: systemd-sysusers indexed by: /sbin/systemd-sysusers -> /sbin/systemd-sysusers, /usr/sbin/systemd-sysusers -> /usr/sbin/systemd-sysusers shell.req: /usr/src/tmp/ollama-buildroot/.pre:ollama: systemd-sysusers -> /sbin/systemd-sysusers -> /sbin/systemd-sysusers (ambiguous, via contents_index_bin) find-scriptlet-requires: FINDPACKAGE-COMMANDS: systemd-sysusers Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7OXXzO find-scriptlet-requires: FINDPACKAGE-COMMANDS: sd_booted Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aY68vF find-scriptlet-requires: FINDPACKAGE-COMMANDS: sd_booted Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.29)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libm.so.6(GLIBC_2.29)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.11)(64bit), libstdc++.so.6(CXXABI_1.3.13)(64bit), libstdc++.so.6(CXXABI_1.3.2)(64bit), libstdc++.so.6(CXXABI_1.3.3)(64bit), libstdc++.so.6(CXXABI_1.3.5)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.17)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(pre): /bin/sh, /sbin/systemd-sysusers Requires(post): /bin/sh, service Requires(preun): /bin/sh, service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NEhXAq Creating ollama-debuginfo package Processing files: ollama-debuginfo-0.1.46-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kIXN6K find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eRzGfZ find-requires: running scripts (debuginfo) Requires: ollama = 0.1.46-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libstdc++.so.6) Adding to ollama-debuginfo a strict dependency on ollama Wrote: /usr/src/RPM/RPMS/x86_64/ollama-0.1.46-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ollama-debuginfo-0.1.46-alt1.x86_64.rpm (w2T16.xzdio) 505.14user 81.61system 4:22.97elapsed 223%CPU (0avgtext+0avgdata 709112maxresident)k 0inputs+0outputs (0major+13754585minor)pagefaults 0swaps 4.62user 3.22system 4:43.35elapsed 2%CPU (0avgtext+0avgdata 128972maxresident)k 0inputs+0outputs (0major+257155minor)pagefaults 0swaps --- ollama-0.1.46-alt1.x86_64.rpm.repo 2024-06-25 07:30:55.000000000 +0000 +++ ollama-0.1.46-alt1.x86_64.rpm.hasher 2024-08-28 03:39:54.086233407 +0000 @@ -170,3 +170,3 @@ Provides: ollama = 0.1.46-alt1:sisyphus+351507.100.1.1 -File: /usr/bin/ollama 100755 root:root 15e4340f38ccf46b7bd10a3627728ead +File: /usr/bin/ollama 100755 root:root dd1e7589083fce58b5c0d73f61071890 File: /usr/lib/systemd/system/ollama.service 100644 root:root d5351de1e34b812d50b9b33ae3b1262f @@ -300,2 +300,2 @@ File: /var/lib/ollama 40755 ollama:ollama -RPMIdentity: f108dab85694270df8e409d116c4bdc4b43e161923a2df85a15e2ca08e2094b41eb018c85725884938897027965b514072e6fd4954be665cb8be740605b30534 +RPMIdentity: bdf73c0ef1f2e02083a52a3f475291baee522c0619336a0be7adf49496fb4af25c087bba26e3d77e404649df05c87e80f0f475505de0c0db3a2f75b46827eaf2 --- ollama-debuginfo-0.1.46-alt1.x86_64.rpm.repo 2024-06-25 07:30:56.000000000 +0000 +++ ollama-debuginfo-0.1.46-alt1.x86_64.rpm.hasher 2024-08-28 03:39:54.201235511 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/26 40755 root:root -/usr/lib/debug/.build-id/26/f6a3d10996776771eb2d538f21e12a2dcde5db 120777 root:root ../../../../bin/ollama -/usr/lib/debug/.build-id/26/f6a3d10996776771eb2d538f21e12a2dcde5db.debug 120777 root:root ../../usr/bin/ollama.debug +/usr/lib/debug/.build-id/96 40755 root:root +/usr/lib/debug/.build-id/96/0a08120df175f9ca8f25ac9bcc5c7f8849a4c9 120777 root:root ../../../../bin/ollama +/usr/lib/debug/.build-id/96/0a08120df175f9ca8f25ac9bcc5c7f8849a4c9.debug 120777 root:root ../../usr/bin/ollama.debug /usr/lib/debug/usr/bin/ollama.debug 100644 root:root @@ -1454,6 +1454,6 @@ Provides: ollama-debuginfo = 0.1.46-alt1:sisyphus+351507.100.1.1 -File: /usr/lib/debug/.build-id/26 40755 root:root -File: /usr/lib/debug/.build-id/26/f6a3d10996776771eb2d538f21e12a2dcde5db 120777 root:root ../../../../bin/ollama -File: /usr/lib/debug/.build-id/26/f6a3d10996776771eb2d538f21e12a2dcde5db.debug 120777 root:root ../../usr/bin/ollama.debug -File: /usr/lib/debug/usr/bin/ollama.debug 100644 root:root c976797f26c16fa4f07ad9147ffd9aa2 +File: /usr/lib/debug/.build-id/96 40755 root:root +File: /usr/lib/debug/.build-id/96/0a08120df175f9ca8f25ac9bcc5c7f8849a4c9 120777 root:root ../../../../bin/ollama +File: /usr/lib/debug/.build-id/96/0a08120df175f9ca8f25ac9bcc5c7f8849a4c9.debug 120777 root:root ../../usr/bin/ollama.debug +File: /usr/lib/debug/usr/bin/ollama.debug 100644 root:root 34d9997b6dee2797d54009299037d731 File: /usr/src/debug/ollama-0.1.46 40755 root:root @@ -2900,2 +2900,2 @@ File: /usr/src/debug/ollama-0.1.46/version/version.go 100644 root:root 5e3e0e49d6c499f3fe40bfecff1400f8 -RPMIdentity: 46059643db44b590f75bb2d35a37bb30dd828605ea2a3ff40584d555eb08f08d10a96d0b2be2e06146f7c0e5677d051b6287b3896c13ad0e7fe0b206bfb6e423 +RPMIdentity: 5ef54bd49090f4618a2849c09a58a46736565c17369c08d54a125cc3072f3c6b3761adee7404a4cc711f8cbbdd91741a4e05af4c6aa3f6cca78af01de3a6753c