Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-dotenv.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681466510.328695/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-dotenv.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-dotenv-0.0.5-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-dotenv.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681466510.328695/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-dotenv.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-dotenv-0.0.5-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-dotenv.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681466510.328695/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-dotenv.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.sjYMdN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotenv-0.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/dotenv-0.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotenv-0.0.5 + /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.ZHmlpX + umask 022 + cd /builddir/build/BUILD + cd dotenv-0.0.5 + 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/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-em7h8nf7 cwd: /tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/ Complete output (15 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setuptools/dist.py", line 7, in from setuptools.command.install import install File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setuptools/command/__init__.py", line 8, in from setuptools.command import install_scripts File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/setuptools/command/install_scripts.py", line 3, in from pkg_resources import Distribution, PathMetadata, ensure_directory File "/tmp/pip-wheel-ykyimwt_/distribute_24f4ab99363845ffa2cee332f1fd8005/pkg_resources.py", line 1518, in register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider) AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader' ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip#sha256=3dc7a8d059dcf72f0ead2fa2144a24ee0ef07dce816e8c3545d7345767138c5e (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-lr0o6810 cwd: /tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_5be16646acae4bafbcbceb9079952e6c/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/67/58/fb1902ce3aee9d868648bb1bb44ca6fdeac04726a6053741bf0485390ec4/distribute-0.6.49.zip#sha256=2e6ef91d00784f9680b413e2a2f4d7c1456927cd9a34ebce99448cd4fbf6fbb8 (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-byr3kuob cwd: /tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_c27c3372b67140b1aff57beb3bafac09/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/f3/2b/e97c01487b7636ba3fcff5e73db995c66c524d54d0907d238311524f67c8/distribute-0.6.49.tar.gz#sha256=b877a9f155fc13cbf409d4fdbf709d25c24f28dfe3531ecb419eb069bd80e878 (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-18lwcvqh cwd: /tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_81699e479b2a45cb92ad5f8558d6f066/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/8e/5d/a47e0d4891cd8aff83e331440732972661541320e92dbb05e38dd17c29e2/distribute-0.6.48.zip#sha256=89d9f1e9c8f9ff3c96c1292f5e4511b3b30462caabafcf7cc1ee7264c6df755f (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-y_1sbt8x cwd: /tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_ced42e4a1e6b4d19987c8dbfdc103662/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/80/c0/c97660e5e4b13d999d150b1f55d88e3bf7e103a8eebd9d24ef7a2307741c/distribute-0.6.48.tar.gz#sha256=3b88a8b7eb585718f4647360f2ed80a2eed3c544ec59c641dea4ff29310cd6bc (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-79txj6fh cwd: /tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_035b4382161f4cec940f162e6af59908/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/5d/5f/3938baf3c82179d1850a9ea2c5939377a81d644acccb094d64d1e1118f75/distribute-0.6.47.zip#sha256=22d4920651da97ce023c3ac22b32464b9c6dd2d8d22d447534cfaf41fb2faac0 (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-8yoofiyg cwd: /tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_bef52958525c4f6faf135c25909ef071/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/b4/f8/92222dccdb72d3b6f43b18ebcb93aa7f46849c44d23a5e98efe53c5eff55/distribute-0.6.47.tar.gz#sha256=89bb51db38a69bdd6099a8b487f8365d45e786596076f3f9fe17caa07a846774 (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pw0kmr5g cwd: /tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/ Complete output (10 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "/tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "/tmp/pip-wheel-ykyimwt_/distribute_22fd4d99ad494537a8b6dd003b32620f/setuptools/dist.py", line 103 except ValueError, e: ^ SyntaxError: invalid syntax ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/06/b9/74d0d48befa2bd9c32e06b5e69cda4ca5c8293ccb76ad862eaca1657518d/distribute-0.6.46.zip#sha256=08feb3fb8dc22cd610ecc9674eb014e91bc89fcc6e7156443dbafb6b49d96477 (from https://pypi.org/simple/distribute/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher yield File "/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 519, in read data = self._fp.read(amt) if not fp_closed else b"" File "/usr/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read data = self.__fp.read(amt) File "/usr/lib64/python3.9/http/client.py", line 463, in read n = self.readinto(b) File "/usr/lib64/python3.9/http/client.py", line 507, in readinto n = self.fp.readinto(b) File "/usr/lib64/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) File "/usr/lib64/python3.9/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/usr/lib64/python3.9/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 164, in exc_logging_wrapper status = run_func(*args) File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper return func(self, options, args) File "/usr/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 144, in run requirement_set = resolver.resolve(reqs, check_supported_wheels=True) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve result = self._result = resolver.resolve( File "/usr/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 482, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/usr/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 349, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/usr/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "/usr/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ return bool(self._sequence) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ return any(self) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in return (c for c in iterator if id(c) not in self._incompatible_ids) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built candidate = func() File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 205, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 281, in __init__ super().__init__( File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ self.dist = self._prepare() File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare dist = self._prepare_distribution() File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 292, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 482, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 527, in _prepare_linked_requirement local_file = unpack_url( File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 213, in unpack_url file = get_http_url( File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 94, in get_http_url from_path, content_type = download(link, temp_dir.path) File "/usr/lib/python3.9/site-packages/pip/_internal/network/download.py", line 145, in __call__ for chunk in chunks: File "/usr/lib/python3.9/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks for chunk in response.raw.stream( File "/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 541, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/lib64/python3.9/contextlib.py", line 137, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 82, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpxdg496ns', '--quiet', 'distribute']' returned non-zero exit status 2. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/dotenv-0.0.5/setup.py", line 13, in setup(name='dotenv', File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup _install_setup_requires(attrs) File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 806, in fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 771, in resolve dist = best[req.key] = env.best_match( File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1056, in best_match return self.obtain(req, installer) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1068, in obtain return installer(requirement) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 877, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 84, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpxdg496ns', '--quiet', 'distribute']' returned non-zero exit status 2. error: Bad exit status from /var/tmp/rpm-tmp.ZHmlpX (%build) Bad exit status from /var/tmp/rpm-tmp.ZHmlpX (%build) 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-dotenv.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-dotenv.spec