Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-octobot.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682482606.695649/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 aarch64 --nodeps /builddir/build/SPECS/python-octobot.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-OctoBot-0.4.49-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-octobot.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682482606.695649/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 aarch64 --nodeps /builddir/build/SPECS/python-octobot.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-OctoBot-0.4.49-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-octobot.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682482606.695649/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 aarch64 --nodeps /builddir/build/SPECS/python-octobot.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.huMJE5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OctoBot-0.4.49 + /usr/bin/gzip -dc /builddir/build/SOURCES/OctoBot-0.4.49.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd OctoBot-0.4.49 + /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.jJJwFe + umask 022 + cd /builddir/build/BUILD + cd OctoBot-0.4.49 + 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 -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 compiling Cython file: ------------------------------------------------------------ ... # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library. cimport octobot_backtesting.backtest_data as backtest_data ^ ------------------------------------------------------------ octobot/backtesting/octobot_backtesting.pxd:17:8: 'octobot_backtesting/backtest_data.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef public dict symbols_to_create_exchange_classes cdef public list evaluators cdef public list service_feeds cdef public dict fees_config cdef public list backtesting_files cdef public backtest_data.BacktestData backtesting_data ^ ------------------------------------------------------------ octobot/backtesting/octobot_backtesting.pxd:34:16: 'BacktestData' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef public dict symbols_to_create_exchange_classes cdef public list evaluators cdef public list service_feeds cdef public dict fees_config cdef public list backtesting_files cdef public backtest_data.BacktestData backtesting_data ^ ------------------------------------------------------------ octobot/backtesting/octobot_backtesting.pxd:34:43: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef public object previous_log_level cdef public object previous_handlers_log_level cdef public object stopped_event cdef public bint enforce_total_databases_max_size_after_run cdef public backtest_data.BacktestData backtesting_data ^ ------------------------------------------------------------ octobot/backtesting/independent_backtesting.pxd:50:16: 'BacktestData' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef public object previous_log_level cdef public object previous_handlers_log_level cdef public object stopped_event cdef public bint enforce_total_databases_max_size_after_run cdef public backtest_data.BacktestData backtesting_data ^ ------------------------------------------------------------ octobot/backtesting/independent_backtesting.pxd:50:43: C attribute of type '' cannot be accessed from Python Compiling octobot/configuration_manager.py because it changed. Compiling octobot/octobot_backtesting_factory.py because it changed. Compiling octobot/octobot_api.py because it changed. Compiling octobot/task_manager.py because it changed. Compiling octobot/octobot_channel_consumer.py because it changed. Compiling octobot/initializer.py because it changed. Compiling octobot/octobot.py because it changed. Compiling octobot/backtesting/independent_backtesting.py because it changed. Compiling octobot/backtesting/abstract_backtesting_test.py because it changed. Compiling octobot/backtesting/octobot_backtesting.py because it changed. Compiling octobot/channels/octobot_channel.py because it changed. Compiling octobot/strategy_optimizer/strategy_test_suite.py because it changed. Compiling octobot/strategy_optimizer/test_suite_result.py because it changed. Compiling octobot/strategy_optimizer/strategy_optimizer.py because it changed. Compiling octobot/producers/interface_producer.py because it changed. Compiling octobot/producers/service_feed_producer.py because it changed. Compiling octobot/producers/evaluator_producer.py because it changed. Compiling octobot/producers/exchange_producer.py because it changed. Compiling octobot/updater/binary_updater.py because it changed. Compiling octobot/updater/python_updater.py because it changed. Compiling octobot/updater/updater.py because it changed. Compiling octobot/updater/updater_factory.py because it changed. [ 1/22] Cythonizing octobot/backtesting/abstract_backtesting_test.py [ 2/22] Cythonizing octobot/backtesting/independent_backtesting.py Traceback (most recent call last): File "/builddir/build/BUILD/OctoBot-0.4.49/setup.py", line 104, in ext_modules=cythonize(ext_modules, gdb_debug=CYTHON_DEBUG), File "/builddir/build/BUILD/OctoBot-0.4.49/.eggs/Cython-0.29.32-py3.9-linux-aarch64.egg/Cython/Build/Dependencies.py", line 1127, in cythonize cythonize_one(*args) File "/builddir/build/BUILD/OctoBot-0.4.49/.eggs/Cython-0.29.32-py3.9-linux-aarch64.egg/Cython/Build/Dependencies.py", line 1250, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: octobot/backtesting/independent_backtesting.py error: Bad exit status from /var/tmp/rpm-tmp.jJJwFe (%build) Bad exit status from /var/tmp/rpm-tmp.jJJwFe (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-octobot.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 aarch64 --nodeps /builddir/build/SPECS/python-octobot.spec