Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gekko.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681885194.807888/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-gekko.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-gekko-1.0.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 x86_64 --nodeps /builddir/build/SPECS/python-gekko.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681885194.807888/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-gekko.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-gekko-1.0.6-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-gekko.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681885194.807888/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-gekko.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.IpPwFh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gekko-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/gekko-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gekko-1.0.6 + /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.996S6t + umask 022 + cd /builddir/build/BUILD + cd gekko-1.0.6 + 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' running build running build_py creating build creating build/lib creating build/lib/gekko copying gekko/__init__.py -> build/lib/gekko copying gekko/gk_gui.py -> build/lib/gekko copying gekko/gk_variable.py -> build/lib/gekko copying gekko/apm.py -> build/lib/gekko copying gekko/gk_write_files.py -> build/lib/gekko copying gekko/gk_operators.py -> build/lib/gekko copying gekko/gekko.py -> build/lib/gekko copying gekko/properties.py -> build/lib/gekko copying gekko/gk_debug.py -> build/lib/gekko copying gekko/gk_parameter.py -> build/lib/gekko copying gekko/gk_global_options.py -> build/lib/gekko copying gekko/chemical.py -> build/lib/gekko copying gekko/gk_post_solve.py -> build/lib/gekko copying gekko/brain.py -> build/lib/gekko copying gekko/ML.py -> build/lib/gekko creating build/lib/gekko/static copying gekko/static/index.html -> build/lib/gekko/static creating build/lib/gekko/static/static copying gekko/static/static/bootstrap.min.css -> build/lib/gekko/static/static copying gekko/static/static/GekkoLogo.png -> build/lib/gekko/static/static creating build/lib/gekko/static/static/css copying gekko/static/static/css/app.c68ba9dcf7bd08c3aad2e946c455bc61.css.map -> build/lib/gekko/static/static/css copying gekko/static/static/css/app.c68ba9dcf7bd08c3aad2e946c455bc61.css -> build/lib/gekko/static/static/css creating build/lib/gekko/static/static/js copying gekko/static/static/js/manifest.13b220bf0bb1548816a4.js -> build/lib/gekko/static/static/js copying gekko/static/static/js/app.943e6331e1599b12b7df.js -> build/lib/gekko/static/static/js copying gekko/static/static/js/app.943e6331e1599b12b7df.js.map -> build/lib/gekko/static/static/js copying gekko/static/static/js/manifest.13b220bf0bb1548816a4.js.map -> build/lib/gekko/static/static/js copying gekko/static/static/js/vendor.0ec4a591b473bfdae464.js -> build/lib/gekko/static/static/js copying gekko/static/static/js/vendor.0ec4a591b473bfdae464.js.map -> build/lib/gekko/static/static/js creating build/lib/gekko/bin copying gekko/bin/apm.exe -> build/lib/gekko/bin copying gekko/bin/apm -> build/lib/gekko/bin copying gekko/bin/apm_arm -> build/lib/gekko/bin copying gekko/bin/apm_mac -> build/lib/gekko/bin + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rIaQd5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 + cd gekko-1.0.6 + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/__init__.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_gui.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_variable.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/apm.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_write_files.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_operators.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gekko.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/properties.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_debug.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_parameter.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_global_options.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/chemical.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko copying build/lib/gekko/gk_post_solve.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static copying build/lib/gekko/static/static/bootstrap.min.css -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/css copying build/lib/gekko/static/static/css/app.c68ba9dcf7bd08c3aad2e946c455bc61.css.map -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/css copying build/lib/gekko/static/static/css/app.c68ba9dcf7bd08c3aad2e946c455bc61.css -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/css copying build/lib/gekko/static/static/GekkoLogo.png -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/manifest.13b220bf0bb1548816a4.js -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/app.943e6331e1599b12b7df.js -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/app.943e6331e1599b12b7df.js.map -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/manifest.13b220bf0bb1548816a4.js.map -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/vendor.0ec4a591b473bfdae464.js -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/static/js/vendor.0ec4a591b473bfdae464.js.map -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static/static/js copying build/lib/gekko/static/index.html -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/static copying build/lib/gekko/brain.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko creating /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/bin copying build/lib/gekko/bin/apm -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/bin copying build/lib/gekko/bin/apm_arm -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/bin copying build/lib/gekko/bin/apm.exe -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/bin copying build/lib/gekko/bin/apm_mac -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/bin copying build/lib/gekko/ML.py -> /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_gui.py to gk_gui.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_variable.py to gk_variable.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/apm.py to apm.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_write_files.py to gk_write_files.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_operators.py to gk_operators.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gekko.py to gekko.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/properties.py to properties.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_debug.py to gk_debug.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_parameter.py to gk_parameter.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_global_options.py to gk_global_options.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/chemical.py to chemical.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/gk_post_solve.py to gk_post_solve.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/brain.py to brain.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko/ML.py to ML.cpython-39.pyc writing byte-compilation script '/tmp/tmp1iiixbcm.py' /usr/bin/python3 /tmp/tmp1iiixbcm.py removing /tmp/tmp1iiixbcm.py running install_egg_info running egg_info writing gekko.egg-info/PKG-INFO writing dependency_links to gekko.egg-info/dependency_links.txt writing requirements to gekko.egg-info/requires.txt writing top-level names to gekko.egg-info/top_level.txt reading manifest file 'gekko.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'gekko.egg-info/SOURCES.txt' Copying gekko.egg-info to /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9/site-packages/gekko-1.0.6-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64//usr/share/doc/python-gekko + '[' -d doc ']' ~/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 ~/build/BUILD/gekko-1.0.6 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/gekko-1.0.6 + mv /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.0.6-1 --unique-debug-suffix -1.0.6-1.x86_64 --unique-debug-src-base python-gekko-1.0.6-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/gekko-1.0.6 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gekko-1.0.6-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-gekko-1.0.6-1.noarch Provides: python-gekko python3-gekko = 1.0.6-1 python3.9dist(gekko) = 1.0.6 python3dist(gekko) = 1.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 python3.9dist(numpy) >= 1.8 RPM build errors: error: Arch dependent binaries in noarch package Arch dependent binaries in noarch package 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-gekko.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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-gekko.spec