Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686468049.346353/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 x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-biosimulators-copasi-0.1.35-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686468049.346353/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 x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-biosimulators-copasi-0.1.35-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686468049.346353/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 x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PTAe4f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf biosimulators_copasi-0.1.35 + /usr/bin/gzip -dc /builddir/build/SOURCES/biosimulators_copasi-0.1.35.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd biosimulators_copasi-0.1.35 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.juveoj + umask 022 + cd /builddir/build/BUILD + cd biosimulators_copasi-0.1.35 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Defaulting to user installation because normal site-packages is not writeable Collecting pkg_utils Downloading pkg_utils-0.0.5-py2.py3-none-any.whl (7.6 kB) Collecting configparser (from pkg_utils) Downloading configparser-5.3.0-py3-none-any.whl (19 kB) Collecting glob2 (from pkg_utils) Downloading glob2-0.7.tar.gz (10 kB) Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: pip>=19.3 in /usr/lib/python3.9/site-packages (from pkg_utils) (23.1) Collecting requirements-parser>=0.2.0 (from pkg_utils) Downloading requirements_parser-0.5.0-py3-none-any.whl (18 kB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from pkg_utils) (59.4.0) Collecting types-setuptools>=57.0.0 (from requirements-parser>=0.2.0->pkg_utils) Downloading types_setuptools-67.8.0.0-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 21.2 kB/s eta 0:00:00 Building wheels for collected packages: glob2 Building wheel for glob2 (pyproject.toml): started Building wheel for glob2 (pyproject.toml): finished with status 'done' Created wheel for glob2: filename=glob2-0.7-py2.py3-none-any.whl size=9301 sha256=702ffb77e83dd3d4aa7c8f5b8165065f31295fb5131b641dc1cd43522a13e1c3 Stored in directory: /builddir/.cache/pip/wheels/c0/dd/ee/ba6164807de7570971e8f160dbe6a4178ff4e5922f48c093be Successfully built glob2 Installing collected packages: types-setuptools, glob2, requirements-parser, configparser, pkg_utils Successfully installed configparser-5.3.0 glob2-0.7 pkg_utils-0.0.5 requirements-parser-0.5.0 types-setuptools-67.8.0.0 Traceback (most recent call last): File "/builddir/build/BUILD/biosimulators_copasi-0.1.35/setup.py", line 16, in import pkg_utils ModuleNotFoundError: No module named 'pkg_utils' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.juveoj (%build) Bad exit status from /var/tmp/rpm-tmp.juveoj (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.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 x86_64 --nodeps /builddir/build/SPECS/python-biosimulators-copasi.spec