Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sequtils.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687273042.926099/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-sequtils.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-SeqUtils-1.0.11-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-sequtils.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687273042.926099/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-sequtils.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-SeqUtils-1.0.11-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-sequtils.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687273042.926099/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-sequtils.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.IXyTcb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SeqUtils-1.0.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/SeqUtils-1.0.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd SeqUtils-1.0.11 + /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.zpPh9C + umask 022 + cd /builddir/build/BUILD + cd SeqUtils-1.0.11 + 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' /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/sequtils copying sequtils/test_email_alerts.py -> build/lib/sequtils copying sequtils/__init__.py -> build/lib/sequtils copying sequtils/email_alerts.py -> build/lib/sequtils copying sequtils/auth.py -> build/lib/sequtils running egg_info writing SeqUtils.egg-info/PKG-INFO writing dependency_links to SeqUtils.egg-info/dependency_links.txt writing requirements to SeqUtils.egg-info/requires.txt writing top-level names to SeqUtils.egg-info/top_level.txt reading manifest file 'SeqUtils.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'SeqUtils.egg-info/SOURCES.txt' + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X1oAvi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64 + cd SeqUtils-1.0.11 + 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-SeqUtils-1.0.11-1.x86_64 /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( 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( /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( Checking .pth file support in /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages/ /usr/bin/python3 -E -c pass TEST FAILED: /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages/ does NOT support .pth files bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages/ and your PYTHONPATH environment variable currently contains: '' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations Please make the appropriate changes for your system and try again. running bdist_egg running egg_info writing SeqUtils.egg-info/PKG-INFO writing dependency_links to SeqUtils.egg-info/dependency_links.txt writing requirements to SeqUtils.egg-info/requires.txt writing top-level names to SeqUtils.egg-info/top_level.txt reading manifest file 'SeqUtils.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'SeqUtils.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/sequtils copying build/lib/sequtils/test_email_alerts.py -> build/bdist.linux-x86_64/egg/sequtils copying build/lib/sequtils/__init__.py -> build/bdist.linux-x86_64/egg/sequtils copying build/lib/sequtils/email_alerts.py -> build/bdist.linux-x86_64/egg/sequtils copying build/lib/sequtils/auth.py -> build/bdist.linux-x86_64/egg/sequtils byte-compiling build/bdist.linux-x86_64/egg/sequtils/test_email_alerts.py to test_email_alerts.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/sequtils/__init__.py to __init__.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/sequtils/email_alerts.py to email_alerts.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/sequtils/auth.py to auth.cpython-39.pyc writing byte-compilation script '/tmp/tmprf_3qfyp.py' /usr/bin/python3 /tmp/tmprf_3qfyp.py removing /tmp/tmprf_3qfyp.py creating build/bdist.linux-x86_64/egg/EGG-INFO copying SeqUtils.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying SeqUtils.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying SeqUtils.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying SeqUtils.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying SeqUtils.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/SeqUtils-1.0.11-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing SeqUtils-1.0.11-py3.9.egg Copying SeqUtils-1.0.11-py3.9.egg to /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages Installed /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages/SeqUtils-1.0.11-py3.9.egg Processing dependencies for SeqUtils==1.0.11 Searching for zipp==3.4.1 Reading https://pypi.org/simple/zipp/ /usr/lib/python3.9/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/0f/8c/715c54e9e34c0c4820f616a913a7de3337d0cd79074dd1bed4dd840f16ae/zipp-3.4.1-py3-none-any.whl#sha256=51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea5a63edc3e03098 Best match: zipp 3.4.1 Processing zipp-3.4.1-py3-none-any.whl Installing zipp-3.4.1-py3-none-any.whl to /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages Installed /builddir/build/BUILDROOT/python-SeqUtils-1.0.11-1.x86_64/usr/lib/python3.9/site-packages/zipp-3.4.1-py3.9.egg Searching for webencodings==0.5.1 Reading https://pypi.org/simple/webencodings/ Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl#sha256=a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78 error: Download error for https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl#sha256=a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78: [Errno 99] Cannot assign requested address error: Bad exit status from /var/tmp/rpm-tmp.X1oAvi (%install) Bad exit status from /var/tmp/rpm-tmp.X1oAvi (%install) RPM build errors: 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-sequtils.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-sequtils.spec