Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ollama.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1724157622.247809/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ollama.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/ollama-0.3.6-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/ollama.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1724157622.247809/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ollama.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/ollama-0.3.6-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/ollama.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1724157622.247809/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ollama.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.W1oh5H + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ollama-0.3.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.3.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ollama-0.3.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xzf /builddir/build/SOURCES/vendor.tar.gz + cd llm + tar -xzf /builddir/build/SOURCES/b3536.tar.gz + mv llama.cpp-b3536/AUTHORS llama.cpp-b3536/CMakeLists.txt llama.cpp-b3536/CMakePresets.json llama.cpp-b3536/CONTRIBUTING.md llama.cpp-b3536/LICENSE llama.cpp-b3536/Makefile llama.cpp-b3536/Package.swift llama.cpp-b3536/README.md llama.cpp-b3536/SECURITY.md llama.cpp-b3536/ci llama.cpp-b3536/cmake llama.cpp-b3536/common llama.cpp-b3536/convert_hf_to_gguf.py llama.cpp-b3536/convert_hf_to_gguf_update.py llama.cpp-b3536/convert_llama_ggml_to_gguf.py llama.cpp-b3536/convert_lora_to_gguf.py llama.cpp-b3536/docs llama.cpp-b3536/examples llama.cpp-b3536/flake.lock llama.cpp-b3536/flake.nix llama.cpp-b3536/ggml llama.cpp-b3536/gguf-py llama.cpp-b3536/grammars llama.cpp-b3536/include llama.cpp-b3536/media llama.cpp-b3536/models llama.cpp-b3536/mypy.ini llama.cpp-b3536/pocs llama.cpp-b3536/poetry.lock llama.cpp-b3536/prompts llama.cpp-b3536/pyproject.toml llama.cpp-b3536/pyrightconfig.json llama.cpp-b3536/requirements llama.cpp-b3536/requirements.txt llama.cpp-b3536/scripts llama.cpp-b3536/spm-headers llama.cpp-b3536/src llama.cpp-b3536/tests llama.cpp/ + rm -rf llama.cpp-b3536/ + cd llama.cpp + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/ollama-0.3.6/llm/llama.cpp/.git/ + git config user.email tmp@example.com + git config user.name tmp + git add . + git commit -a -s -m init -q + cd ../../ + tar -xzf /builddir/build/SOURCES/main.tar.gz + mv ollama-ui-main ollama-ui + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PLvvS4 + umask 022 + cd /builddir/build/BUILD + cd ollama-0.3.6 + export GOPROXY=https://mirrors.huaweicloud.com/repository/goproxy/ + GOPROXY=https://mirrors.huaweicloud.com/repository/goproxy/ + export OLLAMA_SKIP_PATCHING=1 + OLLAMA_SKIP_PATCHING=1 + export 'GOFLAGS='\''-ldflags=-w -s "-X=github.com/ollama/ollama/version.Version=0.3.6" "-X=github.com/ollama/ollama/server.mode=release"'\''' + GOFLAGS=''\''-ldflags=-w -s "-X=github.com/ollama/ollama/version.Version=0.3.6" "-X=github.com/ollama/ollama/server.mode=release"'\''' + go generate ./... go: downloading go1.22.5 (linux/arm64) go: download go1.22.5: golang.org/toolchain@v0.0.1-go1.22.5.linux-arm64: reading https://mirrors.huaweicloud.com/repository/goproxy/golang.org/toolchain/@v/v0.0.1-go1.22.5.linux-arm64.zip: 418 error: Bad exit status from /var/tmp/rpm-tmp.PLvvS4 (%build) Bad exit status from /var/tmp/rpm-tmp.PLvvS4 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ollama.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ollama.spec