Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795767840.794062/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/llama.cpp-1.0.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795767840.794062/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/llama.cpp-1.0.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795767840.794062/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/llama-cpp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZSdItu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf llama-cpp-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/llama-cpp-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd llama-cpp-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-common-fix-baseline-embedding-regex-serv-bugs-ad.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-feat-cpu-add-ARM-SVE-NEON-FP16-FP32-matmul-kernels.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-feat-cpu-add-Q8_0-MMLA-spack-matmul-kernels.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-feat-cpu-add-fused-SDPA-microkernels-neon-cache-QK-p.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-feat-cpu-add-fused-SDPA-flash2-L3KV-implementation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-feat-cpu-add-fused-SDPA-fp32-packqkv-front-end.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-feat-llama-add-GGML-fused-SDPA-op-and-integrate-into.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-feat-cpu-wire-optimized-matmul-fused-SDPA-kernels-in.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-build-add-compile.sh-helper-for-ARM-builds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0010-update-compile.sh.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0011-add-f16-q80-unit-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0012-fix-guard-arm-only-code-for-non-arm-builds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -p /builddir/build/SOURCES/LICENSE.apache-2.0 LICENSE.apache-2.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2pKDiF + umask 022 + cd /builddir/build/BUILD + cd llama-cpp-1.0.0 ++ nproc + JOBS=4 ++ awk '/^MemTotal:/{print int($2/1024)}' /proc/meminfo + MEM_MB=6786 + for limit in /sys/fs/cgroup/memory.max /sys/fs/cgroup/memory/memory.limit_in_bytes + '[' -r /sys/fs/cgroup/memory.max ']' + for limit in /sys/fs/cgroup/memory.max /sys/fs/cgroup/memory/memory.limit_in_bytes + '[' -r /sys/fs/cgroup/memory/memory.limit_in_bytes ']' ++ cat /sys/fs/cgroup/memory/memory.limit_in_bytes + limit_bytes=9223372036854771712 + case "$limit_bytes" in + limit_mb=8796093022207 + '[' 8796093022207 -gt 0 ']' + '[' 6786 -le 0 ']' + '[' 8796093022207 -lt 6786 ']' + '[' 6786 -gt 0 ']' + MEM_JOBS=3 + '[' 3 -lt 1 ']' + '[' 4 -gt 3 ']' + JOBS=3 + '[' 3 -lt 1 ']' ++ nproc + echo 'llama.cpp: building with -j3 (nproc=4, memory=6786MB)' llama.cpp: building with -j3 (nproc=4, memory=6786MB) + EXTRA_CMAKE_ARGS= + EXTRA_CMAKE_ARGS=-DGGML_CPU_ARM_ARCH=armv8.6-a+dotprod+i8mm + cmake -S . -B build -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_BINDIR=/usr/bin -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DCMAKE_BUILD_TYPE=RelWithDebInfo '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG' -DBUILD_SHARED_LIBS=ON -DLLAMA_CURL=OFF -DGGML_NATIVE=OFF -DGGML_CCACHE=OFF -DGGML_BUILD_NUMBER=0 -DLLAMA_BUILD_NUMBER=0 -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=ON -DGGML_CPU_ARM_ARCH=armv8.6-a+dotprod+i8mm -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.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 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at cmake/build-info.cmake:14 (message): Git not found. Build info will not be accurate. Call Stack (most recent call first): CMakeLists.txt:89 (include) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- CMAKE_SYSTEM_PROCESSOR: aarch64 -- GGML_SYSTEM_ARCH: ARM -- Including CPU backend -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- ARM detected -- Performing Test GGML_COMPILER_SUPPORTS_FP16_FORMAT_I3E -- Performing Test GGML_COMPILER_SUPPORTS_FP16_FORMAT_I3E - Failed -- ARM feature DOTPROD enabled -- ARM feature MATMUL_INT8 enabled -- ARM feature FMA enabled -- Adding CPU backend variant ggml-cpu: -march=armv8.6-a+dotprod+i8mm CMake Warning at common/CMakeLists.txt:32 (message): Git repository not found; to enable automatic generation of build info, make sure Git is installed and the project is a Git repository. -- Configuring done (1.4s) -- Generating done (0.1s) -- Build files have been written to: /builddir/build/BUILD/llama-cpp-1.0.0/build + cmake --build build --parallel 3 [ 0%] Generating build details from Git -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at cmake/build-info.cmake:14 (message): Git not found. Build info will not be accurate. Call Stack (most recent call first): common/cmake/build-info-gen-cpp.cmake:1 (include) [ 1%] Building CXX object tools/mtmd/CMakeFiles/llama-llava-cli.dir/deprecation-warning.cpp.o [ 2%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml.c.o [ 3%] Building CXX object common/CMakeFiles/build_info.dir/build-info.cpp.o [ 3%] Built target build_info [ 4%] Building CXX object tools/mtmd/CMakeFiles/llama-gemma3-cli.dir/deprecation-warning.cpp.o [ 4%] Linking CXX executable ../../bin/llama-llava-cli [ 4%] Built target llama-llava-cli [ 6%] Linking CXX executable ../../bin/llama-gemma3-cli [ 6%] Building CXX object tools/mtmd/CMakeFiles/llama-minicpmv-cli.dir/deprecation-warning.cpp.o [ 6%] Built target llama-gemma3-cli [ 6%] Building CXX object tools/mtmd/CMakeFiles/llama-qwen2vl-cli.dir/deprecation-warning.cpp.o [ 7%] Linking CXX executable ../../bin/llama-minicpmv-cli [ 7%] Built target llama-minicpmv-cli [ 8%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml.cpp.o [ 9%] Linking CXX executable ../../bin/llama-qwen2vl-cli [ 9%] Built target llama-qwen2vl-cli [ 10%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o [ 11%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o [ 12%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o [ 13%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o [ 14%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-quants.c.o [ 15%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/gguf.cpp.o [ 15%] Linking CXX shared library ../../bin/libggml-base.so [ 15%] Built target ggml-base [ 16%] Building C object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o [ 18%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.cpp.o [ 18%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu-aarch64.cpp.o [ 19%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu-hbm.cpp.o [ 20%] Building C object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu-quants.c.o [ 21%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu-traits.cpp.o [ 22%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/amx/amx.cpp.o [ 22%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/amx/mmq.cpp.o [ 23%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/binary-ops.cpp.o [ 24%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/unary-ops.cpp.o [ 25%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/vec.cpp.o In file included from /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/vec.cpp:1: /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/vec.h:46:15: warning: 'g_chunk_size_outer_packA' defined but not used [-Wunused-variable] 46 | static size_t g_chunk_size_outer_packA = 128; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 26%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ops.cpp.o [ 27%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/llamafile/sgemm.cpp.o /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/ops.cpp: In function 'void ggml_compute_forward_fused_cpp_sdpa_ext(const ggml_compute_params*, ggml_tensor*)': /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/ops.cpp:7317:109: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'const char*' [-Wformat=] 7317 | fprintf(stderr, "%s: executing fused_cpp SDPA: B=%lld H=%lld[%lld..%lld) L=%lld S=%lld D=%lld DV=%lld mask=%s ith=%d/%d\n", | ~~~^ | | | long long int | %s ...... 7321 | mask == nullptr ? "none" : ggml_type_name(mask->type), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/ops.cpp:7317:117: warning: format '%s' expects argument of type 'char*', but argument 12 has type 'int' [-Wformat=] 7317 | fprintf(stderr, "%s: executing fused_cpp SDPA: B=%lld H=%lld[%lld..%lld) L=%lld S=%lld D=%lld DV=%lld mask=%s ith=%d/%d\n", | ~^ | | | char* | %d ...... 7322 | ith, n_task); | ~~~ | | | int /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/ops.cpp:7317:127: warning: format '%d' expects a matching 'int' argument [-Wformat=] 7317 | fprintf(stderr, "%s: executing fused_cpp SDPA: B=%lld H=%lld[%lld..%lld) L=%lld S=%lld D=%lld DV=%lld mask=%s ith=%d/%d\n", | ~^ | | | int In file included from /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/ops.cpp:7: /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/vec.h: At global scope: /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/vec.h:46:15: warning: 'g_chunk_size_outer_packA' defined but not used [-Wunused-variable] 46 | static size_t g_chunk_size_outer_packA = 128; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/fused-cpp/fp32_packqkv/fp32_packqkv_sdpa.cpp.o /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/fused-cpp/fp32_packqkv/fp32_packqkv_sdpa.cpp:1451:6: warning: no previous declaration for 'void fp32_packqkv_sdpa::sdpa_fp32_packqkv_pbf16pv_strided_impl(const float*, const float*, const float*, float*, const Config&, {anonymous}::ElementStrides, {anonymous}::ElementStrides, {anonymous}::ElementStrides, {anonymous}::ElementStrides, const float*, const uint16_t*, const {anonymous}::MaskF16Layout*, const float*, const {anonymous}::MaskF32Layout*)' [-Wmissing-declarations] 1451 | void sdpa_fp32_packqkv_pbf16pv_strided_impl( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/llama-cpp-1.0.0/ggml/src/ggml-cpu/fused-cpp/fp32_packqkv/fp32_packqkv_sdpa.cpp:1785:5: warning: no previous declaration for 'int fp32_packqkv_sdpa::run_llamacpp_strided_impl(const float*, const float*, const float*, const uint16_t*, const float*, float*, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, const {anonymous}::MaskF16Layout&, float)' [-Wmissing-declarations] 1785 | int run_llamacpp_strided_impl( | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 29%] Linking CXX shared library ../../bin/libggml-cpu.so [ 29%] Built target ggml-cpu [ 30%] Building CXX object ggml/src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o [ 30%] Linking CXX shared library ../../bin/libggml.so [ 30%] Built target ggml [ 31%] Building CXX object src/CMakeFiles/llama.dir/llama-adapter.cpp.o [ 31%] Building CXX object src/CMakeFiles/llama.dir/llama.cpp.o [ 32%] Building CXX object src/CMakeFiles/llama.dir/llama-arch.cpp.o [ 33%] Building CXX object src/CMakeFiles/llama.dir/llama-batch.cpp.o [ 34%] Building CXX object src/CMakeFiles/llama.dir/llama-chat.cpp.o [ 35%] Building CXX object src/CMakeFiles/llama.dir/llama-context.cpp.o [ 36%] Building CXX object src/CMakeFiles/llama.dir/llama-cparams.cpp.o [ 37%] Building CXX object src/CMakeFiles/llama.dir/llama-grammar.cpp.o [ 38%] Building CXX object src/CMakeFiles/llama.dir/llama-graph.cpp.o [ 39%] Building CXX object src/CMakeFiles/llama.dir/llama-hparams.cpp.o [ 39%] Building CXX object src/CMakeFiles/llama.dir/llama-impl.cpp.o [ 40%] Building CXX object src/CMakeFiles/llama.dir/llama-io.cpp.o [ 41%] Building CXX object src/CMakeFiles/llama.dir/llama-kv-cache.cpp.o [ 42%] Building CXX object src/CMakeFiles/llama.dir/llama-kv-cache-unified.cpp.o [ 43%] Building CXX object src/CMakeFiles/llama.dir/llama-kv-cache-unified-iswa.cpp.o [ 44%] Building CXX object src/CMakeFiles/llama.dir/llama-kv-cache-recurrent.cpp.o [ 45%] Building CXX object src/CMakeFiles/llama.dir/llama-memory.cpp.o [ 46%] Building CXX object src/CMakeFiles/llama.dir/llama-mmap.cpp.o [ 46%] Building CXX object src/CMakeFiles/llama.dir/llama-model-loader.cpp.o [ 47%] Building CXX object src/CMakeFiles/llama.dir/llama-model-saver.cpp.o [ 48%] Building CXX object src/CMakeFiles/llama.dir/llama-model.cpp.o [ 49%] Building CXX object src/CMakeFiles/llama.dir/llama-quant.cpp.o [ 50%] Building CXX object src/CMakeFiles/llama.dir/llama-sampling.cpp.o [ 51%] Building CXX object src/CMakeFiles/llama.dir/llama-vocab.cpp.o [ 52%] Building CXX object src/CMakeFiles/llama.dir/unicode-data.cpp.o [ 53%] Building CXX object src/CMakeFiles/llama.dir/unicode.cpp.o [ 54%] Linking CXX shared library ../bin/libllama.so [ 54%] Built target llama [ 55%] Building CXX object tools/mtmd/CMakeFiles/mtmd.dir/mtmd.cpp.o [ 56%] Building CXX object common/CMakeFiles/common.dir/arg.cpp.o [ 57%] Building CXX object tools/mtmd/CMakeFiles/mtmd.dir/mtmd-audio.cpp.o [ 58%] Building CXX object common/CMakeFiles/common.dir/chat-parser.cpp.o [ 59%] Building CXX object tools/mtmd/CMakeFiles/mtmd.dir/clip.cpp.o [ 60%] Building CXX object common/CMakeFiles/common.dir/chat.cpp.o [ 61%] Building CXX object tools/mtmd/CMakeFiles/mtmd.dir/mtmd-helper.cpp.o [ 62%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o [ 63%] Linking CXX shared library ../../bin/libmtmd.so [ 63%] Built target mtmd [ 64%] Building CXX object common/CMakeFiles/common.dir/console.cpp.o [ 65%] Building CXX object common/CMakeFiles/common.dir/json-partial.cpp.o [ 65%] Building CXX object common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o [ 66%] Building CXX object common/CMakeFiles/common.dir/llguidance.cpp.o [ 67%] Building CXX object common/CMakeFiles/common.dir/log.cpp.o [ 68%] Building CXX object common/CMakeFiles/common.dir/ngram-cache.cpp.o [ 69%] Building CXX object common/CMakeFiles/common.dir/regex-partial.cpp.o [ 70%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o [ 71%] Building CXX object common/CMakeFiles/common.dir/speculative.cpp.o [ 72%] Linking CXX static library libcommon.a [ 72%] Built target common [ 73%] Building CXX object tools/gguf-split/CMakeFiles/llama-gguf-split.dir/gguf-split.cpp.o [ 73%] Building CXX object tools/batched-bench/CMakeFiles/llama-batched-bench.dir/batched-bench.cpp.o [ 74%] Building CXX object tools/imatrix/CMakeFiles/llama-imatrix.dir/imatrix.cpp.o [ 75%] Linking CXX executable ../../bin/llama-gguf-split [ 75%] Built target llama-gguf-split [ 76%] Building CXX object tools/llama-bench/CMakeFiles/llama-bench.dir/llama-bench.cpp.o [ 77%] Linking CXX executable ../../bin/llama-batched-bench [ 77%] Built target llama-batched-bench [ 78%] Building CXX object tools/main/CMakeFiles/llama-cli.dir/main.cpp.o [ 79%] Linking CXX executable ../../bin/llama-imatrix [ 79%] Built target llama-imatrix [ 80%] Building CXX object tools/perplexity/CMakeFiles/llama-perplexity.dir/perplexity.cpp.o [ 81%] Linking CXX executable ../../bin/llama-cli /builddir/build/BUILD/llama-cpp-1.0.0/tools/perplexity/perplexity.cpp: In lambda function: /builddir/build/BUILD/llama-cpp-1.0.0/tools/perplexity/perplexity.cpp:1753:41: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 1753 | return std::make_pair(0., 0.); | ^ [ 81%] Built target llama-cli [ 82%] Building CXX object tools/quantize/CMakeFiles/llama-quantize.dir/quantize.cpp.o [ 83%] Linking CXX executable ../../bin/llama-quantize [ 83%] Built target llama-quantize [ 84%] Generating loading.html.hpp [ 85%] Generating index.html.gz.hpp [ 86%] Linking CXX executable ../../bin/llama-perplexity [ 86%] Built target llama-perplexity [ 87%] Building CXX object tools/run/CMakeFiles/llama-run.dir/run.cpp.o [ 88%] Building CXX object tools/server/CMakeFiles/llama-server.dir/server.cpp.o [ 89%] Linking CXX executable ../../bin/llama-bench [ 89%] Built target llama-bench [ 89%] Building CXX object tools/tokenize/CMakeFiles/llama-tokenize.dir/tokenize.cpp.o [ 90%] Linking CXX executable ../../bin/llama-tokenize [ 90%] Built target llama-tokenize [ 91%] Building CXX object tools/tts/CMakeFiles/llama-tts.dir/tts.cpp.o [ 92%] Building CXX object tools/run/CMakeFiles/llama-run.dir/linenoise.cpp/linenoise.cpp.o [ 93%] Linking CXX executable ../../bin/llama-run [ 93%] Built target llama-run [ 94%] Building CXX object tools/mtmd/CMakeFiles/llama-mtmd-cli.dir/mtmd-cli.cpp.o [ 95%] Linking CXX executable ../../bin/llama-mtmd-cli [ 95%] Built target llama-mtmd-cli [ 96%] Building CXX object tools/cvector-generator/CMakeFiles/llama-cvector-generator.dir/cvector-generator.cpp.o [ 97%] Linking CXX executable ../../bin/llama-cvector-generator [ 97%] Built target llama-cvector-generator [ 98%] Building CXX object tools/export-lora/CMakeFiles/llama-export-lora.dir/export-lora.cpp.o [ 98%] Linking CXX executable ../../bin/llama-export-lora [ 98%] Built target llama-export-lora [ 99%] Linking CXX executable ../../bin/llama-tts [ 99%] Built target llama-tts [100%] Linking CXX executable ../../bin/llama-server [100%] Built target llama-server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1nRLCK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 + cd llama-cpp-1.0.0 + DESTDIR=/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 + cmake --install build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libggml-cpu.so -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libggml-cpu.so" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libggml.so -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libggml.so" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-cpu.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-alloc.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-backend.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-blas.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-cann.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-cpp.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-cuda.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-kompute.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-opt.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-metal.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-rpc.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-sycl.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/ggml-vulkan.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/gguf.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libggml-base.so -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/cmake/ggml/ggml-config.cmake -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/cmake/ggml/ggml-version.cmake -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-batched-bench -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-batched-bench" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-gguf-split -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-gguf-split" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-imatrix -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-imatrix" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-bench -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-bench" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-cli -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-cli" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-perplexity -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-perplexity" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-quantize -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-quantize" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-server -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-server" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-run -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-run" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-tokenize -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-tokenize" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-tts -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-tts" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libmtmd.so -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libmtmd.so" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/mtmd.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/mtmd-helper.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-mtmd-cli -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-mtmd-cli" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-cvector-generator -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-cvector-generator" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-export-lora -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/llama-export-lora" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libllama.so -- Set runtime path of "/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/libllama.so" to "" -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/llama.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/include/llama-cpp.h -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/cmake/llama/llama-config.cmake -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/cmake/llama/llama-version.cmake -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/bin/convert_hf_to_gguf.py -- Installing: /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/lib64/pkgconfig/llama.pc + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: llama.cpp-1.0.0-1.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kvJOlY + umask 022 + cd /builddir/build/BUILD + cd llama-cpp-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/doc/llama.cpp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/doc/llama.cpp + cp -pr README.md /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/doc/llama.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6UpSVb + umask 022 + cd /builddir/build/BUILD + cd llama-cpp-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/licenses/llama.cpp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/licenses/llama.cpp + cp -pr LICENSE /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/licenses/llama.cpp + cp -pr LICENSE.apache-2.0 /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64/usr/share/licenses/llama.cpp + RPM_EC=0 ++ jobs -p + exit 0 Provides: cmake(ggml) cmake(llama) libggml-base.so()(64bit) libggml-cpu.so()(64bit) libggml.so()(64bit) libllama.so()(64bit) libmtmd.so()(64bit) llama.cpp = 1.0.0-1 llama.cpp(aarch-64) = 1.0.0-1 pkgconfig(llama) = 0.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env /usr/bin/pkg-config cmake-filesystem(aarch-64) ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.29)(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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libggml-base.so()(64bit) libggml-cpu.so()(64bit) libggml.so()(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(GOMP_4.5)(64bit) libgomp.so.1(OMP_1.0)(64bit) libllama.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libmtmd.so()(64bit) libstdc++.so.6()(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(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(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.19)(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.25)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 Wrote: /builddir/build/RPMS/llama.cpp-1.0.0-1.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dt6Sof + umask 022 + cd /builddir/build/BUILD + cd llama-cpp-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/llama.cpp-1.0.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.1FV1tG + umask 022 + cd /builddir/build/BUILD + rm -rf llama-cpp-1.0.0 llama-cpp-1.0.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0