Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-astrocats.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686502670.180115/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-astrocats.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-astrocats-0.3.37-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-astrocats.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686502670.180115/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-astrocats.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-astrocats-0.3.37-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-astrocats.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1686502670.180115/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-astrocats.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.qj9uWP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf astrocats-0.3.37 + /usr/bin/gzip -dc /builddir/build/SOURCES/astrocats-0.3.37.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd astrocats-0.3.37 + /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.otHFYn + umask 022 + cd /builddir/build/BUILD + cd astrocats-0.3.37 + 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. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. running build running build_py creating build creating build/lib creating build/lib/astrocats copying astrocats/producer.py -> build/lib/astrocats copying astrocats/main.py -> build/lib/astrocats copying astrocats/__init__.py -> build/lib/astrocats copying astrocats/__main__.py -> build/lib/astrocats creating build/lib/astrocats/scripts copying astrocats/scripts/events.py -> build/lib/astrocats/scripts copying astrocats/scripts/hostcat.py -> build/lib/astrocats/scripts copying astrocats/scripts/__init__.py -> build/lib/astrocats/scripts copying astrocats/scripts/atelscbetsiaucs.py -> build/lib/astrocats/scripts copying astrocats/scripts/repos.py -> build/lib/astrocats/scripts copying astrocats/scripts/hammertime.py -> build/lib/astrocats/scripts copying astrocats/scripts/webcat.py -> build/lib/astrocats/scripts copying astrocats/scripts/bibliocat.py -> build/lib/astrocats/scripts creating build/lib/astrocats/catalog copying astrocats/catalog/analysis.py -> build/lib/astrocats/catalog copying astrocats/catalog/model.py -> build/lib/astrocats/catalog copying astrocats/catalog/task.py -> build/lib/astrocats/catalog copying astrocats/catalog/entry.py -> build/lib/astrocats/catalog copying astrocats/catalog/main.py -> build/lib/astrocats/catalog copying astrocats/catalog/catalog.py -> build/lib/astrocats/catalog copying astrocats/catalog/__init__.py -> build/lib/astrocats/catalog copying astrocats/catalog/catdict.py -> build/lib/astrocats/catalog copying astrocats/catalog/key.py -> build/lib/astrocats/catalog copying astrocats/catalog/spectrum.py -> build/lib/astrocats/catalog copying astrocats/catalog/source.py -> build/lib/astrocats/catalog copying astrocats/catalog/realization.py -> build/lib/astrocats/catalog copying astrocats/catalog/quantity.py -> build/lib/astrocats/catalog copying astrocats/catalog/error.py -> build/lib/astrocats/catalog copying astrocats/catalog/photometry.py -> build/lib/astrocats/catalog copying astrocats/catalog/__main__.py -> build/lib/astrocats/catalog copying astrocats/catalog/argshandler.py -> build/lib/astrocats/catalog copying astrocats/catalog/gitter.py -> build/lib/astrocats/catalog copying astrocats/catalog/correlation.py -> build/lib/astrocats/catalog creating build/lib/astrocats/catalog/tasks copying astrocats/catalog/tasks/sanitize.py -> build/lib/astrocats/catalog/tasks copying astrocats/catalog/tasks/__init__.py -> build/lib/astrocats/catalog/tasks copying astrocats/catalog/tasks/merge_duplicates.py -> build/lib/astrocats/catalog/tasks copying astrocats/catalog/tasks/set_preferred_names.py -> build/lib/astrocats/catalog/tasks copying astrocats/catalog/tasks/test.py -> build/lib/astrocats/catalog/tasks creating build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/logger.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/strings.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/imports.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/sorting.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/__init__.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/plotting.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/dates.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/lists.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/digits.py -> build/lib/astrocats/catalog/utils copying astrocats/catalog/utils/tq_funcs.py -> build/lib/astrocats/catalog/utils running egg_info writing astrocats.egg-info/PKG-INFO writing dependency_links to astrocats.egg-info/dependency_links.txt writing requirements to astrocats.egg-info/requires.txt writing top-level names to astrocats.egg-info/top_level.txt reading manifest file 'astrocats.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'supernovae' warning: no previously-included files found matching 'tidaldisruptions' warning: no previously-included files found matching 'kilonovae' warning: no previously-included files found matching 'faststars' warning: no previously-included files found matching '*.key' warning: no previously-included files matching '.DS_Store' found anywhere in distribution warning: no previously-included files matching '*.prof' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'astrocats.egg-info/SOURCES.txt' + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.K7SwZU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-astrocats-0.3.37-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-astrocats-0.3.37-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-astrocats-0.3.37-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-astrocats-0.3.37-1.x86_64 + cd astrocats-0.3.37 + 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-astrocats-0.3.37-1.x86_64 /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. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. 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( Traceback (most recent call last): File "/builddir/build/BUILD/astrocats-0.3.37/.eggs/GitPython-3.1.31-py3.9.egg/git/__init__.py", line 89, in refresh() File "/builddir/build/BUILD/astrocats-0.3.37/.eggs/GitPython-3.1.31-py3.9.egg/git/__init__.py", line 76, in refresh if not Git.refresh(path=path): File "/builddir/build/BUILD/astrocats-0.3.37/.eggs/GitPython-3.1.31-py3.9.egg/git/cmd.py", line 392, in refresh raise ImportError(err) ImportError: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh() All git commands will error until this is rectified. This initial warning can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|none|n|0: for no warning or exception - warn|w|warning|1: for a printed warning - error|e|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/astrocats-0.3.37/setup.py", line 45, in setup( File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/builddir/build/BUILD/astrocats-0.3.37/setup.py", line 41, in run setup_uc() File "/builddir/build/BUILD/astrocats-0.3.37/setup.py", line 24, in setup_uc from astrocats.main import setup_user_config File "/builddir/build/BUILD/astrocats-0.3.37/astrocats/main.py", line 8, in from astrocats.catalog.utils import log_raise File "/builddir/build/BUILD/astrocats-0.3.37/astrocats/catalog/__init__.py", line 5, in from . import catalog File "/builddir/build/BUILD/astrocats-0.3.37/astrocats/catalog/catalog.py", line 17, in from astrocats.catalog import gitter File "/builddir/build/BUILD/astrocats-0.3.37/astrocats/catalog/gitter.py", line 7, in import git File "/builddir/build/BUILD/astrocats-0.3.37/.eggs/GitPython-3.1.31-py3.9.egg/git/__init__.py", line 91, in raise ImportError("Failed to initialize: {0}".format(exc)) from exc ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh() All git commands will error until this is rectified. This initial warning can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|none|n|0: for no warning or exception - warn|w|warning|1: for a printed warning - error|e|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet error: Bad exit status from /var/tmp/rpm-tmp.K7SwZU (%install) Bad exit status from /var/tmp/rpm-tmp.K7SwZU (%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-astrocats.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-astrocats.spec